LLM VRAM Calculator

How much memory a local language model needs, and which graphics cards and unified-memory systems hold it. All figures are approximate rules of thumb, not measurements.

Model size
Bit width (quantization)

Hardware

DeviceTypeMemoryUsableBandwidthHolds it
Method and limits

Weights take about parameters × bits ÷ 8 bytes. The size-class figures add 20–30% for the context (KV cache), runtime buffers and the operating system's share, rounded to a conservative figure for the whole class. For 16-bit and for parameter counts outside the listed classes, the calculator shows that formula directly as a range (weights plus 20% to weights plus 30%) and checks fit against the upper end.

On a graphics card or accelerator, of its memory is treated as usable. On a unified-memory system (Apple silicon, Ryzen AI Max+, DGX Spark), is treated as usable, because the operating system keeps part of the shared pool and GPU limits apply.

Data: models.csv and hardware.csv in the dataset (https://huggingface.co/datasets/Dunodone/llm-vram-table). Source revision .