Mistral · live price
Codestral 2508 API pricing
Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Blog Post
- Input
- $0.3
- per 1M tokens
- Output
- $0.9
- per 1M tokens
- Cached input
- $0.03
- per 1M tokens
- Context
- 256K
- 205K max output
List price from OpenRouter, which passes Mistral's price through without markup. Refreshed hourly. Released August 1, 2025. Model id mistralai/codestral-2508.
What Codestral 2508 costs in practice
1,000 chat messages
$0.75
1,000 input + 500 output tokens each
1,000 RAG questions
$2.85
8,000 input + 500 output tokens each
100 coding-agent steps
$1.08
30,000 input + 2,000 output tokens each, no caching
Codestral 2508 price history
Codestral 2508 price by host
- Mistral$0.3 in · $0.9 out · 256K ctx · 99.8% uptime 24h
Where to buy Mistral credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
Codestral 2508 cost calculator
Cheaper alternatives to Codestral 2508
| Model | Input / 1M | Output / 1M |
|---|---|---|
| OpenAI: GPT-6 Luna Pro | $0.1 | $0.5 |
| OpenAI: GPT-6 Luna | $0.1 | $0.5 |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
| Z.ai: GLM 5.3 Flash | $0.15 | $0.5 |
Other Mistral models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Mistral Medium 3.1 | $0.4 | $2 |
| Mistral Small 3.2 24B | $0.094 | $0.25 |
| Mistral Medium 3 | $0.4 | $2 |
| Voxtral Small 24B 2507 | $0.1 | $0.3 |
| Mistral Large 3 2512 | $0.5 | $1.50 |
| Ministral 3 3B 2512 | $0.1 | $0.1 |