Skip to main content
⎈K8sCalc
ai-gpu

What is Quantization?

A technique to reduce model memory usage by representing weights in lower precision (INT8, INT4, GGUF-Q4). Quantization trades a small accuracy loss for significant VRAM reduction.

Quantization explained

How it works. Quantization stores model weights with fewer bits — 8-bit or 4-bit integers instead of 16-bit floats — cutting memory and often increasing throughput. Methods differ in how they preserve accuracy: GPTQ and AWQ (GPU inference), GGUF formats such as Q4_K_M (llama.cpp/Ollama), FP8 on recent GPUs.

In practice. 8-bit is usually close to the original quality; 4-bit roughly quarters memory versus FP16 with a small quality loss that depends on the model and task. Evaluate on your own prompts before switching production traffic.

Common pitfalls. Comparing benchmark scores across different quantization methods; assuming 4-bit is always faster (it depends on kernels and hardware); forgetting that the KV cache is quantized separately.

Related Calculators

Related Comparisons

Related Terms