Local model memory estimator

Estimate VRAM and RAM from model size, quantization and context length.

The model you want to run

Model size (parameters)
Pick a size to start the calculation.
Quantization
4-bit uses the least memory; the quality loss is usually small.
Tokens the model reads at once. Longer means a larger KV cache. A 128K context needs 41.0 GB for the KV cache alone.

This setup needs

GPU memory (VRAM)11.1GB14B, 4-bit, 16K context
Recommended system RAM16GBWeights pass through RAM while loading.
Weights (14B × 4 bits ÷ 8)
7.0 GB
KV cache (16K context)
2.6 GB
Runtime overhead
1.5 GB

No model size selected

Pick 7B, 14B, 32B or 70B to see the VRAM you need and the GPUs that fit.

No single GPU fits this setup

70B at 16-bit with a 128K context needs about 182.5 GB of VRAM. The largest card on the list has 48 GB.

Before you buy