Mistral
devstral-small-2507 model retirement
Stopped workingSubscribe to MistralShare
Mistral retired the model devstral-small-2507 on May 31, 2026. Requests specifying this model fail since that date. The change took effect following its announcement on February 27, 2026.
The error you get
What Mistral answers a call to devstral-small-2507 once the model is gone, as recorded from real responses:
{"object":"error","message":"Invalid model: devstral-small-2507","type":"invalid_model","param":null,"code":"1500"}
What to use instead of devstral-small-2507
Update your requests to use Mistral Small 4, which is recommended by Mistral as the replacement.
Facts
- API
- Mistral
api.mistral.ai - Model
devstral-small-2507- Kind
- Model retirement
- Announced
- February 27, 2026
- Takes effect
- May 31, 2026
- Calls after that day
- Fail
- Source
- Lifecycle page
- Last updated
- Verified
- , against Mistral's own pages
Questions
When does devstral-small-2507 shut down?
Calls to the model devstral-small-2507 on Mistral stopped working on May 31, 2026.
What happens to calls after May 31, 2026?
They have failed since May 31, 2026.
What error does devstral-small-2507 return once it is shut down?
Mistral answers HTTP 400: "Invalid model: devstral-small-2507". Send another model to fix it.
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-small-2507 on other APIs 1
-
DeepInfra
mistralai/devstral-small-2507Model retirement Stopped working
More from Mistral 10
-
labs-mistral-small-creativeModel retirement Stopped working -
devstral-medium-2507Model retirement Stopped working -
mistral-large-2411Model retirement Stopped working -
mistral-ocr-2505Model retirement Stopped working -
pixtral-large-2411Model retirement Stopped working -
voxtral-mini-2507Model retirement Stopped working -
labs-leanstral-2603Model retirement Stopped working -
mistral-moderation-2411Model retirement Stopped working -
devstral-2512Model retirement Stopped working -
magistral-medium-2509Model 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.