Q4_K_M vs Q5_K_M vs Q8: which quantization should you use?

Short answer: use Q4_K_M by default, move up to Q5_K_M/Q6_K if the model still fits with room to spare, and use Q8_0 only when you have lots of memory. Each step up costs roughly 15–75% more memory.

What the names mean

FormatBits per weight (approx.)In practice
BF16 / FP1616Full precision, as published. Best quality, biggest.
Q8_08.58-bit. Practically the same quality as full precision.
Q6_K6.66-bit. Very close to full quality.
Q5_K_M5.75-bit. Small quality loss, good balance.
Q4_K_M4.854-bit. The usual default for running at home; noticeable but small loss.

These are GGUF formats used by llama.cpp, Ollama and LM Studio. "K" formats (like Q4_K_M) are the modern variants; the letter at the end (S, M, L) means small, medium or large and trades a little size for quality.

How much memory each format needs

ModelQ4_K_MQ5_K_MQ6_KQ8_0BF16
Qwen3.5 9B≈6.9 GB≈8.1 GB≈9.3 GB≈12 GB≈22 GB
Gemma 4 12B≈9.0 GB≈10 GB≈12 GB≈15 GB≈27 GB
Ministral 3 14B≈10 GB≈12 GB≈14 GB≈17 GB≈32 GB
Qwen3.8 27B≈20 GB≈23 GB≈26 GB≈33 GB≈62 GB
Qwen3.6 35B-A3B≈25 GB≈29 GB≈34 GB≈43 GB≈80 GB

How to choose

  • Start with Q4_K_M. It is the default most apps download and the usual balance of size and quality.
  • Q5_K_M or Q6_K if the model still fits with room left for your conversation: a bit closer to the original.
  • Q8_0 when you have plenty of memory: practically the same quality as full precision at about half the size.
  • BF16/FP16 mainly for fine-tuning or reference tests; it needs about twice the memory of Q8.
  • A bigger model at Q4 is usually a better choice than a smaller model at Q8, if both fit.

Some models are released directly in 4-bit form (for example gpt-oss uses MXFP4); then the official 4-bit file is the one to use.

Questions

Is Q4_K_M good enough?

For chat, writing and most coding it is the common default; the quality loss compared with the original is small. If the model fits at Q5_K_M or Q6_K, those are a little closer to the original.

How much bigger is Q8 than Q4?

About 1.75 times: Q8_0 stores roughly 8.5 bits per weight and Q4_K_M about 4.85.

Bigger model at Q4 or smaller model at Q8?

If both fit, the bigger model at Q4 usually gives better answers than the smaller one at Q8.

Memory figures are our estimates (parameters × bits ÷ 8, plus overhead and an 8K-token cache; method). Facts about apps come from their official documentation, checked November 30, 2026.

More local-AI guides

Which LLM runs on my GPU, Mac or laptop? · All open-source models