Z.ai: GLM 5.2

z-ai · Released Jun 16, 2026
DFO score #38 / 694
55.6 leaderboard score
Speed #175 / 330
95.1 tok/s
Input Price #325 / 694
$0.152 per 1M tokens
Output Price #628 / 694
$12.00 per 1M tokens
Context #35 / 694
1M tokens

Analysis Summary

Z.ai's GLM 5.2 is a text model with strong coding results, high tool-use reliability measures, and a 1M-token context window. Its reasoning results are below the leading general-purpose models, but its coding and long-context profile supports substantial technical and document workflows. It also supports tool use and function calling, with listed input and output prices below many premium offerings.

For agency teams, GLM 5.2 is a compelling candidate for coding assistance, long-document analysis, and tool-connected automation. Its measured instruction-following and long-context results support structured work, though complex general reasoning should be tested against a stronger flagship when accuracy is critical. The combination of context capacity and cost makes it suitable for a production pilot, especially for repeatable technical workflows.

Assessed September 23, 2026

Editorial notes

GLM 5.2 pairs strong coding and tool-use results with a 1M-token context, high instruction-following and long-context measures, and competitive listed pricing.

The DFO score ranks models on the Artificial Analysis Intelligence Index and is refreshed as new models launch. The write-up and verdict are our own. Feedback?

DFO Verdict

GLM 5.2 pairs strong coding and tool-use results with a 1M-token context, high instruction-following and long-context measures, and competitive listed pricing.

#38 of 694 overall Down 2 this week

Benchmarks

Intelligence Index 33.7 #37 of 433 · Artificial Analysis
Coding Index 68.8 #28 of 198 · Artificial Analysis
Agentic Index 38.4 #29 of 181 · Artificial Analysis
Creative Writing 1,455 #19 of 64 · Arena rating
Instruction Following 1,470 #28 of 65 · Arena rating
GPQA Diamond 89.5%
HLE 40.1%
SciCode 50.5%
TerminalBench Hard 50.8%
τ²-Bench 99.1%
IFBench 73.3%
LCR 71.3%

Artificial Analysis data refreshed Oct 6, 2026. Arena ratings from the Oct 2, 2026 text leaderboard, with style control. Bars: magenta = reasoning, ink = coding and agents, cyan = instructions and long context.

How Z.ai: GLM 5.2 compares

Z.ai: GLM 5.2 ranks #37 of 433 AI models we track for overall intelligence, #28 of 198 for coding, #29 of 181 for agentic tasks. Its 1M-token context window is larger than 95% of the models we list. At $0.15 per million input tokens it is cheaper than 53% of comparable models.

Position in the field
DFO score: ahead of 95% of models #37
Speed: faster than 47% of models #175
Price: cheaper than 53% of models #325
Context: larger than 95% of models #35
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
Z.ai: GLM 5.2 $0.15 in $12.00 out
Anthropic: Claude Opus 5.5 $4.00 in $20.00 out
Anthropic: Claude Sonnet 5.5 $2.00 in $10.00 out
Anthropic: Claude Fable 5.1 $10.00 in $50.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.

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $0.15 $0.000152
Output $12.00 $0.012000

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

$13.34/mo Z.ai: GLM 5.2 $0.0044 per request
$31.68/mo Anthropic: Claude Opus 5.5 $0.01 per request
$15.84/mo Anthropic: Claude Sonnet 5.5 · best value $0.0053 per request

Full calculator with 694 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.15 per million input tokens and $12.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 #28 of 198 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.