# Z.ai: GLM 5.2: AI model fact sheet

- **Provider:** zhipu
- **Released:** 2026-06-16
- **Context window:** 1,048,576 tokens
- **API pricing:** $1.40 / 1M input, $4.40 / 1M output
- **OpenRouter ID:** z-ai/glm-5.2
- **Capabilities:** conversation, reasoning, code-generation, analysis, agentic-tool-use, tool-use, planning

GLM-5.2 is Z.ai's flagship model built for the era of long-horizon tasks. With a genuinely usable 1M-token context window, it holds project-level engineering context, executes long-running tasks more reliably, follows engineering standards more consistently, and can carry a project from requirements all the way to multi-platform deployment in a single task.

Source: real side-by-side outputs, pricing and specs at https://rival.tips/models/glm-5.2