The error you get
What Mistral answers a call to devstral-medium-2507 once the model is gone, as recorded from real responses:
{"object":"error","message":"Invalid model: devstral-medium-2507","type":"invalid_model","param":null,"code":"1500"}
What to use instead of devstral-medium-2507
Mistral recommends migrating to Mistral Medium 3.5.
Facts
- API
- Mistral
api.mistral.ai - Model
devstral-medium-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-medium-2507 shut down?
Calls to the model devstral-medium-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-medium-2507 return once it is shut down?
Mistral answers HTTP 400: "Invalid model: devstral-medium-2507". Send another model to fix it.
More from Mistral 10
| Effective | Model | Status |
|---|---|---|
labs-mistral-small-creative | stopped working | |
devstral-small-2507 | stopped working | |
mistral-large-2411 | stopped working | |
mistral-ocr-2505 | stopped working | |
pixtral-large-2411 | stopped working | |
voxtral-mini-2507 | stopped working | |
labs-leanstral-2603 | stopped working | |
mistral-moderation-2411 | stopped working | |
devstral-2512 | stopped working | |
magistral-medium-2509 | stopped working |