Codestral 25.08 at FP8 (E4M3) needs 22.0 GB for its weights and 37.0 GB in total at 8K context with 8 concurrent users. That means it fits on a single L40S 48GB. 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× L40S | 48 GB | 37.0 GB | 38.29 | 459.5 | 7.93 s | $0.4232 | ✓ |
| 2× L40S | 96 GB | 37.0 GB | 65.09 | 1562 | 3.98 s | $0.2489 | ✓ |
| 4× L40S | 192 GB | 37.0 GB | 130.2 | 6249 | 2.01 s | $0.1245 | ✓ |
| 8× L40S | 384 GB | 37.0 GB | 260.4 | 24996 | 1.02 s | $0.0622 | ✓ |
| Context | Concurrent users | KV per request | Fits? |
|---|---|---|---|
| 4K | 27 | 962.1 MB | ✓ fits |
| 8K | 13 | 1.88 GB | ✓ fits |
| 33K | 3 | 7.52 GB | ✓ fits |
| 66K | 1 | 15.03 GB | ✓ fits |
| 131K | 0 | 30.06 GB | ✗ does not fit |
| GPU | GPUs | Aggregate tok/s | Cost / 1M tok |
|---|---|---|---|
| RTX 5090 32GB | 2× | 3240 | $0.0857 |
| AMD MI300X 192GB | 1× | 2819 | $0.2464 |
| A100 40GB SXM4 | 1× | 824.3 | $0.3033 |
| AMD MI325X 288GB | 1× | 3191 | $0.3047 |
| A100 80GB SXM4 | 1× | 1064 | $0.3134 |
| Intel Gaudi 3 128GB | 1× | 1755 | $0.3166 |
Yes. Codestral 25.08 at FP8 (E4M3) needs 37.0 GB including the KV cache, and L40S 48GB has 48 GB — so it fits on a single GPU.
38.29 tokens/sec per stream and 459.5 tok/s aggregate with continuous batching at 8 concurrent users. Time to first token is 7.93 s, and inter-token latency is 26.1 ms.
$0.4232 per 1M output tokens at 1× L40S 48GB ($0.7000/hr). That is the marginal hardware cost — add idle capacity, ops, and egress for the real figure.
22.0 GB for the weights at FP8 (E4M3), plus 15.0 GB of KV cache for 8 concurrent requests at 8K context — 37.0 GB total. Every extra concurrent user at long context costs more, so leave headroom.
It works. Compare $0.4232 per 1M tokens against the alternatives below — the cheapest option that fits the same workload is 4× RTX 3080 10GB at $0.0404, and the fastest is 1× Cerebras CS-3 (WSE-3) at 10636 tok/s.
Same formulas, your context length, concurrency, and quantisation.