Effective Bits Per Weight (Not Just the Label)

Quantization formats carry per-block scale factors and higher-precision output/embedding layers. That is why Q4_K_M averages ~4.85 bits per weight rather than exactly 4.0 bpw, and Q8_0 averages ~8.5 bpw.

Choosing the Right Quant for Your Rig

For coding and structured JSON tool-calling, prefer Q5_K_M, Q6_K, or Q8_0 if your rig fits them with >= 16k safe context. Q4_K_M retains ~98.4% of FP16 quality at 30% of the VRAM. Avoid IQ2_XS for multi-step reasoning; a smaller model at Q4_K_M almost always beats a heavily compressed 2-bit giant.

Core Physics Formula

Weights (GiB) = (totalParamsB * 1e9 * effective_bpw / 8) / 1024^3