Llama 3.1 405B needs 222.8 GB of VRAM for its weights at AWQ 4-bit — 224.9 GB once a KV cache is loaded. Below is the full breakdown: which GPUs fit, how many you need, what it serves, and what it costs per million tokens. Every figure comes from tokcalc's open-source capacity model.
| Quantization | Weights | With KV cache | Smallest single GPU |
|---|---|---|---|
| FP16 | 810.0 GB | 812.1 GB | — needs multi-GPU |
| FP8 (E4M3) | 405.0 GB | 407.1 GB | — needs multi-GPU |
| AWQ 4-bitrecommended | 222.8 GB | 224.9 GB | B300 SXM 288GB (288 GB) |
| GPU | GPUs | Total VRAM | Decode tok/s | Aggregate tok/s | Cost / 1M tokens |
|---|---|---|---|---|---|
| A100 40GB SXM4 | 8× | 320 GB | 27.07 | 2598 | $0.7697 |
| L40S 48GB | 8× | 384 GB | 15.09 | 1448 | $1.07 |
| RTX 6000 Ada 48GB | 8× | 384 GB | 16.76 | 1609 | $1.10 |
| A100 80GB SXM4 | 4× | 320 GB | 17.46 | 838.2 | $1.59 |
| Intel Gaudi 3 128GB | 4× | 512 GB | 28.81 | 1383 | $1.61 |
| H100 SXM5 80GB | 4× | 320 GB | 29.25 | 1404 | $1.98 |
| RTX PRO 6000 Blackwell 96GB | 4× | 384 GB | 15.65 | 751.0 | $2.22 |
| AMD MI300X 192GB | 2× | 384 GB | 23.14 | 555.3 | $2.50 |
| H100 PCIe 80GB | 4× | 320 GB | 17.46 | 838.2 | $2.65 |
| B200 SXM 192GB | 2× | 384 GB | 34.92 | 838.2 | $3.98 |
| H200 SXM5 141GB | 2× | 282 GB | 20.95 | 502.9 | $4.42 |
| AMD MI325X 288GB | 1× | 288 GB | 15.41 | 184.9 | $5.26 |
Cerebras CS-3 (WSE-3) has no NVLink, so 8-way tensor parallelism runs over PCIe. tokcalc applies a flat 0.85× multi-GPU efficiency factor for this, which is realistic for NVLink-equipped datacenter cards but optimistic for PCIe scale-out — treat the throughput and cost figures for this configuration as an upper bound, and measure before committing.
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 46 | 2.11 GB | ✓ fits |
| 8K | 23 | 4.23 GB | ✓ fits |
| 33K | 5 | 16.91 GB | ✓ fits |
| 66K | 2 | 33.82 GB | ✓ fits |
| 131K | 1 | 67.65 GB | ✓ fits |
Yes. At AWQ 4-bit the model needs 224.9 GB of VRAM, so it fits on a single B300 SXM 288GB or anything with more VRAM.
At AWQ 4-bit with 8,192-token context and 8 concurrent users, the cheapest configuration that fits is 8× A100 40GB SXM4 (320 GB total VRAM). $0.7697 per 1M output tokens.
On 8× Cerebras CS-3 (WSE-3) at AWQ 4-bit, the aggregate throughput is 33527 tokens/sec with continuous batching. That hardware has no published rental price, so its cost per million tokens is not comparable.
Weights alone: 810.0 GB at FP16, 222.8 GB at AWQ 4-bit. Add KV cache for your context length and concurrency — every concurrent request at 8,192 tokens costs extra VRAM, so budget headroom above the weight figure.
FP8 halves the weight footprint (810 GB → 405 GB) and is faster than FP16 on Hopper and Blackwell, where it has native kernels. FP16 remains the reference quality bar; FP8 loses a small amount of accuracy in exchange for roughly doubling the batch size you can serve per GPU.
At 8× A100 40GB SXM4 the marginal cost is $0.7697 per 1M output tokens, before you add idle capacity, ops staff, or egress. That is typically cheaper than frontier API pricing at sustained volume, but API calls win when your load is bursty or too small to keep a GPU busy. The Build vs Buy tab on tokcalc prices this against a specific provider for you.
The calculator uses the exact same formulas as this page — change the workload and watch every number update.
| Total parameters | 405.00B |
| Active parameters per token | 405.00B |
| Architecture | Dense |
| Attention layout | Full attention (GQA) |
| Transformer layers | 126 |
| Hidden dimension | 16384 |
| Attention heads | 128 query / 8 KV (GQA) |
| Head dimension | 128 |
| Vocabulary size | 128,256 |
| Max context (catalog) | 131K |
| KV cache per token @ 8K | 504.0 KB |
Every layer caches keys and values for the whole context, so the KV cache grows linearly with conversation length.