Skip to main content

GLM-5.2

Zhipu AIGLMOpen WeightMIT · Commercial OK

Description

GLM-5.2 is Z.AI's flagship foundation model built for long-horizon tasks, delivering a solid 1M-token context that stably sustains long, messy coding-agent trajectories. It improves substantially over GLM-5.1, becoming the strongest open-source model on standard coding benchmarks (81.0 on Terminal-Bench 2.1 and 62.1 on SWE-bench Pro) and the highest-ranked open-source model across long-horizon coding benchmarks (FrontierSWE, PostTrainBench, SWE-Marathon). It introduces flexible thinking effort levels (High and Max) to balance capability against latency and compute. Architecturally, GLM-5.2 proposes IndexShare, which reuses one lightweight indexer across every four sparse-attention (DSA) layers to cut per-token FLOPs by 2.9x at 1M context, and an improved MTP layer for speculative decoding that raises acceptance length by up to 20%. Released under a pure MIT open-source license with weights available on HuggingFace and ModelScope, it supports transformers, vLLM, SGLang, xLLM, and ktransformers, with 1M input context, 128K max output, thinking mode, function calling, structured output, context caching, and MCP integration.

Release Date
2026-06-16
Parameters
753.0B
Context Length
1.0M
Modalities
text

Capability Radar

90
general
70
coding
70
reasoning
77
scienceest.
70
agents
0
multimodal

Science uses a reasoning proxy when dedicated science benchmarks are unavailable.

Rankings

Domain#RankScoreSource
Agentic Capability47
57.0
LS

Benchmark Scores (LLM Stats)

Agents

Terminal-Bench 2.182.7%SR
MCP Atlas76.8%SR
FrontierSWE74.0%SR
Program Bench63.7%SR
SWE-Bench Pro62.1%SR
NL2Repo48.9%SR
Toolathlon48.2%SR
DeepSWE46.2%SR
PostTrainBench34.3%SR
SWE-Marathon13.0%SR

Biology

GPQA91.2%SR

Math

AIME 202699.2%SR
HMMT 202594.4%SR
HMMT Feb 2692.5%SR
IMO-AnswerBench91.0%SR
Humanity's Last Exam54.7%SR
CritPT16.7%SR

AA Evaluation Indices

No AA evaluation data available

LLM Stats Category Scores

Physics
90
General
90
Biology
90
Chemistry
90
Math
70
Reasoning
70
Agents
70
Code
70
Tool Calling
70
Coding
50
Vision
50

Pricing

Input Price$0 / 1M tokens
Output Price$0 / 1M tokens
Blended Price (3:1)$0 / 1M tokens
Cache Read PriceFree
Cache Write PriceFree

Speed

No speed data available

Provider Price Ranking

Provider Price Ranking

5 providers

Cheapest: Zhipu AIMost Expensive: Neuralwatt
ProviderInputOutput
1Zhipu AIPRIMARY
$0
$0
2ZAI
$0
$0
3FriendliAI
$0
$0
4Novita
$0
$0
5Neuralwatt
$1.45
$4.5

Compare pricing across different API providers for this model.

External Sources