Okapi Okapi

Mistral codestral-2405 model retirement

Stopped workingSubscribe to MistralShare

Calls to the model codestral-2405 on Mistral stopped working on June 16, 2025.


The error you get

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

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

What to use instead of codestral-2405

Mistral recommends migrating to Codestral.


Facts

API
Mistral api.mistral.ai
Model
codestral-2405
Kind
Model retirement
Announced
December 2, 2024
Takes effect
June 16, 2025
Calls after that day
Fail
Source
Lifecycle page
Last updated
Verified
, against Mistral's own pages

Questions

When does codestral-2405 shut down?

Calls to the model codestral-2405 on Mistral stopped working on June 16, 2025.

What happens to calls after June 16, 2025?

They have failed since June 16, 2025.

What error does codestral-2405 return once it is shut down?

Mistral answers HTTP 400: "Invalid model: codestral-2405". 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.


More from Mistral 10

  1. mistral-large-2407Model retirement Stopped working
  2. open-mistral-7bModel retirement Stopped working
  3. open-mixtral-8x22bModel retirement Stopped working
  4. open-mixtral-8x7bModel retirement Stopped working
  5. open-codestral-mambaModel retirement Stopped working
  6. mistral-large-2402Model retirement Stopped working
  7. mistral-medium-2312Model retirement Stopped working
  8. mistral-small-2402Model retirement Stopped working
  9. mistral-saba-2502Model retirement Stopped working
  10. codestral-2501Model 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.