Skip to content

GLM-5.2

Z.ai · Released 16 Jun 2026 · glm-5.2

Compare this model
Open weightCodingAgentsLong context

$1.40

Input price / 1M tokens

#32 of 61, cheapest first

$4.40

Output price / 1M tokens

#27 of 61, cheapest first

1.05M

Context window

#11 of 71

88

Output tokens / second

#34 of 61

62.1%

SWE-bench Pro

#6 of 16

81%

Terminal-Bench 2.1

#11 of 17

91.2%

GPQA Diamond

#13 of 27

40.5%

Humanity’s Last Exam (no tools)

#10 of 23

Summary

GLM-5.2 is an open-weight model from Z.ai, released on 16 Jun 2026.

At $1.40 input and $4.40 output per million tokens, it is #32 of 61 on input price, cheapest first.

Its 1.05M-token context window ranks #11 of 71.

Measured output speed is 88 tokens per second, #34 of 61.

Z.ai flagship for long-horizon tasks with a 1M-token context, 744B total and 40B active parameters. Open weights under plain MIT with no regional limits (commercial use allowed). Superseded by GLM-5.3 on 18 Aug 2026.

Benchmarks · 6 reported

BenchmarkScoreBarRankSource
SWE-bench ProOpenHands, 400K context62.1%#6 of 16GLM-5.2 model cardSelf-reported
Terminal-Bench 2.1Terminus-2 harness81%#11 of 17GLM-5.2 model cardSelf-reported
GPQA Diamond91.2%#13 of 27GLM-5.2 model cardSelf-reported
Humanity’s Last Exam (no tools)no tools, text-only subset40.5%#10 of 23GLM-5.2 model cardSelf-reported
Humanity’s Last Exam (with tools)with tools, text-only subset54.7%#13 of 16GLM-5.2 model cardSelf-reported
AIME 202699.2%–GLM-5.2 model cardSelf-reported

Self-reported means the lab ran the test itself. A rank appears only where several labs report the same version of a benchmark.

Similar models

Models with the most benchmarks in common with GLM-5.2, and the closest scores.

Compare 4 side by side

SWE-bench Pro

#6 of 16

Harder multi-file engineering tasks

Terminal-Bench 2.1

#11 of 17

Terminal tasks, earlier set

GPQA Diamond

#13 of 27

Graduate-level science questions

Humanity’s Last Exam (no tools)

#10 of 23

Expert questions, no search or code

Compare GLM-5.2 side by side

Pre-filled with the two closest models. Swap any of them.

Open comparison

Sources

Building on GLM-5.2?

Get the architecture right before the bill arrives.

We size caching, routing and fallbacks for your workload on a free call, and tell you where a cheaper model is good enough.