Mistral AI
Codestral 2508 pricing and cost calculator
Codestral 2508 from Mistral AI costs $0.30 per million input tokens and $0.90 per million output tokens, with a context window of 256,000 tokens. It was released on Aug 1, 2025. Cached input tokens are billed at $0.03 per million.
- Input price
- $0.30
- Output price
- $0.90
- Context window
- 256,000
- Released
- Aug 1, 2025
Token cost calculator
| Model | Per request | Per day | Per month (30 days) |
|---|---|---|---|
| Codestral 2508 | $0.00075 | $0.75 | $22.50 |
| Claude Haiku 5.5 | $0.00035 | $0.35 | $10.50 |
Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.
Price and specs
| Input price | $0.30 / 1M |
|---|---|
| Output price | $0.90 / 1M |
| Cached input | $0.03 / 1M |
| Context window | 256,000 |
| Max output | 204,800 |
| Accepts | text, files |
| Produces | text |
| Reasoning mode | No |
| Tool / function calling | Yes |
| Structured (JSON) output | Yes |
| Open weights | No |
| Released | Aug 1, 2025 |
What typical workloads cost
| 1,000 chat replies (1,000 input + 500 output tokens each) | $0.75 |
|---|---|
| Summarise a 100-page document (≈50,000 input + 1,000 output tokens) | $0.016 |
| 1 million input + 1 million output tokens | $1.20 |
Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.
Cheaper models with at least the same context window
- Claude Haiku 5.5$0.10 / $0.50
- Muse Ember$0.10 / $0.50
- DeepSeek V4.1 Flash 1017$0.03 / $0.20
- GLM 5.3$0.07 / $1.40
- MiniMax M3.1 Flash$0.15 / $0.60
- Qwen3.8 Flash$0.15 / $0.47
Similarly priced models from other providers
- GLM 4.6V$0.30 / $0.90
- GPT-5.6 Luna$0.20 / $1.20
- GPT-5.6 Luna Pro$0.20 / $1.20
- DeepSeek V3$0.257 / $1.03
- DeepSeek V3.1 Terminus$0.27 / $1
- MiniMax M2.5$0.27 / $0.95
More Mistral AI models
- Pixtral Large 2502$2 / $6
- Mistral Large 4$0.70 / $2.10
- Mistral Medium 3.5$1.50 / $7.50
- Mistral Small 4$0.15 / $0.60
- Devstral 2 2512$0.40 / $2
- Ministral 3 14B 2512$0.20 / $0.20
- Ministral 3 3B 2512$0.10 / $0.10
- Ministral 3 8B 2512$0.15 / $0.15
About Codestral 2508
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
Codestral 2508 FAQ
- How much does Codestral 2508 cost?
- Codestral 2508 costs $0.30 per 1M input tokens and $0.90 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $0.75.
- What is the context window of Codestral 2508?
- Codestral 2508 accepts up to 256,000 tokens of context and can return up to 204,800 tokens in one response.
- Can Codestral 2508 read images?
- No. Codestral 2508 accepts text, files as input.
- What is a cheaper alternative to Codestral 2508?
- Cheaper models with at least the same context window include Claude Haiku 5.5, Muse Ember, DeepSeek V4.1 Flash 1017.