Okapi Okapi

Mistral zai-glm-5-2 model retirement

Stopped workingSubscribe to MistralShare

Mistral retired the zai-glm-5-2 model on October 31, 2026. Requests specifying model zai-glm-5-2 fail since that date. The change took effect following an announcement on September 29, 2026.


The error you get

What Mistral answers a call to zai-glm-5-2 once the model is gone, as recorded from real responses:

HTTP 400
{"object":"error","message":"Invalid model: zai-glm-5-2","type":"invalid_model","param":null,"code":"1500"}

What to use instead of zai-glm-5-2

Mistral recommends migrating to Z.ai GLM 5.3.


Facts

API
Mistral api.mistral.ai
Model
zai-glm-5-2
Released
June 13, 2026 (models.dev)
Kind
Model retirement
Announced
September 29, 2026
Takes effect
October 31, 2026
Calls after that day
Fail
Source
Lifecycle page
Last updated
Verified
, against Mistral's own pages

Questions

When does zai-glm-5-2 shut down?

Calls to the model zai-glm-5-2 on Mistral stopped working on October 31, 2026.

What happens to calls after October 31, 2026?

They have failed since October 31, 2026.

What error does zai-glm-5-2 return once it is shut down?

Mistral answers HTTP 400: "Invalid model: zai-glm-5-2". Send another model to fix it.

When was zai-glm-5-2 released?

zai-glm-5-2 was released on June 13, 2026, according to models.dev.

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. mistral-ocr-4-0Model 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.