PersonalComputer
Guides

LLM Quantization Explained: Q4 vs Q8 vs FP16 and VRAM

What LLM quantization is, how Q4, Q5, Q8 and FP16 change VRAM use, and how to pick a level for your hardware.

Last updated21 Oct 2026
Fact-checked21 Oct 2026
Sources cited2
StandardsEditorial policy →

Quantization stores model weights with fewer bits. Fewer bits mean less memory and faster generation, at some cost in output quality that grows as bits shrink.

FormatApprox. bits/weight8B model weights70B model weights
Q4_K_M (≈4.89 bits/weight)4.894.9 GB42.8 GB
Q5_K_M (≈5.70 bits/weight)5.75.7 GB49.9 GB
Q8_0 (≈8.50 bits/weight)8.58.5 GB74.4 GB
FP16 / BF16 (16 bits/weight)1616.0 GB140.0 GB

Bits-per-weight values are llama.cpp's published figures for Llama 3.1 8B; other models vary slightly. Source: llama.cpp: quantize README (bits/weight table). Weight sizes are computed (parameters × bits ÷ 8), excluding KV cache and overhead.

Some models ship natively quantized: OpenAI post-trained gpt-oss with MXFP4 quantization of its mixture-of-experts weights (Hugging Face: openai/gpt-oss-120b model card).

Which level should you use?

Q4_K_M is a common default for local use because it roughly quarters FP16 memory. If you have spare memory, Q5 or Q8 trades memory for quality. Quality impact varies by model and task; we have not published our own quality measurements (TBD).

Check a specific model against your hardware with Can My PC Run It?, or get a parts shortlist from the AI PC Builder.