Okapi Okapi

Mistral open-codestral-mamba model retirement

Stopped workingSubscribe to MistralShare

On June 6, 2025, the open-codestral-mamba model was retired. Requests targeting model open-codestral-mamba fail after this date.


The error you get

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

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

What to use instead of open-codestral-mamba

Mistral recommends migrating to Codestral.


Facts

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

Questions

When does open-codestral-mamba shut down?

Calls to the model open-codestral-mamba on Mistral stopped working on June 6, 2025.

What happens to calls after June 6, 2025?

They have failed since June 6, 2025.

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

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