devstral-2512
Devstral 2 (Mistral)
Yes — Devstral 2 is retired. Mistral deprecated it on May 22, 2026 and shut it down on July 31, 2026; API requests to it now fail. The recommended replacement is Mistral Medium 3.5.
Mistral's agentic coding model, built for driving a codebase through a tool loop rather than completing a line in an editor. Devstral 2 lasted seven months. Mistral retired the whole Devstral line into Medium 3.5 in mid-2026, which is the clearest example of its strategy of collapsing specialist ids into one general model.
The facts
| Provider | Mistral |
|---|---|
| Model id | devstral-2512 |
| Released | — |
| Deprecated | May 22, 2026 |
| Shutdown | July 31, 2026 · 3 days ago |
| Status | Retired |
| Last verified | August 3, 2026 |
What to use instead
Medium 3.5 is explicitly optimised for agentic and coding use, but it is a general model. Prompts tuned to Devstral's SWE-bench-style scaffolding are worth re-testing rather than lifting across unchanged.
What parameters mistral-medium-3-5-26-04 accepts on modelparams.dev
Change the id
In most cases the migration is one string. Check the parameter differences before you ship — newer models drop older sampling knobs more often than they add them.
- "model": "devstral-2512"
+ "model": "mistral-medium-3-5-26-04"
Frequently asked questions
- When did Mistral Devstral 2 shut down?
- Mistral Devstral 2 shut down on July 31, 2026. API requests to it fail from that date onward.
- What replaces Mistral Devstral 2?
- Mistral recommends Mistral Medium 3.5 (`mistral-medium-3-5-26-04`) as the replacement for Mistral Devstral 2. Medium 3.5 is explicitly optimised for agentic and coding use, but it is a general model. Prompts tuned to Devstral's SWE-bench-style scaffolding are worth re-testing rather than lifting across unchanged.
- Is Mistral Devstral 2 still available?
- No. Mistral Devstral 2 is retired and no longer served — it was shut down on July 31, 2026. Calls to it return an error.
- How do I migrate from Mistral Devstral 2 to mistral-medium-3-5-26-04?
- Swap the model id in your API call: replace "devstral-2512" with "mistral-medium-3-5-26-04". Medium 3.5 is explicitly optimised for agentic and coding use, but it is a general model. Prompts tuned to Devstral's SWE-bench-style scaffolding are worth re-testing rather than lifting across unchanged.
Sources
- Mistral models overview · docs.mistral.ai · accessed August 3, 2026
Found something wrong? The data is one YAML file — edit it on GitHub.
This page, for machines
Drop the badge in a README so it turns red the day this model is retired:
[](https://modeldeprecations.dev/mistral/devstral-2512)