# labs-devstral-small-2512

Calls to the model labs-devstral-small-2512 on Mistral stopped working on March 31, 2026.

## The error Mistral returns once labs-devstral-small-2512 is gone

HTTP 400

```json
{"object":"error","message":"Invalid model: labs-devstral-small-2512","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: labs-devstral-small-2512
- Released: December 9, 2025 (models.dev)
- Kind: Model retirement
- Announced: February 27, 2026
- Takes effect: March 31, 2026
- Calls after that day: fail
- Calls it hits: `model labs-devstral-small-2512`
- 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/labs-devstral-small-2512/

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