Learn AI Math

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.

DimensionVRAMRAM
Typical bandwidth500 GB/s to 3,000+ GB/s (GDDR6X / HBM3e)50 GB/s to 100 GB/s on standard DDR5 PCs
Capacity vs. costExpensive and capped per card (8–80+ GB)Cheap and easy to upgrade (32–512+ GB)
On Apple SiliconNo separate VRAM—the GPU uses the shared unified memoryThe 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?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.