GLM 5.2

Jun 2026GLM API prices →
GLM 5.2
Compare in
on
$1.28per task?
$1.40 / $4.40per 1M in / out?cache $0.26
62 tok/sfirst token in 2.1 s?
1Mcontext

Rankingat max effort?

Alternatives?

Run it yourself

estimate
Fits on✗ 8 GB (phone, laptop)✗ 16 GB✗ 24 GB GPU✗ 48 GB GPU✗ 80 GB GPU
LicenceMITfree for commercial use

See the best open source LLMs, ranked

History

8 versions
30405060Jul 26Release dateAutomationBench-AA5.25.3
30405060Jul 26Release dateAutomationBench-AA5.25.3

Benchmarks

all categories
Chat & Knowledge
Coding
WebDev Arena1,604#24
DeepSWE 141.5#5
SciCode51.2#54
MirrorCode36.7#24
SWE-bench Pro (edition unstated)lab62.1
DeepSWE (edition unstated)lab46.2
SciCode Verified pass@1 n=6lab88.1
Surge Human Eval on Codelab3.4
Agents & Tool Use
EBR Bench9.5#26
AutomationBenchlab28.4
Finance Agent v2lab49.7
Harvey Legal Agent Benchmarklab7.1
Cybenchlab73
Finch FinWorkBenchlab61
B3 Attack Resistancelab88.1
Harmful cyber request refusal meanlab90
KORA aggregatelab1.4
Writing & Language

FAQ

How much does GLM 5.2 cost?›

$1.40 per 1M input tokens and $4.40 per 1M output tokens; cached input $0.26 per 1M; cheapest via Relace at $0.31 / $2.40. A typical benchmark task costs about $1.28 at max effort.

Is GLM 5.2 free to use?›

There is no free API; the cheapest paid price is $0.31 per 1M input tokens. The weights are open, so you can run it yourself.

How good is GLM 5.2, and what is it best at?›

#46 of 363 in Chat & Knowledge, #66 of 147 in Coding, #61 of 149 in Agents & Tool Use, #20 of 202 in Writing & Language, #71 of 149 in Vision & Documents. Strongest at: Tool calling, Reasoning, Science, Long context, Knowledge, Instructions.

Is GLM 5.2 better than GLM 5.1?›

On AutomationBench-AA, GLM 5.2 scores 28.4 vs 20.3 — higher. It is 71% more expensive per task.

How can I use GLM 5.2?›

Through the API of Alibaba, Ambient, AtlasCloud, Baidu, BaseTen and 18 more.

What is the context window of GLM 5.2?›

1M tokens, with up to 131K output tokens.

When was GLM 5.2 released? Is there a newer version?›

Released 2026-06-13. It has been superseded by GLM 5.3.

Is GLM 5.2 open source?›

Yes, the weights are open (MIT licence).

Can I run GLM 5.2 locally?›

The weights are open and can be self-hosted; hardware needs are not confirmed yet.

Can GLM 5.2 read images?›

No, it accepts text only.

What is GLM 5.2?›

GLM 5.2 is an open-weights language model from Z.ai, released Jun 2026, the successor to GLM 5.1.

What are the best alternatives to GLM 5.2?›

MiniMax M3.1 Flash (cheaper), GPT-6 Luna (better).