Guides · 4 min read

Quantization explained: Q4_K_M, Q8_0 and friends

What the letters mean, how much memory each level saves, and which one to download.

A model’s weights are billions of numbers. Quantization stores each one in fewer bits, so the file is smaller and each token needs less memory traffic. The cost is a small loss in quality that grows as you go lower.

NameBits8B model70B modelQuality
Q2_K23.2 GB28 GBLow
Q3_K_M33.9 GB34 GBLow
Q4_K_M44.9 GB43 GBGood
Q5_K_M55.7 GB50 GBHigh
Q6_K66.6 GB57 GBHigh
Q8_088.5 GB74 GBVery high
MXFP444.6 GB40 GBNative
F161616.0 GB140 GBFull

Weights only, using the same sizes as our estimates. Real files vary a little by model, and the KV cache comes on top (why).

Reading the names

Which one should I download?

Take the highest quantization that still fits with headroom and runs at a speed you like. In practice that is Q4_K_M for tight memory, Q5_K_M or Q6_K with room to spare, and Q8_0 only when memory is plentiful. Below 4 bits, quality drops quickly, so prefer a smaller model at 4 bits over a bigger one at 2 bits. Each model page on this site shows the memory for every quantization, and the memory calculator adds your context length.

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.