Home/Models/Llama 3.1 405B
Model hardware

GPUs to run Llama 3.1 405B.

How much GPU memory Llama 3.1 405B needs, how many RTX PRO 6000, H100, H200, B200 or B300 GPUs that takes, and how much power they pull.

Short answer

Llama 3.1 405B has 405.9B parameters. At FP8 its weights take about 406 GB. For one user at 8K context you need about 451 GB of GPU memory in total. That is 6 × RTX PRO 6000, 7 × H100, 4 × H200, 3 × B200 or 2 × B300.

How many GPUs you need

GPU1 user · 8K context16 users · 32K context64 users · 128K context
RTX PRO 6000 96 GB6 GPUs · 1 server · ≈4.7 kW9 GPUs · 2 servers · ≈7.0 kW61 GPUs · 8 servers · ≈47.3 kW
H100 80 GB7 GPUs · 1 server · ≈10.2 kW11 GPUs · 2 servers · ≈20.4 kW73 GPUs · 10 servers · ≈102.0 kW
H200 141 GB4 GPUs · 1 server · ≈10.2 kW6 GPUs · 1 server · ≈10.2 kW42 GPUs · 6 servers · ≈61.2 kW
B200 180 GB3 GPUs · 1 server · ≈14.3 kW5 GPUs · 1 server · ≈14.3 kW33 GPUs · 5 servers · ≈71.5 kW
B300 288 GB2 GPUs · 1 server · ≈14.5 kW3 GPUs · 1 server · ≈14.5 kW21 GPUs · 3 servers · ≈43.5 kW

FP8 weights, FP16 KV cache, 10% runtime overhead, 90% of each GPU's memory usable, every user at full context at the same time (worst case).

  • 1 user · 8K context: about 451 GB in total (KV cache 4.2 GB).
  • 16 users · 32K context: about 744 GB in total (KV cache 271 GB).
  • 64 users · 128K context: about 5,209 GB in total (KV cache 4,329 GB).

Power is max draw: NVIDIA DGX ratings for 8-GPU HGX servers, GPU power plus server overhead for RTX PRO 6000. A standard 208V/30A cabinet gives about 5 kW. See how much power GPU servers use.

Weights at each precision

Weight precisionWeightsSmallest fit at 1 user · 8K
BF16 / FP16 (2 bytes)812 GB11 × RTX PRO 6000, 8 × H200, 4 × B300
FP8 (1 byte)406 GB6 × RTX PRO 6000, 4 × H200, 2 × B300
4-bit: NVFP4, MXFP4, AWQ (about 0.56 bytes)227 GB3 × RTX PRO 6000, 3 × H200, 1 × B300

Lower precision cuts memory and usually costs a little quality. FP8 is the common choice on H100 and newer.

Model specs we used

Parameters405.9B parameters
Max context131,072 tokens (128K)
KV cache layout126 layers: full attention, 2,048 cached values per token
KV cache per user (FP16)4.2 GB at 8K · 16.9 GB at 32K · 67.6 GB at 128K
Sourcemeta-llama/Llama-3.1-405B-Instruct config.json and model card on Hugging Face

How we calculate it

Total memory = weights + KV cache for every user's context + 10% runtime overhead. KV cache per token comes from the model's own config file: layers, KV heads and head size, or the compressed cache size for MLA models. Layers with a sliding window only keep that window. GPU count assumes 90% of each card's memory is usable and every user is at full context at the same time, which is the worst case. Real use varies with the inference engine, batch size and settings, so treat this as a planning number and test before you buy. Change the numbers in the VRAM calculator.

Questions

Can Llama 3.1 405B run on one GPU?

No. At FP8 the weights alone are about 406 GB, more than any single GPU holds. The smallest setup is 2 × B300 or 4 × H200 for one user at 8K context.

How much memory does the Llama 3.1 405B KV cache use at 128K context?

About 67.6 GB per user at FP16, half that at FP8. Multiply by the number of users served at once.

How much does Llama 3.1 405B need at 4-bit?

The weights drop to about 227 GB. For one user at 8K context that is about 255 GB in total.

Request a quote

Need servers for Llama 3.1 405B?

Tell us your users and context length. We come back with GPU options, prices and lead times, in writing.

Not sure what's available? Free 24-hour allocation check →

sales@mulligancompute.com
(636) 248-7171
Franklin, Tennessee (Nashville)
LinkedIn →