# mistral-small-2402

Calls to the model mistral-small-2402 stopped working on June 16, 2025.

## The error Mistral returns once mistral-small-2402 is gone

HTTP 400

```json
{"object":"error","message":"Invalid model: mistral-small-2402","type":"invalid_model","param":null,"code":"1500"}
```

## What to use instead

Switch to Mistral Small 4 as recommended by Mistral.

- API: Mistral (api.mistral.ai)
- Model: mistral-small-2402
- Kind: Model retirement
- Announced: November 30, 2024
- Takes effect: June 16, 2025
- Calls after that day: fail
- Calls it hits: `model mistral-small-2402`
- 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/mistral-small-2402/

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