Author's Description
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)
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
Mistral's Codestral 2508, a coding-focused language model, demonstrates competitive response times, performing among the average models with a 50th percentile speed ranking. It also offers cost-effective solutions, ranking in the 65th percentile for price across various benchmarks. The model exhibits a mixed performance across different categories. Its primary strength lies in its exceptional cost efficiency in Mathematics, achieving a top 3 ranking for cost, despite a very low accuracy of 3.0%. Codestral 2508 also shows reasonable performance in Instruction Following (57.0% accuracy) and Email Classification (94.0% accuracy). However, its performance in General Knowledge (49.5% accuracy) and Coding (48.0% accuracy) is below average, ranking in the 17th and 22nd percentiles respectively. A notable weakness is its extremely low accuracy in Mathematics, indicating it is not suited for complex mathematical problem-solving. The model's reasoning capabilities are also modest at 46.0% accuracy. While its Ethics accuracy is high at 97.0%, its percentile ranking is average.
Model Pricing
Current Pricing
| Feature | Price (per 1M tokens) |
|---|---|
| Prompt | $0.3 |
| Completion | $0.9 |
Price History
Available Endpoints
| Provider | Endpoint Name | Context Length | Pricing (Input) | Pricing (Output) |
|---|---|---|---|---|
|
Mistral
|
Mistral | mistralai/codestral-2508 | 256K | $0.3 / 1M tokens | $0.9 / 1M tokens |
Benchmark Results
| Benchmark | Category | Reasoning | Strategy | Free | Executions | Accuracy | Cost | Duration |
|---|
Other Models by mistralai
|
|
Released | Params | Context |
|
Speed | Ability | Cost |
|---|---|---|---|---|---|---|---|
| Mistral: Voxtral Small 24B 2507 | Oct 30, 2025 | 24B | 32K |
Audio input
Text input
Text output
|
★★★★★ | ★★★ | $$ |
| Mistral: Mistral Medium 3.1 | Aug 13, 2025 | — | 131K |
Text input
Image input
Text output
|
★★★ | ★★★★ | $$$$ |
| Mistral: Devstral Medium | Jul 10, 2025 | — | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$ |
| Mistral: Devstral Small 1.1 | Jul 10, 2025 | ~24B | 131K |
Text input
Text output
|
★★★★ | ★★★ | $$ |
| Mistral: Mistral Small 3.2 24B | Jun 20, 2025 | 24B | 131K |
Text input
Image input
Text output
|
★★★★ | ★★★ | $$ |
| Mistral: Magistral Small 2506 | Jun 10, 2025 | ~24B | 40K |
Text input
Text output
|
★★★ | ★★ | $$$$ |
| Mistral: Magistral Medium 2506 | Jun 07, 2025 | — | 40K |
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
| Mistral: Devstral Small 2505 | May 21, 2025 | ~24B | 128K |
Text input
Text output
|
★★★★★ | ★★★★ | $ |
| Mistral: Mistral Medium 3 | May 07, 2025 | — | 131K |
Text input
Image input
Text output
|
★★★ | ★★★★ | $$$$ |
| Mistral: Mistral Small 3.1 24B | Mar 17, 2025 | 24B | 131K |
Text input
Image input
Text output
|
★★★★ | ★★★ | $$ |
| Mistral: Saba | Feb 17, 2025 | ~24B | 32K |
Text input
Text output
|
★★ | ★★★★ | $$ |
| Mistral: Mistral Small 3 | Jan 30, 2025 | 24B | 32K |
Text input
Text output
|
★★★★★ | ★★★★★ | $ |
| Mistral: Codestral 2501 | Jan 14, 2025 | ~2.5B | 256K |
Text input
Text output
|
★★★ | ★★★ | $$$ |
| Mistral Large 2411 | Nov 18, 2024 | ~32B | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| Mistral Large 2407 | Nov 18, 2024 | ~32B | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$ |
| Mistral: Pixtral Large 2411 | Nov 18, 2024 | ~124B | 131K |
Text input
Image input
Text output
|
★★★ | ★★★★ | $$$$$ |
| Mistral: Ministral 3B | Oct 16, 2024 | 3B | 131K |
Text input
Text output
|
★★★★★ | ★★★ | $ |
| Mistral: Ministral 8B | Oct 16, 2024 | 8B | 131K |
Text input
Text output
|
★★★★ | ★★★ | $$ |
| Mistral: Pixtral 12B | Sep 09, 2024 | 12B | 32K |
Text input
Image input
Text output
|
★★★★ | ★ | $$ |
| Mistral: Mistral Nemo | Jul 18, 2024 | ~12B | 131K |
Text input
Text output
|
★★★★ | ★ | $ |
| Mistral: Mistral 7B Instruct | May 26, 2024 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral 7B Instruct v0.3 | May 26, 2024 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mixtral 8x22B Instruct | Apr 16, 2024 | 22B | 65K |
Text input
Text output
|
★★★★★ | ★★★ | $$$ |
| Mistral Large | Feb 25, 2024 | ~32B | 128K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$ |
| Mistral Medium Unavailable | Jan 09, 2024 | — | 32K |
Text input
Text output
|
— | — | $$$$$ |
| Mistral Tiny | Jan 09, 2024 | ~7B | 32K |
Text input
Text output
|
★★★★ | ★★ | $$ |
| Mistral Small | Jan 09, 2024 | ~22B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral 7B Instruct v0.2 | Dec 27, 2023 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$$ |
| Mistral: Mixtral 8x7B Instruct | Dec 09, 2023 | 56B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral 7B Instruct v0.1 | Sep 27, 2023 | 7B | 2K |
Text input
Text output
|
★★★★ | ★★ | $$ |