GPU VRAM calculator

Pick a model, precision and context length. The calculator adds up weights, KV cache and runtime overhead, then shows which GPUs it fits on. Model data was read from each model's Hugging Face config on 2026-12-03.

Workload
Weight precision

Estimated VRAM

17.7 GB

  • Weights15 GB
  • KV cache1 GB
  • Runtime overhead1.7 GB

Which GPU fits

GPUVRAMEstimated VRAMRent GPU
RTX 309024 GBFitsRent RTX 3090
RTX 409024 GBFitsRent RTX 4090
RTX 509032 GBFitsRent RTX 5090
RTX 4090 48GB48 GBFitsRent RTX 4090 48GB
L40S48 GBFitsRent L40S
A100 80GB80 GBFitsRent A100 80GB
H10080 GBFitsRent H100
H200141 GBFitsRent H200
B200180 GBFitsRent B200

Current prices are on the pricing page; availability is shown on the deploy page.

How the estimate works

Weights = parameters × bits per parameter ÷ 8. KV cache = per-token KV size from the model config × context × concurrent sequences (halved for an FP8 KV cache). Runtime overhead = 1 GB plus 5% of the weights. LoRA assumes a 16-bit base model ×1.2 + 2 GB, QLoRA a 4-bit base ×1.3 + 2 GB, and full fine-tuning 18 bytes per parameter (AdamW, mixed precision). Real usage varies with the framework, sliding-window attention and batch shape, so leave some headroom.

VRAM requirements by model