Skip to content
modeldeprecations.dev
Mistral devstral-2512

Devstral 2 (Mistral)

Retired

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

Mistral Medium 3.5 mistral-medium-3-5-26-04 Provider-recommended Active

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

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:

[![devstral-2512](https://img.shields.io/endpoint?url=https://modeldeprecations.dev/badge/mistral/devstral-2512.json)](https://modeldeprecations.dev/mistral/devstral-2512)

Other Mistral models

All Mistral deprecations →

How to use this site

The full guide, in Markdown. Copy it and hand it to a coding agent verbatim.

# How to use modeldeprecations.dev

[modeldeprecations.dev](https://modeldeprecations.dev) answers one question per model: is it deprecated,
when does it shut down, and what replaces it. Every date on the site is cited to the
provider's own documentation, with the date we last checked it.

Three lifecycle states are used, matching the providers' own vocabulary:

- **active** — still supported, no deprecation announced.
- **deprecated** — the provider has announced it is going away. It still answers requests.
- **retired** — API access is gone. Requests fail.

A model can be active *and* carry a shutdown date: Anthropic publishes a
"not sooner than" date and Google publishes an earliest shutdown date for models
that are current and fully supported. Those are reported as scheduled shutdowns,
not deprecations, because that is what the provider actually committed to.

## Check one model

```bash
curl https://modeldeprecations.dev/api/v1/models/openai/gpt-4-32k.json
```

Or fetch the page as Markdown, which includes the answer, the dates and the sources:

```bash
curl https://modeldeprecations.dev/openai/gpt-4-32k.md
```

## Full catalog

```bash
curl https://modeldeprecations.dev/api/v1/models.json
```

Ids are `provider/model`. Dated snapshots (`gpt-4-32k-0613`) are listed as aliases of
their canonical entry rather than as separate records.

Each entry carries `computed_status`, the lifecycle state recomputed against the build
date — so a model whose shutdown has passed reads `retired` without anyone editing data.

## Badges

A shields.io endpoint per model, for READMEs that should go red when a model dies:

```
https://img.shields.io/endpoint?url=https://modeldeprecations.dev/badge/openai/gpt-4-32k.json
```

## Calendar and changelog

- Subscribe to every shutdown date: https://modeldeprecations.dev/calendar.ics
- Changelog RSS: https://modeldeprecations.dev/changelog.xml

## JSON Schema

```bash
curl https://modeldeprecations.dev/api/v1/schema.json
```

## Contribute

Data lives in YAML under `models/{provider}/{model}.yaml` in the
[GitHub repo](https://github.com/mnfst/modeldeprecations.dev). Every lifecycle date needs a source URL; CI rejects a
date without one. Open a PR.

## For agents

- Machine-readable overview: https://modeldeprecations.dev/llms.txt
- This guide plus every model inline: https://modeldeprecations.dev/llms-full.txt
- Any page also exists as Markdown: append `.md` to a model URL.
- In a browser, this site registers a **WebMCP** tool on `navigator.modelContext`:
  `check_model_deprecation`, `list_shutdowns`, `find_replacement`, and `get_usage_guide`.
- Parameters each model accepts are catalogued on the sibling site, https://modelparams.dev.