GLM 5.2
zai-org/GLM-5.2
Open Source · chat · open-weights · seen 7m ago
Context
1M
Max output
32.8K
Input $/1M
$0.95
Output $/1M
$3.00
Modalities
text
Released
16 Jun 2026
License: mit · zai-org/GLM-5.2
AI summary
● machine-written
Z.ai releases GLM-5.2, open-weights reasoning model with 1M token context
GLM-5.2 is a large-scale reasoning model from Z.ai available as open-weights under MIT license. The model supports a 1-million-token context window and 32,768-token maximum output, designed for long-horizon agent workflows and software engineering tasks. It is available immediately on Hugging Face and multiple third-party providers including OpenRouter, Together, and Z.ai's own API.
What's new
- Supports reasoning efforts (high and xhigh modes)
- 1-million-token context window for long-running tasks
- 32,768-token maximum output length
- Available via 22+ providers for higher uptime
Best for
Long-horizon coding and software engineering workflowsComplex multi-step automation tasksTool use and agent-based applicationsProject-level software development with context retention