LLMcompare

Search

Search for a command to run...

A · open · GLM

GLM-4.7

Zhipu AI

B · open · GLM

GLM-5

Zhipu AI

2:10

overall capability wins (0 ties across 12 scored). GLM-5 leads overall.

  • Reasoning2:4
  • Coding0:3
  • Arena0:1
  • Pricing3:0
  • Speed2:0
  • Specs0:2

Verdict

GLM-5 leads coding (widest gap: +7.8 on SWE-Rebench); GLM-5 ranks higher on LMArena (+16 Elo); GLM-5 offers ~1.6x larger context (200K vs 128K).

  • GLM-5 leads coding (widest gap: +7.8 on SWE-Rebench)
  • GLM-5 ranks higher on LMArena (+16 Elo)
  • GLM-5 offers ~1.6x larger context (200K vs 128K)
  • GLM-5 allows ~2.0x more max output (33K vs 16K)
  • GLM-4.7 is ~1.7x cheaper on a blended token basis than GLM-5

Cost for 1M in + 250K out

Illustrative chat workload at primary-provider list prices.

GLM-4.7
$0.40
GLM-5
$0.70

GLM-4.7 is about 1.7x cheaper on this workload.

Price per 1M tokens

Full comparison

Organization

Zhipu AI

Zhipu AI

Family

GLM

GLM

License

MIT

MIT

Open weights

Yes

Yes

Release

Dec 1, 2025

Feb 1, 2026

Knowledge cutoff

-

-

API / provider

Zhipu / Z.ai

Zhipu / Z.ai

Modalities

text → text

text → text

Specs

Context window

128K

200K

B +72K

Max output

16K

33K

B +16K

Parameters

—

—

—

Pricing

Input $/1M

$0.20

$0.40

A +$0.20

Output $/1M

$0.80

$1.20

A +$0.40

Blended $/1M (3∶1)

$0.35

$0.60

A +$0.25

Speed

tok/s

90

80

A +10

TTFT (s)

0.3

0.35

A +0.05

Reasoning

MMLU-Pro

—

—

—

GPQA Diamond

85.9

82.0

A +3.9 pts

Humanity's Last Exam

27.4

29.3

B +1.9 pts

AIME 2025

—

—

—

MATH-500

—

—

—

Humanity's Last Exam (with tools)

—

—

—

AA-Omniscience Accuracy

29.3

26.3

A +3.0 pts

AA-LCR v1.1

71.0

75.7

B +4.7 pts

CritPt

1.7

2.0

B +0.3 pts

MMMU-Pro

—

—

—

IFBench

67.9

72.3

B +4.4 pts

Chartography

—

—

—

Chartography (With Tools)

—

—

—

Coding

SWE-bench Verified

—

72.8

—

SWE-bench Pro

—

—

—

SWE-bench Multilingual

—

69.7

—

LiveCodeBench

—

—

—

Terminal-Bench 2.1

45.3

—

—

Aider Polyglot

—

—

—

Terminal-Bench 3

—

—

—

BigCodeBench

—

—

—

SciCode

45.1

46.2

B +1.1 pts

CursorBench

—

—

—

SWE-Rebench

45.5

53.3

B +7.8 pts

NL2Repo-Bench

—

—

—

DeepSWE

—

—

—

WebDev Arena

1,435

1,436

B +1 Elo

Terminal-Bench 4.0

—

—

—

CursorBench 4.0

—

—

—

FrontierCode v1.1 (Main)

—

—

—

Arena

LMArena Elo

1,442

1,458

B +16 Elo

GLM-4.7

Context
128K / 16K out
Parameters
—
Price
$0.20 / $0.80
Speed
90 tok/s · 0.3s TTFT
Modalities
text → text
License
MIT

Prior GLM-4.x open checkpoint still useful for cost-sensitive bilingual apps.

GLM-5

Context
200K / 33K out
Parameters
—
Price
$0.40 / $1.20
Speed
80 tok/s · 0.35s TTFT
Modalities
text → text
License
MIT

GLM-5 open release - solid all-rounder before the 5.2 bump.

Benchmark charts

Winner bars are emphasized. Per-benchmark deltas sit above each chart.

Reasoning & knowledge

GPQA: A +3.9HLE: B +1.9CritPt: B +0.3AA-LCR: B +4.7Omniscience Acc.: A +3.0IFBench: B +4.4

Coding

SciCode: B +1.1SWE-Rebench: B +7.8WebDev Elo: B +1

Arena

Arena Elo: B +16

Pick a different pair · Back to catalog