Mistral
codestral-2501 model retirement
Stopped workingSubscribe to MistralShare
Calls to the model codestral-2501 on Mistral stopped working on November 30, 2025.
The error you get
What Mistral answers a call to codestral-2501 once the model is gone, as recorded from real responses:
{"object":"error","message":"Invalid model: codestral-2501","type":"invalid_model","param":null,"code":"1500"}
What to use instead of codestral-2501
Mistral recommends migrating to Codestral.
Facts
- API
- Mistral
api.mistral.ai - Model
codestral-2501- Released
- January 1, 2025 (models.dev)
- Kind
- Model retirement
- Announced
- November 6, 2025
- Takes effect
- November 30, 2025
- Calls after that day
- Fail
- Source
- Lifecycle page
- Last updated
- Verified
- , against Mistral's own pages
Questions
When does codestral-2501 shut down?
Calls to the model codestral-2501 on Mistral stopped working on November 30, 2025.
What happens to calls after November 30, 2025?
They have failed since November 30, 2025.
What error does codestral-2501 return once it is shut down?
Mistral answers HTTP 400: "Invalid model: codestral-2501". Send another model to fix it.
When was codestral-2501 released?
codestral-2501 was released on January 1, 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.
codestral-2501 on other APIs 1
-
Azure AI Foundry
codestral-2501Model retirement Stops workingin 101 days
More from Mistral 10
-
devstral-small-2505Model retirement Stopped working -
magistral-medium-2506Model retirement Stopped working -
magistral-medium-2507Model retirement Stopped working -
magistral-small-2506Model retirement Stopped working -
magistral-small-2507Model retirement Stopped working -
mistral-small-2409Model retirement Stopped working -
mistral-small-2501Model retirement Stopped working -
mistral-small-2503Model retirement Stopped working -
ministral-3b-2410Model retirement Stopped working -
ministral-8b-2410Model 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.