LLMcompare

Search

Search for a command to run...

A · open · GLM

GLM-4.7

Zhipu AI

B · open · GLM

GLM-5.1

Zhipu AI

2:11

overall capability wins (0 ties across 13 scored). GLM-5.1 leads overall.

  • Reasoning1:5
  • Coding1:2
  • Arena0:1
  • Tool use0:1
  • Pricing3:0
  • Specs0:2

Verdict

GLM-5.1 leads coding (widest gap: +73.6 on WebDev Elo); GLM-5.1 ranks higher on LMArena (+24 Elo); GLM-5.1 offers ~1.6x larger context (203K vs 128K).

  • GLM-5.1 leads coding (widest gap: +73.6 on WebDev Elo)
  • GLM-5.1 ranks higher on LMArena (+24 Elo)
  • GLM-5.1 offers ~1.6x larger context (203K vs 128K)
  • GLM-5.1 allows ~7.8x more max output (128K vs 16K)
  • GLM-4.7 is ~6.1x cheaper on a blended token basis than GLM-5.1

Cost for 1M in + 250K out

Illustrative chat workload at primary-provider list prices.

GLM-4.7
$0.40
GLM-5.1
$2.50

GLM-4.7 is about 6.3x 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

Apr 7, 2026

Knowledge cutoff

-

-

API / provider

Zhipu / Z.ai

Zhipu / Z.ai

Modalities

text → text

text → text

Specs

Context window

128K

203K

B +75K

Max output

16K

128K

B +112K

Parameters

—

744B (40B act.)

—

Pricing

Input $/1M

$0.20

$1.40

A +$1.20

Output $/1M

$0.80

$4.40

A +$3.60

Blended $/1M (3∶1)

$0.35

$2.15

A +$1.80

Speed

tok/s

90

-

—

TTFT (s)

0.3

-

—

Reasoning

MMLU-Pro

—

—

—

GPQA Diamond

85.9

86.8

B +0.9 pts

Humanity's Last Exam

27.4

30.1

B +2.7 pts

AIME 2025

—

—

—

MATH-500

—

—

—

Humanity's Last Exam (with tools)

—

—

—

AA-Omniscience Accuracy

29.3

23.7

A +5.6 pts

AA-LCR v1.1

71.0

73.7

B +2.7 pts

CritPt

1.7

4.6

B +2.9 pts

MMMU-Pro

—

—

—

IFBench

67.9

76.3

B +8.4 pts

Chartography

—

—

—

Chartography (With Tools)

—

—

—

Coding

SWE-bench Verified

—

—

—

SWE-bench Pro

—

—

—

SWE-bench Multilingual

—

—

—

LiveCodeBench

—

—

—

Terminal-Bench 2.1

45.3

61.8

B +16.5 pts

Aider Polyglot

—

—

—

Terminal-Bench 3

—

—

—

BigCodeBench

—

—

—

SciCode

45.1

44.8

A +0.3 pts

CursorBench

—

—

—

SWE-Rebench

45.5

—

—

NL2Repo-Bench

—

—

—

DeepSWE

—

—

—

WebDev Arena

1,435

1,508

B +74 Elo

Terminal-Bench 4.0

—

—

—

CursorBench 4.0

—

—

—

FrontierCode v1.1 (Main)

—

—

—

Arena

LMArena Elo

1,442

1,466

B +24 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.1

Context
203K / 128K out
Parameters
744B (40B act.)
Price
$1.40 / $4.40
Speed
—
Modalities
text → text
License
MIT

Zhipu's April 2026 refinement of the GLM-5 744B MoE (40B active) flagship for agentic engineering — MIT open weights, ~200K context, 128K max output. Benchmark figures here are Artificial Analysis and LMArena leaderboard snapshots, not Zhipu's own launch numbers.

Benchmark charts

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

Reasoning & knowledge

GPQA: B +0.9HLE: B +2.7CritPt: B +2.9AA-LCR: B +2.7Omniscience Acc.: A +5.6IFBench: B +8.4

Coding

TermBench: B +16.5SciCode: A +0.3WebDev Elo: B +74

Tool use & function calling

τ³-Banking: B +1.4

Arena

Arena Elo: B +24

Pick a different pair · Back to catalog