Local LLM VRAM Calculator

한국어

Pick a model, a quant and a context length to get the VRAM it needs. Pick your GPU and see in one line whether it fits.

This is an estimate. Real usage will differ.

Weights and KV cache come from formulas. Runtime overhead is a flat 1 GiB guess. Actual use depends on your runtime and version. If it says tight, load it and check.

Model values checked 2026-11-11

Everything is computed in your browser. Nothing you pick is sent anywhere.

Not buying advice. Tokens per second is not calculated.

Independent tool, not affiliated with any model maker or GPU vendor. No sign-up, no install.

VRAM calculator

Result

Llama 3.1 8B Q4_K_M, 8,192 context: about 6.6 GiB needed.

Fits on the GeForce RTX 4070 (12 GB). About 5.4 GiB to spare.

  • Weights 4.6 GiB
  • KV cache 1.0 GiB
  • Runtime overhead 1.0 GiB (estimate)
  • With this model and quant, the GeForce RTX 4070 holds about 42,752 tokens of context.
  • At this context, the highest quant that fits the GeForce RTX 4070 is Q8_0.

This is an estimate. Real usage depends on your runtime and version.

Use without ads

The ad slots go away. The tool stays free.

It applies to this browser on this device only.

There is no free trial that turns into a charge. Cancelling is one button on this screen.

If you leave it unchecked, you get the time you paid for and it will not renew.

Monthly

$1.99 a month.

Within 7 days of paying, ask and we refund in full. After that, cancelling keeps the time you paid for.

Yearly

Yearly is coming soon. You are not charged.

Ad-free months come from payment records only. Cancel and rejoin with the same email, and we add to the months you already had. Months off are not counted. A yearly plan counts the months that have passed.

Manage with your payment email

Joined on another device, or not seeing it here? You can cancel there.

Questions about payment, or want a refund? Email us. ok981121@naver.com

Polar handles payment and receipts. If a minor paid without a parent's or guardian's consent, they or their guardian can cancel the purchase.

Terms of use

Formulas and assumptions

Sources

How to use it

  1. Pick the model and the quant you want to run.
  2. Pick a context length and your GPU.
  3. The VRAM you need and a fit verdict show up right away.

VRAM needed per model

What each GPU can run

Common questions

Questions

How much VRAM do you need to run a local LLM?
Weights plus KV cache plus runtime overhead. Llama 3.1 8B at Q4_K_M with 8,192 context needs about 6.6 GiB. Pick a model and a quant and it calculates right away. Llama 3.1 8B
What models can I run with 8GB of VRAM?
At Q4_K_M, models up to about 8B fit at 8,192 context. There is a table per GPU with what fits and the highest quant that does. RTX 4060
How much does a lower quant save?
Against FP16, Q8_0 is about half and Q4_K_M is a little over 30%. The bit widths come from the measured table in the llama.cpp docs and can differ a few percent per model. Picking a quant
How much more VRAM does a longer context cost?
KV cache scales with context length. Double the context and the KV cache doubles. Switching the KV cache to q8_0 roughly halves it. KV cache
How much memory can a Mac use?
On Apple silicon the GPU uses part of unified memory. This counts about 2/3 at 32 GB and under, 3/4 above. Apple does not publish the number; it is a community-confirmed value. How it is calculated
Are my picks sent to a server?
No. The calculation runs in this browser. If you copy the result link, your picks go after the # in the address, and the browser never sends that part to a server. Privacy policy