Quantisation Trade-off Planner
For a VRAM budget, a model and a context length, the memory each quantisation level needs and the highest precision that still fits.
Needs 17.81 GB of your 24.00 GB, of which 6% is KV cache and overhead rather than weights.
- KV cache per token
- 128.0 KB
- KV cache, all sequences
- 1.00 GB
- 16.0 bit per weight
- 17.81 GB · fits
- 8.0 bit per weight
- 9.46 GB · fits
- 6.0 bit per weight
- 7.38 GB · fits
- 5.0 bit per weight
- 6.34 GB · fits
- 4.5 bit per weight
- 5.81 GB · fits
- 4.0 bit per weight
- 5.29 GB · fits
- 3.5 bit per weight
- 4.77 GB · fits
- 3.0 bit per weight
- 4.25 GB · fits
Fit is arithmetic; quality is an experiment
need(bits) = (P × bits/8 + KV) × (1 + overhead) ≤ VRAM
The table above is the easy half of the decision and it is completely determined: weights scale linearly with bits per weight, the KV cache does not move at all when you requantise the weights, and the sum either fits or it does not. That is worth seeing laid out, because it shows how quickly the KV term stops being a rounding error. At long context or any real batch size, dropping from 8 bits to 4 buys much less than half, since half of what you are carrying was never weights.
The hard half is what the compression costs you, and no calculator can answer it. Degradation is not uniform: it varies by model family, by how much redundancy the weights had to begin with, and above all by task. Quantisation that leaves conversational fluency untouched can quietly damage arithmetic, long-context retrieval, structured-output adherence or a low-resource language, and the loss shows up in exactly the places a casual test will not look.
So use the fit table to shortlist, then run a real comparison: fifty examples from your own workload, the same prompts at two adjacent levels, graded the way you actually care about. If two levels both fit and you cannot tell them apart on your own eval, take the smaller one and spend the memory on context or batch instead. If you can tell them apart, you have your answer and it cost you an afternoon.