# zai-glm-5-2

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

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 Mistral returns once zai-glm-5-2 is gone

HTTP 400

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

## What to use instead

Mistral recommends migrating to Z.ai GLM 5.3.

- 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
- Calls it hits: `model zai-glm-5-2`
- 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/zai-glm-5-2/

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