Will your model fit? GPU memory calculator

Serving an LLM needs memory for three things: the weights, the KV cache for every token in flight, and runtime overhead. Pick a model or enter your own to see the total, and whether one 8-GPU node holds it: NVIDIA B200 (1,440 GB) or NVIDIA B300 (2,304 GB).

KV per token for a standard attention model
GPU memory needed
0 GB

Model presets use each model's official release weights and the KV cache its attention design actually stores, from the model configs and the SGLang and vLLM serving recipes (checked November 2026). For a custom mixture-of-experts model, enter the total parameter count: every expert has to be in memory even if only a few run per token.

Memory needed per model

Release weights plus one 128K-token request with a BF16 KV cache and 10% overhead. Each of these models also runs on Avian's per-token API if you don't need a whole node.

ModelParametersWeights as releasedKV cache, 128K tokensFits on one 8-GPU node
DeepSeek V4.1 Flash763B510 GB FP4 experts + FP80.1 GBB200 or B300
MiniMax M3427B854 GB BF1618 GBB200 or B300
GLM-5.3753B756 GB FP812 GBB200 or B300
Kimi K32.78T1,561 GB MXFP4 experts + BF163.6 GBB300
MiMo-V2.6 Flash309B173 GB MXFP4 experts + FP83.0 GBB200 or B300

How the estimate works

Weights = parameters × bytes per parameter: 2 for BF16/FP16, 1 for FP8, 0.5 for 4-bit formats. Many releases mix formats (4-bit experts, FP8 or BF16 elsewhere), so the presets use the measured size of the release checkpoint instead.

KV cache = bytes per token × context length × concurrent requests. For a standard grouped-query-attention model, bytes per token = 2 (keys and values) × layers × KV heads × head dimension × bytes per value. Newer models store far less: latent attention (MLA) caches one compressed vector per layer, and DeepSeek V4.1 Flash compresses its cache to under 1 KB per token.

Fixed state per request covers layers that keep a constant-size buffer instead of a growing cache: linear-attention layers (Kimi K3 holds about 450 MB per request) and sliding-window layers (MiMo-V2.6 Flash). It counts once per concurrent request, whatever the context length.

Overhead covers activations, CUDA graphs and fragmentation. 10% is a reasonable starting point for inference servers like SGLang and vLLM; training needs far more (optimizer state and gradients), so size training jobs separately.

A model also has to split cleanly across GPUs: with tensor parallelism over 8 GPUs, each GPU holds roughly an eighth of the weights and KV cache, so the per-GPU figure must stay under one GPU's memory.