# open-codestral-mamba

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

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

## The error Mistral returns once open-codestral-mamba is gone

HTTP 400

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

## What to use instead

Mistral recommends migrating to Codestral.

- 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
- Calls it hits: `model open-codestral-mamba`
- Source: [Lifecycle page](https://docs.mistral.ai/getting-started/models/models_overview/)
- Verified: November 6, 2026, against Mistral's own pages
- Page: https://www.okapi.bot/models/mistral/open-codestral-mamba/

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
