Which quantization should I download?

4 min readMarkdown

Download Q4_K_M, or the 4bit MLXMLXApple's machine learning framework for Apple silicon.Read more build on a Mac. It is the right file for most people on most machines. The rest of this page is about the cases where it is not.

The decision ladder

Three steps, in order. Stop at the first one that gives you a file that fits.

  1. 1Start at Q4
  2. 2Fits with room to spare: go up to Q5, Q6 or Q8
  3. 3Does not fit: drop a model size, not a bit level
  4. 4Only below Q4 to reach a bigger class
Start at Q4, then move up or sideways. Move down last.
  1. Start at Q4. Check its file size on the download page and add room for context and the operating system. Will it fit? does the sums.
  2. If it fits with several GB to spare, go up. Q5 and Q6 cost a little more memory for a little more quality. Q8 is close to the original.
  3. If Q4 does not fit, pick a smaller model of the same family at Q4 before you try Q3.

The exception is the bigger class. If Q3 of a mid model fits where Q4 does not, it will usually beat a small model at Q8. Below about 3 bits, drop a class instead, because the damage outweighs the extra size. What is quantization? explains why.

Rule of thumb

Spend memory on parametersParameterOne learned number inside a model. An 8B model has about eight billion of them.Read more first, then on bits. A bigger model at Q4 beats a smaller one at Q8 of the same file size.

Sizes and quality

Each level stores a different number of bits per weight. The file size scales with it. Here are the common GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more levels for an 8B model.

Quantization levels for a 8B model
LabelBits per weight8B fileSizeQuality
F16 / BF16about 16about 16 GBThe original. Reference quality.
Q8_0about 8.5about 9 GBIndistinguishable from the original in practice.
Q6_Kabout 6.6about 7 GBClose to the original.
Q5_K_Mabout 5.7about 6 GBA small, rarely visible loss.
Q4_K_Mabout 4.8about 5 GBThe common default. Most people never notice.
Q3_K_Mabout 3.9about 4 GBNoticeable on small models. Often fine on big ones.
Q2_Kabout 3about 3 GBClearly degraded. Only to squeeze a much bigger model in.

As of 27 Nov 2026 · Typical llama.cpp figures. They vary a little by model. llama.cpp quantize docs

To get the size for any other model, multiply the parameter count by the bits per weight and divide by 8. A 27B model at Q4_K_M is about 27 × 4.8 ÷ 8, or about 16 GB. At 4-bit, the shortcut is about 0.6 GB per billion parameters.

MLX builds come in 4bit, 6bit and 8bit, and sit close to the GGUF levels of the same number. Models that ship in a native format, such as MXFP4 for gpt-oss, are already quantized by the maker. Run the official file and skip this page.

BaseQuant tiers

BaseQuant builds from Base Compute come in size tiers instead of bit levels, from XS to XL. Qwen3.8-27B, for example, runs from about 8.4 GB at XS to about 25.3 GB at XL, with Medium at about 16.4 GB. They live in the BaseQuant V1 collection on Hugging Face, and the models page lists the tiers.

Base Compute reports about 3 to 17 percent lower KL divergence than Unsloth's quants of Qwen3.8-27B at the same file size. That is a vendor-reported measurement against the original BF16 model, where lower means the output stays closer to the original. We have not seen an independent test, so compare on your own prompts with How do I test a model for my own use?.

The catch

BaseQuant covers only a handful of models, mostly Qwen and Gemma. Base Compute serves them on BaseRT and measured them in llama.cpp, so check each repository's file list for a format your runtimeRuntimeThe software that loads a model file and runs it.Read more reads.

The catch

The quality notes are averages from general text. Your task may be more sensitive. Code, maths and non-English text often show damage at a level where chat looks fine.

When Q8 is worth it

Q8 costs nearly twice the memory of Q4 and runs at nearly half the speed. Three cases earn it.

Coding

Code has to be exactly right. A Q4 model makes slightly more small errors, such as a wrong variable name or a missing bracket. In chat you never notice.

In code, each one is a failed build, and in an agent loop they compound. If a mid model fits at Q6 or Q8, use it for Can I run a coding agent on a local model?.

Long reasoning chains

A reasoning model writes thousands of tokensTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more before it answers. Each token is a small chance to drift, and lower precision raises that chance. On long maths or planning problems, Q6 or Q8 holds together better.

Small models

Small models have less slack. Each weight carries more of the model's knowledge, so rounding hurts more. A 4B model loses more at Q4 than a 70B does.

Since small models are small anyway, running them at Q8 is cheap: about 4 GB for a 4B model.

Try it

Download Q4 and Q8 of the same small model and give both the same coding prompt from your own work. If you cannot tell them apart over five prompts, keep Q4. How do I test a model for my own use? shows a fuller method.

Go deeperThat's enough

Why the K-quant labels end in S, M or L

Q4_K_S, Q4_K_M and Q4_K_L share the same base precision. The suffix sets how many sensitive layers are kept at higher precision. M is the usual balance, S saves a few hundred MB, L or XL spends a little more for quality.

I-quants

Labels such as IQ4_XS or IQ3_M use a newer scheme that packs more quality into fewer bits, using an importance matrix. They are useful below 4 bits. On some hardware they run a little slower than K-quants of the same size, especially on CPU.

Quantizing the context too

The context lives in the KV cacheKV cacheSaved work from earlier tokens, so the model does not reread the whole conversation for every new token.Read more, which most runtimes keep at 16-bit. Some let you store it at 8-bit to fit a longer context. That is a separate choice from the model file, with a small quality cost of its own, covered in How do I make it faster?.