# devstral-small-2505

Calls to the model devstral-small-2505 on Mistral stopped working on November 30, 2025.

## The error Mistral returns once devstral-small-2505 is gone

HTTP 400

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

## What to use instead

Switch your requests to Mistral Medium 3.5, which is recommended by Mistral as the replacement.

- API: Mistral (api.mistral.ai)
- Model: devstral-small-2505
- Released: May 1, 2025 (models.dev)
- Kind: Model retirement
- Announced: October 31, 2025
- Takes effect: November 30, 2025
- Calls after that day: fail
- Calls it hits: `model devstral-small-2505`
- 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/devstral-small-2505/

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