Qwen 3 4B at FP16 needs 8.0 GB for its weights and 17.7 GB in total at 8K context with 8 concurrent users. That means it fits on a single A100 40GB SXM4. Every figure is computed by tokcalc's open-source capacity model.
| GPUs | Total VRAM | VRAM needed | Decode tok/s | Aggregate tok/s | TTFT | Cost / 1M tok | Fits? |
|---|---|---|---|---|---|---|---|
| 1× A100 | 40 GB | 17.7 GB | 125.9 | 1511 | 458.0 ms | $0.1654 | ✓ |
| 2× A100 | 80 GB | 17.7 GB | 214.1 | 5138 | 244.7 ms | $0.0973 | ✓ |
| 4× A100 | 160 GB | 17.7 GB | 428.2 | 20553 | 137.4 ms | $0.0487 | ✓ |
| 8× A100 | 320 GB | 17.7 GB | 856.4 | 82212 | 83.7 ms | $0.0243 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 52 | 618.5 MB | ✓ fits |
| 8K | 26 | 1.21 GB | ✓ fits |
| 33K | 6 | 4.83 GB | ✓ fits |
| 66K | 3 | 9.66 GB | ✓ fits |
| 131K | 1 | 19.33 GB | ✓ fits |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 3090 24GB | 1× | 912.6 | $0.0761 |
| RTX 5090 32GB | 1× | 1747 | $0.0795 |
| RTX 4090 24GB | 1× | 982.8 | $0.1131 |
| AMD MI300X 192GB | 1× | 5168 | $0.1344 |
| V100 SXM2 32GB | 1× | 877.5 | $0.1583 |
| AMD MI325X 288GB | 1× | 5850 | $0.1662 |
Yes. Qwen 3 4B at FP16 needs 17.7 GB including the KV cache, and A100 40GB SXM4 has 40 GB — so it fits on a single GPU.
125.9 tokens/sec per stream and 1511 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 458.0 ms, and inter-token latency is 7.9 ms.
$0.1654 per 1M output tokens at 1× A100 40GB SXM4 ($0.9000/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
8.0 GB for the weights at FP16, plus 9.7 GB of KV cache for 8 concurrent requests at 8K context — 17.7 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.1654 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 2× RTX 3080 10GB at $0.0441, and the fastest is 1× Cerebras CS-3 (WSE-3) at 19500 tok/s.
Same formulas, your context length, concurrency, and quantisation.