VRAM
What is VRAM?
In one sentence: VRAM is the fast memory built onto a graphics card, where AI model weights and the KV cache are stored while running.
For local AI, VRAM is often the biggest limit. The model must fit in VRAM to run at full speed; if it does not, parts spill to slower system memory.
Σ Quick math / rule of thumb: Quick sizing check: Model Weights + KV Cache + ~1–2 GB overhead should fit in GPU VRAM. If it doesn't, the model fails to load or (in tools that support it) part of it runs from much slower system RAM.
What does VRAM look like?
A GPU with 24 GB of VRAM can run a 4-bit 30B model.
Why does VRAM matter?
VRAM size decides which models you can run fast on a GPU.
VRAM vs. RAM
VRAM sits directly on the graphics card with ultra-wide bandwidth to feed GPU cores fast, whereas regular system RAM holds more gigabytes cheaply for the CPU at much lower bandwidth.
| Dimension | VRAM | RAM |
|---|---|---|
| Typical bandwidth | 500 GB/s to 3,000+ GB/s (GDDR6X / HBM3e) | 50 GB/s to 100 GB/s on standard DDR5 PCs |
| Capacity vs. cost | Expensive and capped per card (8–80+ GB) | Cheap and easy to upgrade (32–512+ GB) |
| On Apple Silicon | No separate VRAM—the GPU uses the shared unified memory | The same unified memory pool, shared by CPU, GPU and NPU |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/vram/">VRAM, explained simply</a> (The AI Math Dictionary)