LLM sizing checklist: what to send an engineer
What an engineer needs from you to size on-premise LLM hardware in one reply: users, data, models, context, power, constraints, plus a worked example.
Size GPU memory for an open-weight LLM on your own servers: the formulas, a worked calculation from a model's config.json and which of four architectures fits.
Peter Esteves, Compute Systems Engineer
Published
You have a use case, a shortlist of open-weight models and a line in next year’s budget for a GPU server. The vendors’ answer is a card name. Your answer has to be a number: how much GPU memory the model needs for your users and context lengths, and whether it fits one GPU, one server or a cluster. This article gives you the method; a pilot on your own prompts replaces the estimates.
Weights = parameters × bytes per parameter. BF16 takes 2 bytes, FP8 takes 1, and 4-bit formats such as NVFP4 take 0.5 plus a small scale per block: NVFP4 stores one FP8 scale for every 16 values, so a weight costs about 4.5 bits (NVIDIA Technical Blog, 24 June 2025). NVFP4 arithmetic is a Blackwell feature; an NVIDIA H200 NVL can hold 4-bit weights but computes them in 16-bit.
KV cache = layers × KV heads × head dimension × 2 (keys and values) × bytes × tokens in context × concurrent users. Every factor except the last two comes from the model’s config.json. Bytes are 2 at BF16 and 1 with an FP8 KV cache.
Overhead is what the inference engine keeps for activations, CUDA graphs and fragmentation. vLLM’s --gpu-memory-utilization is “the fraction of GPU memory to be used for the model executor” and defaults to 0.92 (vLLM engine arguments). So 8 % comes off the top; what is left after the weights is your KV-cache budget.
Take Trinity-Large-Thinking from Arcee AI, an OpenMDW-1.1 model: “a 398B-parameter sparse Mixture-of-Experts (MoE) model with approximately 13B active parameters per token”. Its config.json (read 29 November 2026) says: 60 layers, of which 15 are full attention and 45 are sliding-window attention over the last 4,096 tokens; 8 KV heads; head dimension 128.
Weights by formula: ≈ 797 GB at BF16, ≈ 399 GB at FP8, ≈ 199 GB at 4 bits. The checkpoint files are 797.3 GB, 403.7 GB and 234.7 GB. The 4-bit gap is real: Arcee’s NVFP4 card says the scheme covers “MoE expert weights only, attention and dense layers remain BF16”. Use the formula to sanity-check; size the server on the files.
KV cache per token: 15 × 8 × 128 × 2 × 2 bytes = ≈ 61.4 KB at BF16 in the full-attention layers. The sliding-window layers hold the last 4,096 tokens only: 45 × 8 × 128 × 2 × 2 bytes × 4,096 = ≈ 0.75 GB per user, however long the session. Compare Llama 3.1 8B, whose config.json gives 32 layers, 8 KV heads and head dimension 128: ≈ 131 KB. Past the window, a model fifty times smaller holds twice as much cache per token. Cache cost follows the architecture, not the parameter count: read the config, never guess.
Example: Configuration C4, four NVIDIA RTX PRO 6000 Blackwell Server Edition GPUs, 384 GB. Usable memory at vLLM’s default: ≈ 353 GB. NVFP4 weights: 234.7 GB. Fifty concurrent users at 32K tokens each: ≈ 101 GB in the full-attention layers, and the sliding-window layers add ≈ 0.75 GB per user. Total at BF16: ≈ 373 GB, more than C4 holds. An FP8 KV cache halves both caches: ≈ 304 GB, leaving the rest for activations and longer sessions. Verdict: C4 fits fifty users with an FP8 KV cache; C2 at 192 GB cannot hold the weights; C8 buys a bigger KV budget for more users, not fit.
A mixture-of-experts model keeps every expert in memory because the router picks a different subset for each token: in Trinity-Large-Thinking, 4 of 256 experts plus one shared. But each token reads only those experts, about 13B parameters out of 398B.
For one user, generation speed is bounded by memory bandwidth divided by the bytes read per token. On one NVIDIA RTX PRO 6000 Blackwell Server Edition at 1,597 GB/s with an FP8 checkpoint, the ceiling is ≈ 123 tok/s. A dense model of the same size would read all ≈ 399 GB per token: ≈ 4 tok/s. That is why large MoE models are usable on GDDR7 cards and dense models above about 70B are not. Long prompts are the exception: prefill is compute-bound, so retrieval workloads that feed 50K-token documents gain more from HBM than chat does.
When the weights exceed one GPU, the engine splits them. Tensor parallelism divides every layer across GPUs, which exchange partial results on every layer for every token; it is the fast option on NVLink. Pipeline parallelism gives each GPU a block of layers and passes activations once per block: less traffic, but one user waits for each stage in turn. vLLM’s guidance: “if the GPUs on the node do not have NVLINK interconnect (e.g. L40S), leverage pipeline parallelism” (vLLM parallelism docs). A test of Llama 3.1 405B on NVIDIA H200 shows the trade: 56 tok/s with tensor parallelism against 10 tok/s with pipeline parallelism at minimum latency, and the reverse at maximum throughput (NVIDIA Technical Blog, 9 October 2024). MoE models add expert parallelism: experts sit on different GPUs and only routed tokens cross the link, the layout that works over PCIe.
The links differ widely: PCIe Gen5 x16 moves 128 GB/s; an NVIDIA H200 NVL bridge moves 900 GB/s inside a group of up to four GPUs; NVLink in an NVIDIA HGX B300 moves 1.8 TB/s per GPU across all eight. GLM-5.3 in FP8 spans both NVLink groups of Configuration B8, so one user gets ≈ 58 tok/s; the same model in NVFP4 on C8 runs expert-parallel over PCIe. And a model that fits one GPU should never be split: eight copies of Llama 3.1 8B, one per GPU of C8, reached 50,965 tok/s, a batch throughput for the whole system, not one user’s speed.
Memory per GPU is from NVIDIA’s product pages, read 10 October 2026. The fit rule is ours: on C, the 4-bit weights should take at most ≈ 75 % of the GPUs’ memory and the model should activate at most ≈ 40 B parameters per token.
Swipe the table sideways
| Reference architecture | GPU and memory per GPU | GPUs and memory per server | Between GPUs | Fits |
|---|---|---|---|---|
| D | NVIDIA RTX PRO 4500 Blackwell Server Edition, 32 GB GDDR7, 800 GB/s | 8 × 32 = 256 GB | PCIe 5.0 | Small models, one per GPU: speech, documents, embeddings, code completion |
| C | NVIDIA RTX PRO 6000 Blackwell Server Edition, 96 GB GDDR7, 1,597 GB/s | 2, 4 or 8 × 96 = 192, 384 or 768 GB | PCIe 5.0 | Large MoE models in NVFP4; dense models up to about 70B |
| B | NVIDIA H200 NVL, 141 GB HBM3e, 4.8 TB/s | 8 × 141 = 1,128 GB | NVLink bridge, 900 GB/s in groups of four | FP8 checkpoints up to about 850 GB; dense models above 70B; strict latency targets |
| A | NVIDIA HGX B300, 288 GB HBM3e per GPU, 8 TB/s; 2.1 TB per 8-GPU node | 8 GPUs per node, several nodes | NVLink, 1.8 TB/s per GPU | The largest open models, several models at once, thousands of users |
≈ 70 GB of weights at FP8 or ≈ 35 GB at 4 bits by the formula, so one 96 GB GPU of architecture C with a modest context, or an NVIDIA H200 NVL when the context runs long.
The NVFP4 checkpoint is 464.1 GB: C8 with 768 GB. The FP8 checkpoint is 755.6 GB: B8 with 1,128 GB. C4 at 384 GB is not enough.
Yes, with a small quality cost you check in the pilot.
Only when a model must be split by tensor parallelism: dense models above about 70B, or when one user’s latency is the target.
Send us the model, the number of users and the context length, and we size the configuration from the files and show the working: ask an engineer about your model. If your data-centre or procurement team sizes the power and the rack, forward this article to them.
An engineer replies in writing within one business day. No sales calls unless you ask for one.