Okapi Okapi

mistral-ocr-4-0 model retirement

Stopped workingSubscribe to MistralShare

Mistral retired the mistral-ocr-4-0 model on September 30, 2026. Calls to this model fail since that date. The change affects all requests directed to model mistral-ocr-4-0.


The error you get

What Mistral answers a call to mistral-ocr-4-0 once the model is gone, as recorded from real responses:

HTTP 400
{"object":"error","message":"Invalid model: mistral-ocr-4-0","type":"invalid_model","param":null,"code":"1500"}

What to use instead of mistral-ocr-4-0

Switch to OCR 4.1, which is recommended by Mistral.


Facts

API
Mistral api.mistral.ai
Model
mistral-ocr-4-0
Kind
Model retirement
Announced
September 29, 2026
Takes effect
September 30, 2026
Calls after that day
Fail
Source
Lifecycle page
Last updated
Verified
, against Mistral's own pages

Questions

When does mistral-ocr-4-0 shut down?

Calls to the model mistral-ocr-4-0 stopped working on September 30, 2026.

What happens to calls after September 30, 2026?

They have failed since September 30, 2026.

What error does mistral-ocr-4-0 return once it is shut down?

Mistral answers HTTP 400: "Invalid model: mistral-ocr-4-0". Send another model to fix it.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Mistral 10

  1. labs-leanstral-2603Model retirement Stopped working
  2. devstral-2512Model retirement Stopped working
  3. magistral-medium-2509Model retirement Stopped working
  4. magistral-small-2509Model retirement Stopped working
  5. mistral-small-2506Model retirement Stopped working
  6. open-mistral-nemo-2407Model retirement Stopped working
  7. mistral-medium-2505Model retirement Stopped working
  8. mistral-medium-2508Model retirement Stopped working
  9. labs-leanstral-1-5Model retirement Stopped working
  10. zai-glm-5-2Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Mistral

Hear about each breaking change Mistral announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Mistral

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.