# Mistral Devstral 2 — deprecation status

> 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.

## Facts

| Field | Value |
| --- | --- |
| Provider | Mistral |
| Model id | `devstral-2512` |
| Status | Retired |
| Deprecated | May 22, 2026 |
| Shutdown | July 31, 2026 (3 days ago) |
| Last verified | August 3, 2026 |

## Replacement

- **Mistral Medium 3.5** (`mistral-medium-3-5-26-04`) · recommended — https://modeldeprecations.dev/mistral/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.
  - Parameters it accepts: https://modelparams.dev/models/mistral/mistral-medium-3-5-26-04

```diff
- "model": "devstral-2512"
+ "model": "mistral-medium-3-5-26-04"
```

## FAQ

### 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](https://docs.mistral.ai/getting-started/models/models_overview/) — accessed 2026-08-03

---

Canonical page: https://modeldeprecations.dev/mistral/devstral-2512
JSON: https://modeldeprecations.dev/api/v1/models/mistral/devstral-2512.json
