Okapi Okapi

Mistral devstral-2512 model retirement

Stopped workingSubscribe to MistralShare

Mistral retired model devstral-2512 on July 31, 2026. Calls specifying this model fail since that date. The change was announced on May 22, 2026.


The error you get

What Mistral answers a call to devstral-2512 once the model is gone, as recorded from real responses:

HTTP 400
{"object":"error","message":"Invalid model: devstral-2512","type":"invalid_model","param":null,"code":"1500"}

What to use instead of devstral-2512

Mistral recommends migrating to Mistral Medium 3.5.


Facts

API
Mistral api.mistral.ai
Model
devstral-2512
Released
December 9, 2025 (models.dev)
Kind
Model retirement
Announced
May 22, 2026
Takes effect
July 31, 2026
Calls after that day
Fail
Source
Lifecycle page
Last updated
Verified
, against Mistral's own pages

Questions

When does devstral-2512 shut down?

Calls to the model devstral-2512 on Mistral stopped working on July 31, 2026.

What happens to calls after July 31, 2026?

They have failed since July 31, 2026.

What error does devstral-2512 return once it is shut down?

Mistral answers HTTP 400: "Invalid model: devstral-2512". Send another model to fix it.

When was devstral-2512 released?

devstral-2512 was released on December 9, 2025, according to models.dev.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


devstral-2512 on other APIs 1

  1. No date api.llmgateway.io devstral-2512Model retirement Deprecated, no date

More from Mistral 10

  1. labs-leanstral-2603Model retirement Stopped working
  2. mistral-moderation-2411Model retirement Stopped working
  3. magistral-medium-2509Model retirement Stopped working
  4. magistral-small-2509Model retirement Stopped working
  5. mistral-small-2506Model retirement Stopped working
  6. open-mistral-nemo-2407Model retirement Stopped working
  7. mistral-medium-2505Model retirement Stopped working
  8. mistral-medium-2508Model retirement Stopped working
  9. labs-leanstral-1-5Model retirement Stopped working
  10. mistral-ocr-4-0Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Mistral

Hear about each breaking change Mistral announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Mistral

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.