Z.ai: GLM 5.2
Analysis Summary
Z.ai GLM 5.2 is a frontier model from Z.ai with an intelligence index of 51.1 and a coding index of 68.8, placing it in the top tier of the entire model landscape. Its agentic index of 74.9 is among the highest in the database, and it pairs that with tool use, function calling, and a 1 million token context window. Instruction following (ifbench 0.733) and long-context reasoning (lcr 0.713) are both strong, making it well-suited to complex, multi-step business workflows.
For businesses, the 1M context window is a standout feature, enabling analysis of entire codebases, large legal documents, or extended research corpora in a single pass. The combination of frontier reasoning, strong coding, and reliable agentic behaviour makes it a credible alternative to the most expensive flagship models for software engineering, autonomous agents, and long-document analysis.
At $0.93 input and $3.00 output, it is priced below comparable frontier models. The main consideration for some teams will be provider familiarity and ecosystem integration. A -4 point regional penalty applies per scoring guidelines, bringing the final score to 83. Teams comfortable with the provider should evaluate it seriously for high-value agentic and coding workloads.
Assessed July 9, 2026
Editorial notes
Z.ai GLM 5.2 delivers world-class intelligence and coding scores, a 1M token context window, and top-tier agentic performance, with strong instruction following and tool use.
Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?
Performance Profile
How Z.ai: GLM 5.2 compares
Z.ai: GLM 5.2 ranks #9 of 387 AI models we track for overall intelligence, #11 of 152 for coding, #6 of 294 for agentic tasks. Its 1M-token context window is larger than 97% of the models we list. At $0.93 per million input tokens it is cheaper than 26% of comparable models.
About Z.ai: GLM 5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,..
Capabilities
Performance Indices
Source: Artificial Analysis
Benchmark Scores
Intelligence
Technical
Content
Benchmark data from Artificial Analysis and Hugging Face
How does Z.ai: GLM 5.2 stack up?
Compare side-by-side with other frontier models.
Model Information
| OpenRouter ID |
z-ai/glm-5.2
|
| Provider | z-ai |
| Release Date | June 16, 2026 |
| Context Length | 1,048,576 tokens |
| Max Completion | 32,768 tokens |
| Status | Active |
Pricing
| Token Type | Cost per 1M tokens | Cost per 1K tokens |
|---|---|---|
| Input | $0.93 | $0.000930 |
| Output | $3.00 | $0.003000 |
Live Performance
Live endpoint metrics, refreshed every 30 minutes.
External Resources
Explore Related Models
Frequently asked questions about Z.ai: GLM 5.2
How much does Z.ai: GLM 5.2 cost?
Z.ai: GLM 5.2 costs $0.93 per million input tokens and $3.00 per million output tokens.
What is the context window of Z.ai: GLM 5.2?
Z.ai: GLM 5.2 has a context window of 1,048,576 tokens (1M).
Is Z.ai: GLM 5.2 good for coding?
On our coding benchmark index, Z.ai: GLM 5.2 ranks #11 of 152 models, placing it in the top quartile of the field for code generation and debugging.
What can Z.ai: GLM 5.2 do?
Z.ai: GLM 5.2 supports tool use and function calling.
Who created Z.ai: GLM 5.2?
Z.ai: GLM 5.2 is developed by Z.ai and was released on June 16, 2026.
Data sourced from OpenRouter API, Artificial Analysis and Hugging Face Open LLM Leaderboard. Scores are editorially curated by our team.
Last updated: July 9, 2026 1:06 pm