Deterministic memory physics and cloud deployment sizing for Llama 3.1 405B Instruct. Verified 2026-12-06 using exact GQA KV-cache math and roofline throughput modeling.
| Quantization | Model Weights | KV Cache (FP16) | Activations + Runtime | Total VRAM |
|---|---|---|---|---|
| FP16 / BF16 | 754.4 GiB | 33.1 GiB | 5.5 GiB | 792.9 GiB |
| FP8 | 396.0 GiB | 33.1 GiB | 5.5 GiB | 434.6 GiB |
| Q4_K_M (4-bit) | 226.3 GiB | 33.1 GiB | 5.5 GiB | 264.9 GiB |
| GPU Architecture | VRAM / GPU | Minimum Valid TP Fit (≤90% util) |
|---|---|---|
| NVIDIA RTX 4090 24GB | 24 GB | Exceeds 8-GPU node |
| NVIDIA L40S 48GB | 48 GB | Exceeds 8-GPU node |
| NVIDIA H100 80GB SXM | 80 GB | 8× GPU (443.0 GiB used) |
| NVIDIA H200 141GB SXM | 141 GB | 4× GPU (438.2 GiB used) |
| AMD MI300X 192GB | 192 GB | 4× GPU (438.2 GiB used) |
| NVIDIA B200 192GB SXM | 192 GB | 4× GPU (438.2 GiB used) |
| NVIDIA B300 288GB SXM | 288 GB | 2× GPU (435.8 GiB used) |
At a 2.0x peak-to-average ratio, Together AI remains cheaper than self-hosting RunPod — 1x (8x AMD MI300X 192GB) even at full GPU capacity (self-host mainly for privacy, custom fine-tunes, or guaranteed rate limits).
Customize Your Traffic & SLA in Live Simulator →At 8,192 total context and 8 concurrent users (FP16 KV cache), Llama 3.1 405B Instruct requires 792.9 GiB in FP16, 434.6 GiB in FP8, or 264.9 GiB in Q4_K_M quantization. Its GQA KV cache uses 504.0 KiB per token.
NVIDIA H100 80GB SXM: 8× GPU (443.0 GiB used); NVIDIA H200 141GB SXM: 4× GPU (438.2 GiB used); AMD MI300X 192GB: 4× GPU (438.2 GiB used)
At a 2.0x peak-to-average ratio, Together AI remains cheaper than self-hosting RunPod — 1x (8x AMD MI300X 192GB) even at full GPU capacity (self-host mainly for privacy, custom fine-tunes, or guaranteed rate limits).