Local models
GGUF Quant VRAM Calculator
Pick a parameter count and a quantization to see how big the weights are in GB, whether they fit your card, and which quant is the biggest one that still fits. Weights are arithmetic; the context and runtime overhead is a number you set, because it depends on the model's layers, heads and your context length.
Weights
-
Total needed
-
Your VRAM
-
Verdict
-
Every quant at this size
| Quant | Bits/weight | Weights | Fits in your VRAM? |
|---|
Bits per weight are the usual llama.cpp figures for each quant type and are approximate: real file sizes vary a little by model and by what is kept in higher precision. Set your own overhead number to account for KV cache, compute buffers and the OS, then leave a margin, because a model that only just fits usually runs badly.
Advertisement