1. Learn
  2. Know what matters

Quantization explained: Q4_K_M vs Q8 vs FP16

What the letters and numbers in model file names mean, how much quality you lose at each size, and which one to download.

Updated Oct 26, 2026 · RunItLocal.io

Open models are released in 16-bit precision: every parameter takes two bytes. Quantization stores them in fewer bits, so the model gets smaller and faster with surprisingly little loss in quality. It's the reason a 32B model fits on a gaming card at all.

What the names mean

You'll see files named like Qwen3-32B-Q4_K_M.gguf. The important part is the end:

NameBits per weight8B model32B modelQuality
FP16 / BF161616 GB64 GBThe original
Q8_08.58.5 GB34 GBPractically identical
Q6_K6.66.6 GB26 GBVery hard to tell apart
Q5_K_M5.75.7 GB23 GBExcellent
Q4_K_M4.84.9 GB20 GBThe sweet spot
Q3_K_M3.94 GB16 GBNoticeably worse
Q2_K3.43.4 GB13 GBOnly if nothing else fits
  • The number is roughly the bits per weight.
  • K means a smarter scheme that gives important parts of the model more precision.
  • S, M, L (small, medium, large) is how much extra precision those parts get.

Sizes are approximate. Real files vary a little by model.

Which one to download

Q4_K_M, unless you have room to spare. It's what Ollama downloads by default, and for most uses you won't notice a difference from the original.

  • Spare memory? Go up to Q5_K_M or Q6_K. Coding and math benefit a little.
  • Squeezed? A bigger model at Q3 usually beats a smaller model at Q8. A 32B model at Q3 is generally smarter than a 14B at Q8.
  • Below Q3, quality falls off quickly, unless the model was trained for it. Some new releases are trained to run at 2 bits and hold up far better than a regular model squeezed that small.

Why smaller is also faster

Generating each token means reading the whole model from memory once. Half the bytes means roughly twice the speed. That's why quantization is the biggest speed lever you have, more than a faster processor. See why memory bandwidth sets LLM speed.

Picking a quant in Ollama

The plain tag gets the default:

ollama run qwen3:8b

Most models also have tags for other sizes, listed on their page at ollama.com. For example:

ollama run qwen3:8b-q8_0

Other formats you'll see

  • GGUF is the format llama.cpp, Ollama and LM Studio use. The Q-names above are GGUF quants.
  • MLX is Apple's format for Macs, sold as 4-bit or 8-bit.
  • AWQ, GPTQ, FP8 are for server engines like vLLM on newer NVIDIA cards.

If you're starting out, stick with GGUF through Ollama.