Q4 vs. Q5 vs. Q8: Optimal Balance for Hardware

Q4_K_M is the optimal default for most consumer setups, providing ~95-97% of FP16 quality at roughly 35% of the VRAM cost and 2-3x throughput. Q5_K_M offers a further quality/size trade-off, often with less than 1% accuracy loss from FP16, and is a sweet spot for 12-16GB VRAM. Q8_0 is effectively lossless (within 0.02-0.05 perplexity points of FP16) but demands significantly more VRAM, approximately double that of Q4_K_M.

Sources

Open the full topic