█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

GLM-5 vs GLM-4.7

Short answer

GLM-5 scores higher on 1 of the 1 benchmarks both models report; GLM-5 is cheaper on input tokens ($1 vs $1.4 per 1M, 1.4×).

Specs and pricing side by side

SpecGLM-5GLM-4.7
MakerZ.ai (Zhipu / GLM)Z.ai (Zhipu / GLM)same
Released2026-02-112025-12-22
Context window200K200Ksame
Max output128K128Ksame
Input price$1.00 / 1M tokens$1.40 / 1M tokens
Output price$3.20 / 1M tokens$2.20 / 1M tokens
Parameters744B total / 40B active (MoE)355B total / 32B active (MoE)
LicenseMITMITsame
WeightsOpen weightsOpen weightssame
ModalitiesTextTextsame

Not published by either maker: knowledge cutoff.

Benchmarks both models report

BenchmarkGLM-5GLM-4.7
SWE-bench Verified77.8%73.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 if…

  • You care about SWE-bench Verified (it scores higher on 1 shared benchmark).
  • Cost matters: input tokens cost 1.4× less ($1 vs $1.4 per 1M).
  • Your use case is: autonomous coding agents that plan, edit across many files, run tests and iterate on fixes.

Pick GLM-4.7 if…

  • Your use case is: autonomous and semi-autonomous coding agents that resolve real GitHub issues across multiple files.

FAQ

Which is better, GLM-5 or GLM-4.7?

GLM-5 scores higher on 1 of the 1 benchmarks both models report; GLM-5 is cheaper on input tokens ($1 vs $1.4 per 1M, 1.4×). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.

How much cheaper is GLM-5?

GLM-5: $1.00 / 1M tokens input, $3.20 / 1M tokens output. GLM-4.7: $1.40 / 1M tokens input, $2.20 / 1M tokens output (list API prices as published by each maker).

What are the context windows of GLM-5 and GLM-4.7?

GLM-5 offers 200K with up to 128K output; GLM-4.7 offers 200K with up to 128K output.

Is GLM-5 newer than GLM-4.7?

GLM-5 was released 2026-02-11; GLM-4.7 was released 2025-12-22.

Go deeper