Gemma 2 27B at FP8 (E4M3) needs 27.0 GB for its weights and 51.7 GB in total at 8K context with 8 concurrent users. That means it fits on a single TPU v5p (per-chip, 95GB). 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× TPU | 95 GB | 51.7 GB | 29.58 | 354.9 | 1.99 s | $3.29 | ✓ |
| 2× TPU | 190 GB | 51.7 GB | 50.28 | 1207 | 1.01 s | $1.93 | ✓ |
| 4× TPU | 380 GB | 51.7 GB | 100.6 | 4827 | 521.8 ms | $0.9669 | ✓ |
| 8× TPU | 760 GB | 51.7 GB | 201.1 | 19307 | 275.9 ms | $0.4834 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 44 | 1.54 GB | ✓ fits |
| 8K | 22 | 3.09 GB | ✓ fits |
| 33K | 5 | 12.35 GB | ✓ fits |
| 66K | 2 | 24.70 GB | ✓ fits |
| 131K | 1 | 49.39 GB | ✓ fits |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 5090 32GB | 2× | 2640 | $0.1052 |
| AMD MI300X 192GB | 1× | 2297 | $0.3024 |
| L40S 48GB | 2× | 1273 | $0.3055 |
| AMD MI325X 288GB | 1× | 2600 | $0.3739 |
| A100 80GB SXM4 | 1× | 866.7 | $0.3846 |
| Intel Gaudi 3 128GB | 1× | 1430 | $0.3885 |
Yes. Gemma 2 27B at FP8 (E4M3) needs 51.7 GB including the KV cache, and TPU v5p (per-chip, 95GB) has 95 GB — so it fits on a single GPU.
29.58 tokens/sec per stream and 354.9 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 1.99 s, and inter-token latency is 33.8 ms.
$3.29 per 1M output tokens at 1× TPU v5p (per-chip, 95GB) ($4.20/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
27.0 GB for the weights at FP8 (E4M3), plus 24.7 GB of KV cache for 8 concurrent requests at 8K context — 51.7 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $3.29 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 8× RTX 3080 10GB at $0.0248, and the fastest is 2× Cerebras CS-3 (WSE-3) at 29467 tok/s.
Same formulas, your context length, concurrency, and quantisation.