nrzVS
Rust/UI Icons - Languages
Z.AIZ.AI·Released Jun 16, 2026Open weights · MIT

GLM 5.2: benchmarks, pricing and context window

Rust/UI Icons - ArrowLeftRightCompare GLM 5.2 with
Rust/UI Icons - Search
vs Qwen3.8 2.4T A95Bvs Muse Spark 1.1vs Claude Sonnet 5vs Qwen 3.8

GLM 5.2 is an AI model by Z.AI, released on Jun 16, 2026. It processes up to 1M tokens of context. Prices start at $0.007 per million input tokens and $5.80 per million output tokens. In the nrzVS ranking it scores 28.8 – rank 58 of 1174.

Show more

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.

nrzVS Score

28.8

Rank 58 of 1174

Modalities

InputText
OutputText

Cost

$1.46

per 1M tokens · 3:1 input:output

$0.007 Input · $5.80 Output

Context

1Mtokens

≈ 1.6k pages of text

Output: 1M tokens

Capability tiers

Standing in each nrzVS category: the share of all ranked models that GLM 5.2 beats.

GLM 5.2 benchmarks

Every result nrzVS has for GLM 5.2. The bar shows the percentile among all models tested on the benchmark.

τ²-bench results

BenchLM

99.1

P100

AIME26

BenchLM

99.2

P98

AIME 2026

LLM Stats

0.992

P98

PostTrainBench v1

BenchLM

34.3

P96

MMAnswerBench

BenchLM

91.0

P95

IMO-AnswerBench

LLM Stats

0.91

P93

Arena Text

Arena (LMArena)

1475

P90

AA-Omniscience Hallucination Rate ↓

BenchLM

26.3

P90

ResearchClawBench

BenchLM

20.7

P89

GPQA

LLM Stats

0.912

P89

CritPt

BenchLM

20.9

P87

Humanity's Last Exam

LLM Stats

0.547

P86

WeirdML

Epoch AI (ECI)

0.701

P84

Design Arena · dataviz

OpenRouter

1275

P83

GPQA

BenchLM

91.2

P82

Longform Writing

EQ-Bench

77.9

P81

Design Arena · website

OpenRouter

1323

P80

AA-HLE

BenchLM

41.1

P80

Design Arena · codecategories

OpenRouter

1328

P79

Design Arena · uicomponent

OpenRouter

1271

P79

HMMT Nov 2025

BenchLM

94.4

P79

Design Arena · 3d

OpenRouter

1246

P79

AA-IFBench

BenchLM

73.3

P79

GPQA diamond

Epoch AI (ECI)

0.929

P78

EQ-Bench · 69OpenRouter · 58Arena (LMArena) · 69Epoch AI (ECI) · 46Scale SEAL · 38BenchLM · 58Surge AI · 65LLM Stats · 57

GLM 5.2 pricing

GLM 5.2 costs $0.007 per million input tokens and $5.80 per million output tokens.

ProviderInputCached inputOutputContext
DDeepInfra$0.75$0.14$2.401M
FFireworks$1.40–$4.401M
FFriendliAI$1.40$0.26$4.401M
NNovita$1.40$0.26$4.401M
TTogether$1.40–$4.401M
ZZAI$1.40–$4.401M

per 1M tokens · USD

GLM 5.2 context window

How much text GLM 5.2 can take in and write at once.

Input

1Mtokens

≈ 1.6k pages of text

Output

1Mtokens

≈ 1.6k pages of text

8K32K128K1M10M

GLM 5.2 licence

Open weights · MIT

GLM 5.2 is an open-weights model under the MIT licence: the weights can be downloaded and run on your own hardware.

✓ Commercial use allowed

Parameters: 753B

GLM 5.2 vs other models

Compare GLM 5.2 side by side with similar models: score, benchmarks, price and context window.

Rust/UI Icons - Search

Models like GLM 5.2

Models ranked just above and below GLM 5.2 in the nrzVS ranking.

#55AlibabaQwen3.8 2.4T A95B30.0
#56MetaMuse Spark 1.129.9
#57AnthropicClaude Sonnet 529.7
#59AlibabaQwen 3.828.8
#60MiniMaxMiniMax M3.1 Flash28.8
#61GoogleGemini 3.6 Flash28.6

Frequently asked questions

How good is GLM 5.2?+

GLM 5.2 reaches a nrzVS score of 28.8 – rank 58 of 1174 AI models, based on 131 benchmarks from 8 platforms.

When was GLM 5.2 released?+

GLM 5.2 was released by Z.AI on Jun 16, 2026.

Who created GLM 5.2?+

GLM 5.2 was developed by Z.AI.

How much does GLM 5.2 cost?+

GLM 5.2 costs $0.007 per million input tokens and $5.80 per million output tokens.

What licence does GLM 5.2 have?+

GLM 5.2 is an open-weights model under the MIT licence: the weights can be downloaded and run on your own hardware.

Is GLM 5.2 multimodal?+

No – GLM 5.2 works with text only.

How large is the context window of GLM 5.2?+

GLM 5.2 processes up to 1M tokens of input.