Llama 4 Maverick 17B-128E (MoE, VLM) at AWQ 4-bit needs 220.0 GB for its weights and 232.9 GB in total at 8K context with 8 concurrent users. That means it needs 8× L40S 48GB. Every figure is computed by tokcalc's open-source capacity model.
L40S 48GB 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.
| GPUs | Total VRAM | VRAM needed | Decode tok/s | Aggregate tok/s | TTFT | Cost / 1M tok | Fits? |
|---|---|---|---|---|---|---|---|
| 1× L40S | 48 GB | 232.9 GB | 0.000 | 0.000 | — | — | ✗ |
| 2× L40S | 96 GB | 232.9 GB | 0.000 | 0.000 | — | — | ✗ |
| 4× L40S | 192 GB | 232.9 GB | 0.000 | 0.000 | — | — | ✗ |
| 8× L40S | 384 GB | 232.9 GB | 359.4 | 34505 | 793.0 ms | $0.0451 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 203 | 824.6 MB | ✓ fits |
| 8K | 101 | 1.61 GB | ✓ fits |
| 33K | 25 | 6.44 GB | ✓ fits |
| 66K | 12 | 12.88 GB | ✓ fits |
| 131K | 6 | 25.77 GB | ✓ fits |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 5090 32GB | 8× | 71565 | $0.0155 |
| A100 80GB SXM4 | 4× | 19968 | $0.0668 |
| H100 SXM5 80GB | 4× | 33446 | $0.0831 |
| B200 SXM 192GB | 2× | 19968 | $0.1669 |
| H200 SXM5 141GB | 2× | 11981 | $0.1855 |
| AMD MI325X 288GB | 1× | 4405 | $0.2207 |
Yes, but it needs 8× L40S 48GB. At AWQ 4-bit the total footprint is 232.9 GB (220.0 GB of weights plus 12.9 GB of KV cache at 8K × 8 concurrent users), against 384 GB of available VRAM across 8 GPUs.
359.4 tokens/sec per stream and 34505 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 793.0 ms, and inter-token latency is 2.8 ms.
$0.0451 per 1M output tokens at 8× L40S 48GB ($0.7000/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
220.0 GB for the weights at AWQ 4-bit, plus 12.9 GB of KV cache for 8 concurrent requests at 8K context — 232.9 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.0451 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 8× RTX 5090 32GB at $0.0155, and the fastest is 8× Cerebras CS-3 (WSE-3) at 798720 tok/s.
Same formulas, your context length, concurrency, and quantisation.