Z AI
Released June 16, 2026

GLM-5.2

GLM-5.2 by Z AI: flagship MoE model for long-horizon tasks with solid 1M context, IndexShare attention, flexible thinking effort, and MIT open-source license.

Inputs
Text
Outputs
Text

Model Overview

Capabilities, design details, and architectural traits

GLM-5.2 - Built for Long-Horizon Tasks

GLM-5.2 is a flagship MoE model from Z AI designed to sustain quality across extended, multi-step engineering workflows. Its defining idea is that long context must be engineering-usable - not merely accepting more tokens, but maintaining coherent execution across long, messy coding-agent trajectories. The model can carry forward engineering judgments formed earlier in a session into subsequent stages, reducing context fragmentation in prolonged tasks.

TraitDetail
IndexShareEvery 4 transformer layers share a lightweight indexer
Solid 1M contextTrained extensively for coding-agent scenarios at 1M tokens, maintaining quality across large-scale implementation, debugging, and optimization
DSA architectureDense-Sparse-Alternating network with IndexShare sparse attention
Flexible thinking effortMultiple effort levels including Max let users explicitly balance capability against latency and computational cost
MTP with IndexShare and KVShareImproved speculative decoding draft layer increases acceptance length by up to 20%
MIT open-sourceNo regional limits or technical access borders

Engineering Judgment Persistence

A core differentiator is that GLM-5.2 does not just read more context - it retains module boundaries, architectural constraints, API contracts, directory structures, and historical decisions throughout long-running tasks. This makes it suited for project-level codebase takeover, long-horizon refactoring, and production-grade standards adherence where consistency across hundreds of rounds of execution matters.

Mobile and Cross-Platform Workflows

The model covers practical mobile engineering end to end, including client-side architecture, streaming messages, long-connection states, and real-device validation using ADB, logcat, and screenshots - extending from code implementation to on-device debugging in a single task.

Benchmark Performance

Independent evaluations · Artificial Analysis

33.7%
Intelligence
68.8%
Coding Index
38.4%
Agentic Index

Accuracy & Capability Details

GPQA - Graduate Science89.5%
Humanity's Last Exam41.1%
SciCode - Scientific Coding51.2%
Instruction Following73.3%
Long Context Reasoning78.3%
τ²-Bench - Agentic Tasks99.1%
TerminalBench - System Control50.8%

Compare Models Side-by-Side

Evaluate specifications, pricing, and independent benchmark indices

Model Details
General Info
ProviderZ AIAnthropicAnthropic
Release DateJune 16, 2026September 22, 2026September 28, 2026
Knowledge Cutoff--Jun 2026
Context & Limits
Context Window1M1M1M
Pricing (per 1M tokens)
Input Pricing
$1.40
Best Input Pricing
$4$2
Output Pricing
$4.40
Best Output Pricing
$20$10
Modalities
Inputs
text
textimagefile
textimagefile
Outputs
text
text
text
Benchmarks (0-100)
Intelligence Index33.7
57.6
Best Intelligence Index
56.0
Coding Index68.8--
Agentic Index38.4--
GLM-5.2
Claude Opus 5.5
Claude Sonnet 5.5

Humanity's Last Exam

Extremely difficult logical reasoning and knowledge.

41%
GLM-5.2
Humanity's Last Exam
Score: 41%
GLM-5.2
61%
Claude Opus 5.5
Humanity's Last Exam
Score: 61%
Claude Opus 5.5
55%
Claude Sonnet 5.5
Humanity's Last Exam
Score: 55%
Claude Sonnet 5.5

Long Context Reasoning

Logical reasoning over long context windows.

78%
GLM-5.2
Long Context Reasoning
Score: 78%
GLM-5.2
85%
Claude Opus 5.5
Long Context Reasoning
Score: 85%
Claude Opus 5.5
83%
Claude Sonnet 5.5
Long Context Reasoning
Score: 83%
Claude Sonnet 5.5

SciCode Benchmark

Scientific coding and mathematical modeling.

51%
GLM-5.2
SciCode Benchmark
Score: 51%
GLM-5.2
67%
Claude Opus 5.5
SciCode Benchmark
Score: 67%
Claude Opus 5.5
61%
Claude Sonnet 5.5
SciCode Benchmark
Score: 61%
Claude Sonnet 5.5

Independent evaluation data provided by Artificial Analysis. To view the latest benchmarks and full details, visit their official site.

Explore more from Z AI

Other models by Z AI

Top AI Models

Leading alternatives by intelligence score

View all