ai-partpicker Guides

How much VRAM do you need for 7B, 13B, 34B and 70B models

Reviewed November 2026. Specs here come from vendor documentation; prices and availability change, so this guide gives none.

VRAM use has three parts: model weights, KV cache (which grows with context length) and runtime overhead. You can estimate each with simple arithmetic.

Weights

Weight memory is roughly parameters times bits per weight, divided by 8. Quantized formats use slightly more than their nominal bits because of scale metadata. Common approximations:

Model classFP16Q8_0Q4_K_M
7Babout 14 GBabout 7.5 GBabout 4.2 GB
13Babout 26 GBabout 14 GBabout 8 GB
34Babout 68 GBabout 36 GBabout 21 GB
70Babout 140 GBabout 74 GBabout 42 GB

These are weights only, computed from the nominal parameter count. Real models differ a little (an "8B" model can have 8.03 billion parameters, for instance), and tied or untied embeddings change the total. Check the actual file size of the quantized file you plan to download; it is the most reliable number.

KV cache

The KV cache stores attention keys and values for every token in the context. Per token it is: 2 (K and V) times layers times KV heads times head dimension times bytes per value. Models using grouped-query attention have far fewer KV heads than attention heads, which shrinks it a lot.

Worked examples at 16-bit cache, using published architecture values:

Older models without grouped-query attention have much larger caches. Long-context use scales linearly: 128k tokens on the 8B example above is on the order of 16 GiB of cache alone. Some engines can store the cache in 8-bit to halve this, at some quality cost.

Overhead

Budget around 1 GB or more for the CUDA context, compute buffers and fragmentation, and more if you run a display on the same GPU or batch several requests.

Putting it together

GoalRough VRAM to plan for
7B to 8B at Q4_K_M, 8k contextabout 6 to 8 GB
13B to 14B at Q4_K_M, 8k contextabout 10 to 12 GB
30B to 34B at Q4_K_M, 8k contextabout 24 GB, tight
70B at Q4_K_M, 8k contextabout 46 to 48 GB, so two 24 GB cards is tight

Treat the table as a planning range, not a guarantee. The 70B line assumes grouped-query attention; check the specific model card.

If it does not fit

The picker's VRAM check uses this same weights plus KV cache plus overhead structure; its KV cache is estimated from parameter count when architecture data is missing, so treat it as an estimate.

Disclosure: some links on this site may be affiliate links, and we may earn a commission if you buy. It never changes how builds are ranked. See the affiliate disclosure.

Ready to check a specific model? Pick a model and quantization and see compatible builds with estimated VRAM fit.