Model Comparison 2026

GLM 4.7 vs GLM 5.2

GLM 4.7
Z.AI · Balanced · Open weights
$0.81/1M · 203K ctx
GLM 5.2
Z.AI · Frontier · Open weights
$1.61/1M · 1.0M ctx

Community Vote

Pick a winner in each dimension — change your vote anytime.

Output Quality
Correctness and depth of what it produces
Agentic Ability
Tool calls, instruction-following, and multi-step tasks
Speed
Tokens per second and time-to-first-token
Value for $
How much capability you get per dollar
Reliability
Consistent results — fewer refusals, loops, and format breaks

Specs & Pricing, Side by Side

Spec
GLM 4.7
GLM 5.2
Maker
Z.AI
Z.AI
Blended price / 1M
$0.81
$1.61
Input / output
$0.40 in · $1.75 out / 1M tokens
$0.98 in · $3.08 out / 1M tokens
Context window
203K
1.0M
Open weights
Yes
Yes
Tool use
Yes
Yes
Reasoning
Yes
Yes
Output Quality
8.0
9.0
Agentic Ability
8.2
9.2
Speed
8.0
7.6
Value for $
8.9
8.8
Reliability
8.6
8.7

Pricing and capabilities synced from the OpenRouter catalogue. Scores are editorial (0–10).

Verdict: GLM 4.7 or GLM 5.2?

Updated 2026-06-22

Choose GLM 4.7 if you want gLM users wanting a small step up from 4.6. Choose GLM 5.2 if you want open-weight coding agents that want a long context.

In our editorial scoring, GLM 5.2 leads in 3 of five dimensions (output quality, agentic ability and reliability), while GLM 4.7 leads in 2. On price, GLM 4.7 runs about $0.81 per 1M tokens (blended) and is open-weight; GLM 5.2 is about $1.61 and open-weight.

Where GLM 4.7 falls short
  • Incremental over 4.6
  • 202K context
Full GLM 4.7 breakdown →
Where GLM 5.2 falls short
  • Just behind the closed flagships on hard tasks
  • Hosted throughput varies
Full GLM 5.2 breakdown →

The model is half the story — the agent is the other half

The model picks the moves; the agent runs the loop, the tools, and the guardrails. Once you've chosen a model, see which agent gets the most out of it.

Compare AI agents →

Related comparisons

Opus 4.8 vs GLM 5.2GLM 5.2 vs GPT-5.5Gemini 3.1 Pro vs GLM 5.2GLM 5.2 vs Qwen3.7 MaxDeepSeek V4 Pro vs GLM 5.2GLM 5.2 vs Kimi K2.6GLM 5.2 vs Grok 4.3GLM 5.2 vs Grok 4.20