Written by Jakub Rusinowski · Last updated July 10, 2026
Quantization is the process of reducing the precision of the model's weights to save memory (VRAM) and increase speed. Understanding it helps you pick the right trade-off between quality, speed, and h
Quantization is the process of reducing the precision of the model's weights to save memory (VRAM) and increase speed. Understanding it helps you pick the right trade-off between quality, speed, and hardware requirements.
The current standard for CPU and Apple Silicon inference. It allows models to be split between CPU RAM and GPU VRAM.
The fastest format for NVIDIA GPUs. It requires the model to fit entirely in VRAM.
A robust format supported by many serving engines like vLLM.
| Situation | Recommended Format | Reason |
|---|---|---|
| Plenty of VRAM (model fits easily) | Q8_0 | Near-lossless, fast |
| Tight VRAM (model barely fits) | Q4_K_M | Best quality per GB |
| Model partially spills to CPU | Q4_K_M or Q3_K_M | Minimize layers off-GPU |
| Very limited hardware (RPi, old GPU) | Q2_K or Q3_K_M | Only option that fits |
| Maximum accuracy (research) | FP16 or Q8_0 | No compression artifacts |