Skip to main content
⎈K8sCalc
ai-gpu

What is VRAM (Video RAM)?

Memory on a GPU used to store model weights, activations, and KV cache during LLM inference. VRAM is the primary constraint when running large language models locally.

VRAM (Video RAM) explained

How it works. VRAM is the GPU's own memory. To run an LLM, the model weights must fit in VRAM, plus the KV cache (which grows with context length and batch size) and runtime overhead. If they don't fit, the model has to be quantized, sharded across several GPUs, or partly offloaded to system RAM (much slower).

Rule of thumb. Weights ≈ parameters × bytes per parameter: a 7–8B model needs ~16 GB at FP16, ~8 GB at 8-bit and ~4–5 GB at 4-bit, before the KV cache. The AI Model VRAM Calculator does the full estimate.

Common pitfalls. Forgetting the KV cache for long contexts or many concurrent users; assuming a mixture-of-experts model only needs memory for its active parameters — all weights must be loaded.

Related Calculators

Related Comparisons

Related Terms