# devstral-medium-2507

Calls to the model devstral-medium-2507 on Mistral stopped working on May 31, 2026.

Requests using model devstral-medium-2507 fail since May 31, 2026. Mistral announced the model retirement on February 27, 2026. Any calls specifying devstral-medium-2507 receive errors after that shutdown date.

## The error Mistral returns once devstral-medium-2507 is gone

HTTP 400

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

## What to use instead

Mistral recommends migrating to Mistral Medium 3.5.

- API: Mistral (api.mistral.ai)
- Model: devstral-medium-2507
- Kind: Model retirement
- Announced: February 27, 2026
- Takes effect: May 31, 2026
- Calls after that day: fail
- Calls it hits: `model devstral-medium-2507`
- 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-medium-2507/

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