Devstral 2
API ID devstral-2512
Devstral 2 was a Mistral model, released December 2025. It had a 256,000-token context window. It took PDF input and supported function calling and structured outputs.
Our frontier code agents model for solving software engineering tasks; excels at using tools to explore codebases, editing multiple files and power software engineering agents.
- Status
- Retired
- Released
- December 2025
- Shutdown
- Jul 31, 2026
- Replacement
- Mistral Medium 3.5mistral-medium-3-5
devstral-2512 stopped serving on July 31, 2026. Recommended replacement: mistral-medium-3-5.
How to migrate to Mistral Medium 3.5
Benchmarks
Scores as each source published themComparing with Devstral Medium 1.0, the previous model in this line. A score is compared only with the same benchmark from the same source, at the same setting where both have it. Full comparison: prices, limits, features
Arena
| Arena | Devstral 2 | Devstral Medium 1.0 | Change | Rank | Date | Source |
|---|---|---|---|---|---|---|
| WebDev | 1196 ±21 | 1071 ±31 | +125 | 137 of 142 1,182 votes | Oct 13, 2026 | source |
Rated as devstral-2; Devstral Medium 1.0 as devstral-medium-2507. Ratings come from people voting between two anonymous answers. Data: Arena (arena.ai), CC BY 4.0.
On cloud platforms
All platform dates| Platform | Platform ID | State | Shutdown | Time left | Replacement | Source |
|---|---|---|---|---|---|---|
| Amazon Bedrock | mistral.devstral-2-123b | Legacy | Mar 30, 2027 | 166 days | — | source |
Amazon Bedrock retires this model 242 days after Mistral's own API.
Read daily from each platform's own pages. The shutdown date and countdown on this page use Mistral's own date. Time left counts to 00:00 UTC on the shutdown date, which is the evening before in ET.
Aliases pointing here: devstral-latest (in place when tracking began (October 6, 2026)), devstral-medium-latest (in place when tracking began (October 6, 2026))
Features
Compare models| Feature | Value | Since | Source |
|---|---|---|---|
| Structured outputsThe model can be held to a JSON schema you supply, so every reply parses without retries or cleanup. | Supported | in place when tracking began (October 6, 2026) | source |
| Function callingAlso called tool use. You describe functions; the model replies with a function name and arguments for your code to run, then uses the result. | Supported | in place when tracking began (October 6, 2026) | source |
| Batch APISend many requests as one job that runs in the background, usually finished within 24 hours, at a lower price than live requests. | Supported | in place when tracking began (October 6, 2026) | source |
| PDF inputPDF files can go in the prompt directly, without converting them to text first. | Supported | in place when tracking began (October 6, 2026) | source |
| Context windowThe most the model can work with in one request, in tokens: your prompt, conversation history and files. A token is about three-quarters of an English word. | 256,000 tokens | in place when tracking began (October 6, 2026) | source |
Not published by Mistral: Prompt caching, Image input, Reasoning / thinking, Fine-tuning, Built-in web search, temperature parameter, top_p parameter, logprobs, Max output tokens.
Price history
USD per 1M tokens, standard tierWe started recording this model's prices on Oct 5, 2026. The history grows with each daily check.
Show as a table
| From | Type | Price |
|---|---|---|
| Oct 5, 2026 | Input | $0.40 |
| Oct 5, 2026 | Output | $2.00 |
Prices
USD per 1M tokens, every type and band, by tier| Type | Price $/1M | In effect |
|---|---|---|
| Standard | ||
| input | $0.40 | |
| output | $2.00 | |
Changelog
Changes we detected on Mistral's pagesNo changes recorded yet.
Last checked · Sources: Mistral models