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, released in August 2025, demonstrates competitive response times, ranking in the 53rd percentile for speed across various benchmarks. It also offers cost-effective solutions, placing in the 66th percentile for price. Designed for low-latency, high-frequency coding tasks, Codestral shows a notable strength in Instruction Following, achieving 57.0% accuracy, placing it in the 54th percentile. Its performance in Ethics is also respectable at 97.0% accuracy, though this places it in the 30th percentile. The model exhibits efficient processing for Reasoning tasks, with a duration in the 97th percentile, indicating very fast execution. However, Codestral 2508 struggles significantly with General Knowledge and Mathematics, scoring 49.5% (15th percentile) and a very low 3.0% (8th percentile) accuracy, respectively. Its performance in Coding, while its specialized domain, is moderate at 48.0% accuracy (20th percentile). The model's overall accuracy across most benchmarks is below average, suggesting it may be highly specialized for its intended FIM, code correction, and test generation tasks, which are not directly measured by these general benchmarks.
Model Pricing
Current Pricing
| Feature | Price (per 1M tokens) |
|---|---|
| Prompt | $0.3 |
| Completion | $0.9 |
| Input Cache Read | $0.03 |
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: Mistral Small 4 | Mar 16, 2026 | — | 262K |
Text input
Image input
Text output
|
★★★★★ | ★★★ | $$ |
| Mistral: Mistral Small Creative | Dec 16, 2025 | — | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Devstral 2 2512 | Dec 09, 2025 | ~123B | 262K |
Text input
Text output
|
★★ | ★★★★ | $$ |
| Mistral: Ministral 3 14B 2512 | Dec 02, 2025 | 14B | 262K |
Text input
Image input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Ministral 3 8B 2512 | Dec 02, 2025 | 8B | 262K |
Text input
Image input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Ministral 3 3B 2512 | Dec 02, 2025 | 3B | 131K |
Text input
Image input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral Large 3 2512 | Dec 01, 2025 | ~32B | 262K |
Text input
Image input
Text output
|
★★★ | ★★★ | $$$ |
| Mistral: Voxtral Small 24B 2507 | Oct 30, 2025 | 24B | 32K |
Text input
Audio 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 Unavailable | Jun 10, 2025 | ~24B | 40K |
Text input
Text output
|
★★★ | ★★ | $$$$ |
| Mistral: Magistral Medium 2506 Unavailable | Jun 07, 2025 | — | 40K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| Mistral: Devstral Small 2505 Unavailable | 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 Unavailable | 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 Unavailable | Oct 16, 2024 | 3B | 131K |
Text input
Text output
|
★★★★★ | ★★ | $ |
| Mistral: Ministral 8B Unavailable | Oct 16, 2024 | 8B | 131K |
Text input
Text output
|
★★★★ | ★★★ | $$ |
| Mistral: Pixtral 12B Unavailable | 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 Unavailable | May 26, 2024 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral 7B Instruct v0.3 Unavailable | 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 Unavailable | Jan 09, 2024 | ~7B | 32K |
Text input
Text output
|
★★★★ | ★ | $$ |
| Mistral Small Unavailable | Jan 09, 2024 | ~22B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
| Mistral: Mistral 7B Instruct v0.2 Unavailable | 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
|
★★★★ | ★ | $$ |