Codestral 2508 vs Qwen 3 Coder: cost comparison
Prices updated 2026-10-28 · computed from live provider data
Short answer: Codestral 2508 is cheaper on a
3:1 input/output blend — $0.450 per million tokens versus
$0.475, a 5% difference.
Qwen 3 Coder offers the larger context window at 262,144 tokens, against 256,000 for Codestral 2508.
Head to head
| Codestral 2508 | Qwen 3 Coder | |
|---|---|---|
| Input, per 1M tokens | $0.300 | $0.300 |
| Output, per 1M tokens | $0.900 | $1.00 |
| Blended 3:1, per 1M | $0.450 | $0.475 |
| Context window | 256,000 | 262,144 |
| Vendor | mistralai | qwen |
Monthly cost at real volumes
| Workload (input / output) | Codestral 2508 | Qwen 3 Coder |
|---|---|---|
| 1M in / 250K out | $0.525 | $0.550 |
| 10M in / 2.5M out | $5.25 | $5.50 |
| 100M in / 25M out | $52.50 | $55.00 |
Which should you pick?
Pick Qwen 3 Coder when you need the longer context window (262,144 vs 256,000 tokens). Pick Codestral 2508 when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.