VRAMLocal LLM

How Much VRAM Do I Need for an LLM? A Simple Formula

A simple way to estimate VRAM for any local LLM: weights from parameters and quant, plus context. With quick tables for 8B, 14B, 32B and 70B models.

By the Uncensored AI Model Hub editorial team· Updated · 3 min read

The quick formula: weights + overhead + context.

Weights

Parameters (billions) times bits per weight divided by 8 gives gigabytes. Q4_K_M is about 4.8 bits per weight.

Model Q4_K_M Q8_0 FP16
8B ~4.8 GB ~8.5 GB ~16 GB
14B ~8.4 GB ~15 GB ~28 GB
32B ~19 GB ~34 GB ~64 GB
70B ~42 GB ~74 GB ~140 GB

Overhead and context

Add about 1 to 2 GB for runtime buffers, plus the KV cache, which grows with context length. A few thousand tokens adds little; 32K or more can add several gigabytes.

Rules of thumb

Calculate yours

Use the model size calculator, the GGUF quant picker and the detailed LLM VRAM calculator.

Common questions

Can I run a model bigger than my VRAM?

Yes, by offloading layers to system RAM, but generation slows sharply.

Does context length really matter?

Yes. Long contexts can add several gigabytes, especially on models without grouped-query attention.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Find your model in minutes.

Search the directory, check the licence and hardware, and start running uncensored AI models today.