█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

GLM-5.2 vs GLM-5.1

Short answer

GLM-5.2 scores higher on 4 of the 4 benchmarks both models report; both charge the same $1.4 per 1M input tokens; GLM-5.2 has the larger context window (1M vs 200K).

Specs and pricing side by side

SpecGLM-5.2GLM-5.1
MakerZ.ai (Zhipu / GLM)Z.ai (Zhipu / GLM)same
Released2026-06-162026-04-07
Context window1M200K
Max output128K128Ksame
Input price$1.40$1.40 / 1M tokens
Output price$4.40$4.40 / 1M tokens
Parameters744B total · 40B active~754B total, 40B active (MoE)
LicenseMITMITsame
WeightsOpen weightsOpen weightssame
ModalitiesTextTextsame

Not published by either maker: knowledge cutoff.

Benchmarks both models report

BenchmarkGLM-5.2GLM-5.1
AIME 202699.2%95.3%
GPQA-Diamond91.2%86.2%
SWE-bench Pro62.1%58.4%
MCP-Atlas76.8%71.8%

Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.

Which one should you pick?

Pick GLM-5.2 if…

  • You care about AIME 2026, GPQA-Diamond, SWE-bench Pro (it scores higher on 4 shared benchmarks).
  • You need the longer context (1M vs 200K).
  • Your use case is: long-horizon, project-scale coding agents over large repositories.

Pick GLM-5.1 if…

  • Your use case is: long-running autonomous coding agents that plan, execute and self-correct over many iterations.

FAQ

Which is better, GLM-5.2 or GLM-5.1?

GLM-5.2 scores higher on 4 of the 4 benchmarks both models report; both charge the same $1.4 per 1M input tokens; GLM-5.2 has the larger context window (1M vs 200K). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.

How do GLM-5.2 and GLM-5.1 pricing compare?

GLM-5.2: $1.40 input, $4.40 output. GLM-5.1: $1.40 / 1M tokens input, $4.40 / 1M tokens output (list API prices as published by each maker).

What are the context windows of GLM-5.2 and GLM-5.1?

GLM-5.2 offers 1M with up to 128K output; GLM-5.1 offers 200K with up to 128K output.

Is GLM-5.2 newer than GLM-5.1?

GLM-5.2 was released 2026-06-16; GLM-5.1 was released 2026-04-07.

Go deeper