Skip to main content

Tools · VRAM

How Many Billion Parameters Can My GPU Run?

Pick your VRAM, quantization and context length to estimate how much memory common local models need.

GPU VRAM
Quantization
Context length
ModelWeights GBKV cacheTotalVerdict
Qwen2.5 7B4.30.45.5Fits
Llama 3.1 8B4.51.06.3Fits
Mistral 7B4.11.05.9Fits
Qwen2.5 14B8.41.510.7Doesn't fit; part must spill into system RAM (much slower)
Qwen2.5 32B18.52.021.3Won't run
Llama 3.1 70B39.92.543.2Won't run

Weights = parameters × average bits per weight of the quantization ÷ 8; KV cache = 2 × layers × KV heads × head dimension × context × 2 bytes (FP16); plus about 0.8 GB of runtime overhead. Architecture numbers come from each model's public config.json.

These are estimates: llama.cpp, Ollama and vLLM each have different overhead, and the KV cache can be quantized too. This site's desktop runs an RTX 3070 (8 GB); the real numbers are in this benchmark post (in Chinese): speed, VRAM and power draw for 8 models.

Type to search projects and posts too