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
Small and cheap (under $1 per 1M)Tool callingfile input
- 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
At list price, before any batch or caching discount.
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
No price change since we started tracking on 2026-10-01. We record prices daily; changes will show here.
Codestral 2508 price by host
One host serves this model through OpenRouter.
- Mistral$0.3 in · $0.9 out · 256K ctx · 100.0% uptime 24h
Where to buy Mistral credits for less
Codestral 2508 costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
Codestral 2508 cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$24.00/ month
Cheaper alternatives to Codestral 2508
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| MiniMax: MiniMax M3.1 Flash | $0.075 | $0.3 |
| DeepSeek: DeepSeek V4.1 Flash 1017 | $0.15 | $0.6 |
| Anthropic: Claude Haiku 5.5 | $0.1 | $0.5 |
| 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 |
Other Mistral models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Mistral Medium 3.1 | $0.44 | $2.20 |
| Mistral Small 3.2 24B | $0.075 | $0.2 |
| Mistral Medium 3 | $0.44 | $2.20 |
| Voxtral Small 24B 2507 | $0.1 | $0.3 |
| Mistral Large 3 2512 | $0.5 | $1.50 |
| Ministral 3 3B 2512 | $0.1 | $0.1 |