# mistral-ocr-2505

Calls to the model mistral-ocr-2505 stopped working on May 31, 2026.

Mistral retired the mistral-ocr-2505 model on May 31, 2026. This change impacts all API calls using model mistral-ocr-2505. Requests targeting this model fail since that date.

## The error Mistral returns once mistral-ocr-2505 is gone

HTTP 400

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

## What to use instead

Switch your requests to OCR 4.1, which Mistral recommends as the replacement.

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