DeepSeek Coder V2 236B (MoE) at AWQ 4-bit needs 129.8 GB for its weights and 142.4 GB in total at 8K context with 8 concurrent users. That means it needs 4× L40S 48GB. Every figure is computed by tokcalc's open-source capacity model.
L40S 48GB has no NVLink, so 4-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 | 142.4 GB | 0.000 | 0.000 | — | — | ✗ |
| 2× L40S | 96 GB | 142.4 GB | 0.000 | 0.000 | — | — | ✗ |
| 4× L40S | 192 GB | 142.4 GB | 145.5 | 6983 | 1.91 s | $0.1114 | ✓ |
| 8× L40S | 384 GB | 142.4 GB | 291.0 | 27932 | 972.5 ms | $0.0557 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 78 | 807.5 MB | ✓ fits |
| 8K | 39 | 1.58 GB | ✓ fits |
| 33K | 9 | 6.31 GB | ✓ fits |
| 66K | 4 | 12.62 GB | ✓ fits |
| 131K | 2 | 25.23 GB | ✓ fits |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 5090 32GB | 8× | 57934 | $0.0192 |
| A100 80GB SXM4 | 2× | 4041 | $0.1650 |
| H100 SXM5 80GB | 2× | 6769 | $0.2052 |
| AMD MI300X 192GB | 1× | 3150 | $0.2205 |
| H200 SXM5 141GB | 2× | 9699 | $0.2291 |
| AMD MI325X 288GB | 1× | 3566 | $0.2727 |
Yes, but it needs 4× L40S 48GB. At AWQ 4-bit the total footprint is 142.4 GB (129.8 GB of weights plus 12.6 GB of KV cache at 8K × 8 concurrent users), against 192 GB of available VRAM across 4 GPUs.
145.5 tokens/sec per stream and 6983 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 1.91 s, and inter-token latency is 6.9 ms.
$0.1114 per 1M output tokens at 4× L40S 48GB ($0.7000/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
129.8 GB for the weights at AWQ 4-bit, plus 12.6 GB of KV cache for 8 concurrent requests at 8K context — 142.4 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.1114 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 8× RTX 5090 32GB at $0.0192, and the fastest is 4× Cerebras CS-3 (WSE-3) at 161646 tok/s.
Same formulas, your context length, concurrency, and quantisation.