Methodology
Weights
weights_GB = params × bits_per_weight ÷ 8 ÷ 1e9
Bits per weight are the approximate effective sizes of llama.cpp GGUF formats, including block scale overhead: Q4_K_M ≈ 4.85, Q5_K_M ≈ 5.69, Q6_K ≈ 6.56, Q8_0 = 8.5, F16 = 16. Real GGUF files vary slightly because some tensors (embeddings, output) use different types. Source: llama.cpp quantization docs, github.com/ggml-org/llama.cpp.
KV cache
kv_GB = 2 × layers × kv_heads × head_dim × context × bytes_per_element ÷ 1e9
The factor 2 covers keys and values. Models that use grouped-query attention store only num_key_value_heads. F16 = 2 bytes; Q8_0 ≈ 1.0625 bytes.
Overhead
We add 0.5 GB plus 10% of weights for the compute buffer and runtime/driver overhead. This heuristic is rough, and actual overhead depends on the backend (CUDA, ROCm/HIP, Vulkan, Metal) and batch size.
Fit
"Fits" means total ≤ 90% of VRAM. "Tight" means 90–100%. Anything over 100% needs partial CPU offload, which is much slower.
Theoretical speed ceiling
Token generation is mostly memory-bandwidth bound: max_tok/s ≈ bandwidth_GB/s ÷ weights_GB. Treat it as an upper bound only. MoE models read only their active parameters per token, so this overestimates their weight reads; we do not adjust for that yet.
Sources
GPU VRAM and bandwidth come from the Wikipedia lists of Nvidia and AMD GPUs, retrieved 2026-10-15. Those tables in turn cite vendor spec sheets.
FAQ
How much VRAM do I need to run an 8B model like Llama 3.1 8B?
About 5.3 GB at Q4_K_M with a 4K context. That is what Ollama reported loaded for llama3.1:8b on both of our test rigs. An 8 GB card runs it comfortably. A 6 GB card is tight, and it gets tighter at longer contexts.
How much VRAM does a 14B model need?
About 9.5 to 9.7 GB at Q4_K_M with a 4K context (measured: deepseek-r1:14b 9.5 GB, qwen3:14b 9.7 GB, phi4:14b 9.7 GB). Plan on a 12 GB GPU or larger.
How much VRAM does gpt-oss-20b need?
About 12.7 GB (MXFP4, 4K context), so a 16 GB GPU fits it. We measured 115.83 tok/s on a Radeon RX 6950 XT and 18.16 tok/s on a Radeon 890M iGPU with shared memory.
Does a longer context use more VRAM?
Yes. The KV cache grows linearly with context: kv_GB = 2 × layers × kv_heads × head_dim × context × bytes_per_element ÷ 1e9. Doubling the context doubles the KV cache. The model weights stay the same size.
What happens if a model does not fit in VRAM?
Runtimes like Ollama and llama.cpp offload the layers that don't fit to system RAM and the CPU. The model still runs, but token generation gets much slower. FitGPU marks a setup as Fits when it uses 90% of VRAM or less, Tight from 90 to 100%, and over 100% as needing offload.
Can AMD Radeon GPUs and iGPUs run local LLMs?
Yes. All of FitGPU's own measured benchmarks are AMD hardware running Ollama: a Radeon RX 6950 XT (16 GB) and a Ryzen AI Radeon 890M iGPU using shared system memory. See the benchmarks page for every result.
Are FitGPU's tok/s numbers guaranteed?
No. Measured rows are the median of 3 Ollama runs on the listed hardware. Estimated speeds are a memory-bandwidth ceiling (bandwidth ÷ weight size) and are labeled as estimates. Real speed depends on drivers, the backend (CUDA, ROCm, Vulkan, Metal), and your settings.