Friday, 17 July 2026 | Updating Daily AI insight, written for builders

Can I Run This LLM Locally? — Free VRAM & GPU Calculator

Wondering whether your GPU can run a given large language model locally? This free calculator estimates the VRAM each model needs at every quantization level — and tells you exactly which ones fit your card.

QuantizationQualityEst. VRAMFits your GPU?

Estimate based on model weights at each quantization + ~1.5 GB runtime overhead. Long contexts add KV-cache memory on top (grows with the context length you pick). For mixture-of-experts models, all parameters must be loaded into VRAM even though only a subset compute per token.

Pick a model from our AI models database (or enter a custom parameter count), choose your GPU, set your context length, and see instantly whether it runs — and at what quality. Estimates are weights-based; long contexts add KV-cache memory on top.

Quick answer: how much VRAM do you need to run an LLM locally?

To run a large language model locally at 4-bit quantisation, budget roughly 0.5–0.6 GB of GPU VRAM per billion parameters, plus 1–3 GB for the KV cache at typical context lengths. In practice an 8B model fits in about 5–6 GB (comfortable on a 12GB RTX 3060; also runs on an 8GB RTX 4060), a 13B model needs ~8–10 GB, a 32B model wants a 24GB card like the RTX 4090 (~20 GB of weights), and a 70B model needs about 40–48 GB — a single 48GB card or two 24GB GPUs. At 8-bit those figures roughly double (~1–1.2 GB per billion) and at full fp16 they roughly quadruple (~2 GB per billion).

Quick rules of thumb for the model weights, before adding context:

  • 4-bit (Q4): ~0.5–0.6 GB per billion parameters
  • 8-bit (Q8): ~1–1.2 GB per billion parameters
  • fp16 / bf16: ~2 GB per billion parameters
  • KV cache (context): add ~1–4 GB at 8K–32K tokens, more for very long context or larger models

Frequently asked questions

How much VRAM do I need to run a 70B model?

A 70B model needs roughly 40–48 GB of VRAM at 4-bit quantisation — about 0.5–0.6 GB per billion parameters for the weights, plus the KV cache. That fits on a single 48GB card or two 24GB GPUs such as a pair of RTX 4090s. At 8-bit it roughly doubles to ~80 GB, and at fp16 you need around 140 GB.

Can my RTX 4060 or a 12GB GPU run an 8B or 7B model?

Yes. A 7B–8B model at 4-bit uses only about 4–5 GB of VRAM, so it runs comfortably on a 12GB card such as the RTX 3060, with plenty of headroom left for context. The RTX 4060 is an 8GB card, and it still handles a 7–8B model fine — you just have less room for long context windows.

How much VRAM does a 13B model need?

A 13B model needs about 8–10 GB of VRAM at 4-bit quantisation. It fits on a 12GB GPU for short-to-moderate context, but a 16GB card is safer once you add a longer context window and framework overhead.

Does a 24GB GPU like the RTX 4090 run a 32B or 70B model?

A 24GB GPU runs a 32B model well at 4-bit: the weights take about 20 GB, leaving a few GB for the KV cache. It cannot fit a 70B model at 4-bit — that needs ~40–48 GB — so you would need a second GPU, CPU offloading, or a lower-quality 2–3-bit quant.

How much GPU memory does an LLM use per billion parameters?

As a rule of thumb, budget ~0.5–0.6 GB per billion parameters at 4-bit, ~1–1.2 GB at 8-bit, and ~2 GB at fp16/bf16. So a 30B model is roughly 16–18 GB at 4-bit, ~32 GB at 8-bit, and ~60 GB at fp16, before you add the KV cache.

How much extra VRAM does context length (the KV cache) use?

The KV cache grows linearly with context length and adds about 3 GB on an 8B model when going from 8K to 32K tokens (roughly 1 GB at 8K rising to about 4 GB at 32K), with larger models and longer contexts using more. Quantising the KV cache to 8-bit roughly halves that penalty, so always leave 1–4 GB of headroom on top of the model weights.

What model size can I run on 8GB or 16GB of VRAM?

On 8 GB of VRAM you can comfortably run 7–8B models at 4-bit; on 16 GB you can run up to ~13B comfortably and squeeze in a 20–24B model with a modest context. For a 32B model you want 24 GB, and for a 70B model around 48 GB.


Scroll to Top
Featured on There's An AI For That