Z.ai: GLM 5.2

Z.ai: GLM 5.2

z-ai · Released Jun 16, 2026
Intelligence #9 / 650
82.2 our score
Speed #53 / 289
167.0 tok/s
Input Price #444 / 650
$0.692 per 1M tokens
Output Price #428 / 650
$2.17 per 1M tokens
Context #28 / 650
1M tokens

Analysis Summary

Z.ai's GLM 5.2 combines frontier-level reasoning with exceptional coding and agentic benchmark results, backed by a 1M token context window and strong instruction-following. Its performance profile competes directly with the leading flagship models on the market.

For businesses, this makes it a strong candidate for autonomous coding agents, long-document analysis, and complex multi-step automation where both reasoning depth and reliability matter. Tool use and function calling round out its agentic capability.

Pricing is competitive for the performance on offer, making it a cost-effective choice for teams running demanding coding or agentic workloads without paying premium flagship rates.

Assessed July 29, 2026

Editorial notes

GLM 5.2 delivers frontier-level reasoning with exceptional coding and agentic performance, a 1M token context, and aggressive pricing.

Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?

DFO Verdict

GLM 5.2 delivers frontier-level reasoning with exceptional coding and agentic performance, a 1M token context, and aggressive pricing.

#9 of 650 overall Down 5 this week

Benchmark scores

GPQA Diamond 89.5%
HLE 40.1%
SciCode 50.5%
TerminalBench Hard 50.8%
τ²-Bench 99.1%
IFBench 73.3%
LCR 71.3%

Magenta = intelligence · Ink = technical/agentic · Cyan = content & long-context · Grey = community benchmarks. Data: Artificial Analysis, Hugging Face.

51.1 Intelligence Index·68.8 Coding Index·74.9 Agentic Index

How Z.ai: GLM 5.2 compares

Z.ai: GLM 5.2 ranks #9 of 395 AI models we track for overall intelligence, #13 of 160 for coding, #4 of 302 for agentic tasks. Its 1M-token context window is larger than 96% of the models we list. At $0.69 per million input tokens it is cheaper than 32% of comparable models.

Position in the field
Intelligence: smarter than 99% of models #9
Speed: faster than 82% of models #53
Price: cheaper than 32% of models #444
Context: larger than 96% of models #28
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
Z.ai: GLM 5.2 $0.69 in $2.17 out
Anthropic: Claude Fable 5 $10.00 in $50.00 out
Claude Opus 5 $5.00 in $25.00 out
Anthropic: Claude Opus 4.8 $5.00 in $25.00 out

Dark bar = input · light bar = output, scaled to the priciest peer.

Context window vs peers · tokens

1M tokens ≈ 8 full-length novels or ~2,500 pages of business documents in a single request.

Intelligence7.6Technical8.4Value7.3Content8.5
Performance profile

Strongest on content. The pulled-in value corner is the trade-off, and if the shape matters more than the price, this is your model.

Compare shapes side-by-side →

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $0.69 $0.000692
Output $2.17 $0.002174

What would Z.ai: GLM 5.2 cost your business?

Pick the job that looks most like yours, then fine-tune with the sliders. Estimates update live.

A website chatbot handling around 100 customer conversations a day, a few short messages each.

3,000
One request is one message, email, draft or automation call.
1,200 tokens

Full calculator with 650 models → Price Calculator

DFO AI AUTOMATION

These numbers get smaller with the right architecture.

We route routine calls to cheap models and save Z.ai: GLM 5.2 for the hard ones. Most clients cut their estimate by 60-80%.

Talk to our team

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,..

Embed this ranking

Writing about this model? Add the badge to your site. It always shows the current rank and score, and links back to this page.

Z.ai: GLM 5.2 rank badge, Dark
<a href="https://designforonline.com/ai-models/z-ai-glm-5-2/"><img src="https://designforonline.com/?aiml_badge=z-ai-glm-5-2&theme=dark" alt="Z.ai: GLM 5.2, ranked #9 on the Design for Online AI Leaderboard" width="400" height="76"></a>
Z.ai: GLM 5.2 rank badge, Light
<a href="https://designforonline.com/ai-models/z-ai-glm-5-2/"><img src="https://designforonline.com/?aiml_badge=z-ai-glm-5-2&theme=light" alt="Z.ai: GLM 5.2, ranked #9 on the Design for Online AI Leaderboard" width="400" height="76"></a>

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.69 per million input tokens and $2.17 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 #13 of 160 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.

© 2026 Design for Online Ltd. Registered in England and Wales No. 10328553. VAT Registered. Design for Online® and Forerunner® are registered trademarks.