# Z.ai GLM 5.2

A third-party open weight text model from Z.ai, hosted by Mistral for long-context coding and agentic workflows. The model is served without Mistral modifications.

- API names: `zai-glm-5-2`, `glm-5-2`
- Status: Deprecated
- Type: Open, Generalist
- Release date: 2026-08-06
- Version: 5.2
- Context length: 1M
- Output token limit: 128k
- Input: text
- Output: reasoning, text
- Features: chat-completions, function-calling, structured-outputs, predicted-outputs, prefix, batching
- Speed rating: 5/5
- Performance rating: 5/5
- Pricing: Input $1.4 /M Tokens; Cached input $0.14 /M Tokens; Output $4.4 /M Tokens
- Licenses: MIT
- Open weights: [Z.ai GLM 5.2](https://huggingface.co/zai-org/GLM-5.2), 753B parameters, 40B active, MIT
- Deprecation date: 2026-09-29
- Retirement date: 2026-10-31
- Replacement: [Z.ai GLM 5.3](/models/zai-glm-5-3)
