Z.ai: GLM 5.2

Z.ai: GLM 5.2

z-ai · Released Jun 16, 2026 Frontier New
Intelligence #10 / 599
86.1 Our Score
Speed #37 / 281
191.6 tokens / sec
Input #445 / 599
$0.930 per 1M tokens
Output #442 / 599
$3.00 per 1M tokens
Context #17 / 599
1M tokens

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

Intelligence7.6Technical9.7Value7.3Content8.5
Intelligence 7.6/10
Technical 9.7/10
Content 8.5/10
Value 7.3/10

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

Tool Use Function Calling

Performance Indices

Source: Artificial Analysis

51.1 Intelligence Index
68.8 Coding Index
74.9 Agentic Index

Benchmark Scores

Intelligence

GPQA Diamond 89.5% Graduate-level scientific reasoning
HLE 40.1% Humanity's Last Exam
SciCode 50.5% Scientific computing

Technical

TerminalBench Hard 50.8% Agentic terminal tasks
τ²-Bench 99.1% Conversational agent benchmark

Content

IFBench 73.3% Instruction following
LCR 71.3% Long-context reasoning

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.

Compare Models

Model Information

OpenRouter ID z-ai/glm-5.2
Providerz-ai
Release Date June 16, 2026
Context Length1,048,576 tokens
Max Completion32,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.

98.7%
Avg Uptime
667ms
Best Latency (TTFT)
112 tok/s
Best Throughput
26/27
Active Endpoints
Available via: DeepInfra, Inceptron, Baidu, Novita, GMICloud, StreamLake, DigitalOcean, Morph +17 more

Leaderboard Categories

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.