Phi-3 Mini 3.8B at FP16 needs 7.6 GB for its weights and 33.4 GB in total at 8K context with 8 concurrent users. That means it needs 2× RTX 5090 32GB. Every figure is computed by tokcalc's open-source capacity model.
RTX 5090 32GB has no NVLink, so 2-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× RTX | 32 GB | 33.4 GB | 0.000 | 0.000 | — | — | ✗ |
| 2× RTX | 64 GB | 33.4 GB | 260.5 | 6253 | 626.8 ms | $0.0444 | ✓ |
| 4× RTX | 128 GB | 33.4 GB | 521.1 | 25013 | 328.4 ms | $0.0222 | ✓ |
| 8× RTX | 256 GB | 33.4 GB | 1042 | 100050 | 179.2 ms | $0.0111 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 35 | 1.61 GB | ✓ fits |
| 8K | 17 | 3.22 GB | ✓ fits |
| 33K | 4 | 12.88 GB | ✓ fits |
| 66K | 2 | 25.77 GB | ✓ fits |
| 131K | 1 | 51.54 GB | ✓ fits |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| AMD MI300X 192GB | 1× | 5439 | $0.1277 |
| A100 40GB SXM4 | 1× | 1591 | $0.1572 |
| AMD MI325X 288GB | 1× | 6158 | $0.1579 |
| A100 80GB SXM4 | 1× | 2053 | $0.1624 |
| Intel Gaudi 3 128GB | 1× | 3387 | $0.1640 |
| H100 SXM5 80GB | 1× | 3438 | $0.2020 |
Yes, but it needs 2× RTX 5090 32GB. At FP16 the total footprint is 33.4 GB (7.6 GB of weights plus 25.8 GB of KV cache at 8K × 8 concurrent users), against 64 GB of available VRAM across 2 GPUs.
260.5 tokens/sec per stream and 6253 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 626.8 ms, and inter-token latency is 3.8 ms.
$0.0444 per 1M output tokens at 2× RTX 5090 32GB ($0.5000/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
7.6 GB for the weights at FP16, plus 25.8 GB of KV cache for 8 concurrent requests at 8K context — 33.4 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.0444 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 4× RTX 3080 10GB at $0.0209, and the fastest is 1× Cerebras CS-3 (WSE-3) at 20526 tok/s.
Same formulas, your context length, concurrency, and quantisation.