Llama 2 7B at FP16 needs 13.5 GB for its weights and 47.8 GB in total at 8K context with 8 concurrent users. That means it fits on a single H100 PCIe 80GB. 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× H100 | 80 GB | 47.8 GB | 96.44 | 1157 | 332.5 ms | $0.4801 | ✓ |
| 2× H100 | 160 GB | 47.8 GB | 163.9 | 3935 | 182.2 ms | $0.2824 | ✓ |
| 4× H100 | 320 GB | 47.8 GB | 327.9 | 15739 | 106.1 ms | $0.1412 | ✓ |
| 8× H100 | 640 GB | 47.8 GB | 655.8 | 62955 | 68.0 ms | $0.0706 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 30 | 2.15 GB | ✓ fits |
| 8K | 15 | 4.29 GB | ✓ fits |
| 33K | 3 | 17.18 GB | ✓ fits |
| 66K | 1 | 34.36 GB | ✓ fits |
| 131K | 0 | 68.72 GB | ✗ does not fit |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 5090 32GB | 2× | 3526 | $0.0788 |
| AMD MI300X 192GB | 1× | 3067 | $0.2264 |
| AMD MI325X 288GB | 1× | 3472 | $0.2800 |
| A100 80GB SXM4 | 1× | 1157 | $0.2880 |
| Intel Gaudi 3 128GB | 1× | 1909 | $0.2909 |
| H100 SXM5 80GB | 1× | 1938 | $0.3583 |
Yes. Llama 2 7B at FP16 needs 47.8 GB including the KV cache, and H100 PCIe 80GB has 80 GB — so it fits on a single GPU.
96.44 tokens/sec per stream and 1157 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 332.5 ms, and inter-token latency is 10.4 ms.
$0.4801 per 1M output tokens at 1× H100 PCIe 80GB ($2.00/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
13.5 GB for the weights at FP16, plus 34.4 GB of KV cache for 8 concurrent requests at 8K context — 47.8 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.4801 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 8× RTX 3080 10GB at $0.0186, and the fastest is 2× Cerebras CS-3 (WSE-3) at 39347 tok/s.
Same formulas, your context length, concurrency, and quantisation.