AIToday
Large Language ModelsDaily Dose of Data SciencePublished: Dec 2, 2026, 10:01 JST

Qwen3.8-27B-UD-Q4_K_M.gguf: why 27B ships at 16.6 GB or 29 GB

Send on LINE
Qwen3.8-27B-UD-Q4_K_M.gguf: why 27B ships at 16.6 GB or 29 GB

3 Key Points

  1. What happened

    A Daily Dose of Data Science explainer decodes Qwen3.8-27B-UD-Q4_K_M.gguf — Qwen the family, 3.8 the version, 27B roughly 27 billion parameters, UD Unsloth Dynamic quantization, Q4_K_M a 4-bit format — noting the same model also ships at 29 GB.

  2. Why it matters

    The filename is not decoration; it tells you which model you are getting and how precisely its learned weights are stored, so two files can claim the same parameter count yet demand very different memory — a distinction that matters when picking a download to run locally.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The explainer works from a concrete puzzle: two files for Qwen3.8-27B on Hugging Face, one a 16.6 GB download and one 29 GB, despite holding the same 27 billion parameters. The answer lies in the suffix. Unsloth applies quantization after Qwen finishes training, storing weights at lower precision, and its UD (Unsloth Dynamic) approach keeps extra precision only where rounding would most change the model's next-token predictions.

The arithmetic in the piece shows why the Q4 label alone does not fix the size. Multiplying 27 billion weights by four bits and dividing by eight gives about 13.5 GB, so the remaining space comes from block scales that llama.cpp stores alongside the codes, and from the K and M suffixes — the medium UD-Q4_K_M file adds 1.2 GB over the small UD-Q4_K_S file at 15.4 GB by using more bits for sensitive weights.

The piece then ties the naming to a practical constraint: a 24 GB memory budget cannot hold the 29 GB file, while the 16.6 GB one leaves roughly 7 GB after the weights, with the rest depending on context length and the KV cache the attention layers save. It also flags that Qwen3.8-2.4T-A95B carries two parameter counts because it is a mixture of experts model, where a router picks 10 of 512 experts per layer and about 95 billion parameters are active per token.

FAQ
Why do two Qwen3.8-27B files have different sizes?
Both contain the same 27 billion parameters, but Unsloth uses quantization to store each weight at lower precision. The file size depends on how precisely each weight is stored, and Unsloth keeps extra precision where rounding would do more harm.
What does A95B mean in Qwen3.8-2.4T-A95B?
It is a mixture of experts model with 2.4 trillion total parameters, of which about 95 billion are active for a given token. The A95B figure is the more useful one for thinking about work per token.
What does the .gguf extension mean?
It tells your software how to read the file. GGUF packages the weights with information a runtime such as llama.cpp needs, including tokenizer details, and even a 16-bit model can come in a GGUF file.
Daily Dose of Data ScienceRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleMistral Multimodal Embed beats all but 8B Qwen3-VL-Embedding