Z.ai: GLM 5.2

Z.ai: GLM 5.2

z-ai · Released Jun 16, 2026
Intelligence #31 / 756
76.8 our score
Speed #212 / 332
67.6 tok/s
Input Price #496 / 772
$0.600 per 1M tokens
Output Price #478 / 772
$2.00 per 1M tokens
Context #50 / 772
1M tokens

Analysis Summary

Z.ai GLM 5.2 is a high-capability model with strong measured coding, reasoning, and agentic results. Its 1M token context is suited to large codebases, long documents, and multi-stage research, while tool use, function calling, and very strong tool-task measurements support practical automation.

It can handle software engineering, document analysis, structured content, and agents that need to execute external actions. Instruction following and long-context results are useful for client workflows, although its general intelligence remains below the newest frontier flagships and its text-only modality limits image-aware tasks.

The pricing is competitive for the capability provided, making it a strong secondary model and a credible primary choice for many engineering and automation workloads. Use a more capable flagship when maximum reasoning quality is essential.

Assessed September 7, 2026

Editorial notes

GLM 5.2 combines strong coding, long-context reasoning, reliable tool use, and a 1M token context at competitive pricing, making it a versatile option for engineering and agentic workflows.

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

DFO Verdict

GLM 5.2 combines strong coding, long-context reasoning, reliable tool use, and a 1M token context at competitive pricing, making it a versatile option for engineering and agentic workflows.

#31 of 756 overall Down 7 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.

38.6 Intelligence Index·68.8 Coding Index·39.4 Agentic Index

How Z.ai: GLM 5.2 compares

Z.ai: GLM 5.2 ranks #41 of 437 AI models we track for overall intelligence, #37 of 209 for coding, #44 of 191 for agentic tasks. Its 1M-token context window is larger than 94% of the models we list. At $0.60 per million input tokens it is cheaper than 36% of comparable models.

Position in the field
Intelligence: smarter than 96% of models #31
Speed: faster than 36% of models #212
Price: cheaper than 36% of models #496
Context: larger than 94% of models #50
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
Z.ai: GLM 5.2 $0.60 in $2.00 out
OpenAI: GPT-6 Astra $10.00 in $50.00 out
Anthropic: Claude Fable 5.1 $10.00 in $50.00 out
Claude Opus 5 $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.

Intelligence6.7Technical7.2Value7.3Content8.2
Performance profile

Strongest on business fit. The pulled-in intelligence 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.60 $0.000600
Output $2.00 $0.002000

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

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.60 per million input tokens and $2.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 #37 of 209 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.