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
AI VRAM
Calculate the GPU VRAM required to run any LLM locally or on cloud GPU. Supports all quantization levels — FP32, FP16, INT8, INT4, and GGUF variants.
GPU Cloud Cost
Compare GPU cloud rental costs across RunPod, Lambda Labs, and Vast.ai. Calculate monthly spend for LLM inference, fine-tuning, and ML training workloads.
Related Comparisons
RunPod vs Lambda Labs
RunPod vs Lambda Labs for GPU cloud — compare A100/H100 on-demand pricing, availability, spot instances, and which is better for LLM inference and fine-tuning.
RunPod vs Vast.ai
RunPod vs Vast.ai — GPU rental marketplace comparison. Vast.ai offers lower spot prices but variable reliability; RunPod offers higher consistency. Which is right for your LLM workload?