1. Weight memory
Parameters × effective bytes per parameter. Quantized formats include a small allowance for scales and metadata.
Estimate weight memory, KV cache, runtime reserve, minimum GPU count, and system RAM for decoder-only model inference. Every input and formula stays visible.
Workload inputs
Use the checkpoint config for accurate KV-cache math. Changing these fields switches the preset to custom.
Reproducible math
This is a planning estimate, not a benchmark. The calculator keeps each memory component separate so you can replace representative architecture values with the model’s actual config.
Parameters × effective bytes per parameter. Quantized formats include a small allowance for scales and metadata.
2 × layers × KV heads × head dimension × context × concurrent sequences × KV bytes.
Weight memory × selected overhead percentage, plus a fixed 1.5 GB runtime buffer.
VRAM per GPU × GPU count × 90%. Minimum GPU count rounds the estimated footprint up to whole GPUs.
Return to the atlas to compare task fit, licenses, deployment targets, and production cautions.