Codestral 2508
codingMistral'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](https://mistral.ai/news/codestral-25-08)
Specifications
| Lab | Mistral AI |
|---|---|
| Context window | 256K tokens |
| Input price | $0.30/1M |
| Output price | $0.90/1M |
| Release | Aug 2025 |
| Input modalities | text, file |
| Output modalities | text |
Strengths
- Specialized for coding with fill-in-the-middle (FIM) support
- Low-latency design for high-frequency coding tasks
- Strong at code correction and test generation
- 256K context window for large codebase understanding
- Mistral-grade quality at competitive pricing ($0.30/$0.90)
Weaknesses
- Coding-specialized: weaker on general reasoning and creative tasks
- Not a general-purpose chat model
- Less suited for non-coding use cases
Best for
- Code completion and fill-in-the-middle workflows
- Automated test generation
- Code review and correction
- IDE integration for developer tooling
In Depth: Codestral 2508
Summary
Codestral 2508 is an AI model from Mistral AI.
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](https://mistral.ai/news/codestral-25-08)