How much VRAM do I need to run an LLM?

Short answer: at the common Q4_K_M format, plan for about 0.7 GB of VRAM per billion parameters plus 0.5–4 GB for the conversation: an 8B model needs about 6 GB, a 14B model about 10 GB and a 27B model about 19 GB.

Quick table

Model sizeQ4_K_MQ8_0BF16
3B≈2.5 GB≈4.0 GB≈7.1 GB
8B≈5.8 GB≈9.9 GB≈18 GB
14B≈10 GB≈17 GB≈32 GB
27B≈19 GB≈33 GB≈60 GB
32B≈22 GB≈38 GB≈71 GB
70B≈49 GB≈84 GB≈156 GB
120B≈82 GB≈142 GB≈266 GB

The formula

Memory ≈ parameters (in billions) × bits per weight ÷ 8 × 1.1, plus the conversation cache. So at Q4 you need about 0.7 GB per billion parameters, at Q8 about 1.2 GB and at BF16 about 2.2 GB, plus 0.5–4 GB for an 8K-token conversation. Long documents need more.

What that means for common cards

Mixture-of-experts models need memory for all their parameters, even though only a few are active per word.

Questions

How much VRAM for a 7B or 8B model?

About 6 GB at Q4_K_M and about 10 GB at Q8 by our estimate, so an 8 GB card runs it at Q4–Q6.

How much VRAM for a 70B model?

About 49 GB at Q4_K_M by our estimate: two 24 GB cards are not quite enough with a long conversation; a 64 GB Mac is.

Can I use system RAM if VRAM is not enough?

Yes, llama.cpp-based apps can keep part of the model in normal RAM, but answers get much slower.

Memory figures are our estimates (parameters × bits ÷ 8, plus overhead and an 8K-token cache; method). Facts about apps come from their official documentation, checked November 30, 2026.

More local-AI guides

Which LLM runs on my GPU, Mac or laptop? · All open-source models