Model comparison

Claude Sonnet 5 vs GLM-4.7-Flash

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 38.8 on the Noometry Index. GLM-4.7-Flash costs 28× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Last verified . 20 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

GLM-4.7-Flash Z.ai (Zhipu)

38.8

Rank #180 Confirmed

Summary

  • They share 20 benchmarks with published results for both. Claude Sonnet 5 scores higher in 8 categories and GLM-4.7-Flash in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Claude Sonnet 5 leads 66.2 to 36.1.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 94.7% for Claude Sonnet 5 and 58.3% for GLM-4.7-Flash.
  • GLM-4.7-Flash is cheaper at $0.06 / $0.40 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 200K.
  • GLM-4.7-Flash has downloadable open weights; the other is API-only.

Side by side

Claude Sonnet 5 and GLM-4.7-Flash specifications
Claude Sonnet 5GLM-4.7-Flash
ProviderAnthropicZ.ai (Zhipu)
Noometry Index54.638.8
Released2026-06-292026-01-19
WeightsProprietaryOpen
Context window1M200K
Max output128K131K
Input $ / M tokens$2$0.06
Output $ / M tokens$10$0.40
Results tracked5121

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Sonnet 5 leads

Claude Sonnet 5: 55.5 (#26), GLM-4.7-Flash: 40.6 (#135)

Coding benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Coding14831383
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
LMArena WebDev1541—
SciCode54.3%—
GSO37.3%—
WeirdML68.8%—
ALE-Bench1,463—

Agentic & Tool Use Not comparable

Claude Sonnet 5: 42.8 (#18), GLM-4.7-Flash: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Claude Sonnet 5 leads

Claude Sonnet 5: 49.1 (#39), GLM-4.7-Flash: 20.9 (#229)

Reasoning benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
Chess Puzzles35%0%
LMArena Hard Prompts14611356
SimpleBench60.6%—
NYT Connections (extended)75.1%—
CritPt16.9%—
Mystery Game Puzzles35%—
DTBench92.5%—
LMCA50%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
Epoch Capabilities Index156.21—
ForecastBench61.1—

Math Claude Sonnet 5 leads

Claude Sonnet 5: 66.2 (#27), GLM-4.7-Flash: 36.1 (#173)

Math benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
OTIS Mock AIME 2024-202594.7%58.3%
LMArena Math14671355
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
ProofBench77%—

Knowledge Claude Sonnet 5 leads

Claude Sonnet 5: 55.6 (#47), GLM-4.7-Flash: 35.5 (#184)

Knowledge benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
GPQA Diamond90.5%60.5%
LMArena Expert14901357
SimpleQA Verified33.7%—
Vectara Hallucination Rate—9.3%

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#31), GLM-4.7-Flash: —

Multimodal benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Vision1274—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Claude Sonnet 5 leads

Claude Sonnet 5: 53.8 (#55), GLM-4.7-Flash: 46.5 (#158)

Multilingual benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Non-English14311330
LMArena Chinese14771403
LMArena French14601332
LMArena German14401337
LMArena Korean14111283
LMArena Russian14511332
LMArena Spanish14371350
LMArena Japanese1422—

Instruction Following Claude Sonnet 5 leads

Claude Sonnet 5: 76.3 (#41), GLM-4.7-Flash: 70.1 (#167)

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Instruction Following14521327

Long Context Claude Sonnet 5 leads

Claude Sonnet 5: 44.8 (#55), GLM-4.7-Flash: 40.9 (#148)

Long Context benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Longer Query14631345

Writing & Preference Claude Sonnet 5 leads

Claude Sonnet 5: 69.2 (#25), GLM-4.7-Flash: 47.4 (#210)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GLM-4.7-Flash
LMArena Text14421351
LMArena Creative Writing14161297
EQ-Bench Creative Writing17941125
LMArena Multi-Turn14541342
EQ-Bench 41236—

Frequently asked questions

Is Claude Sonnet 5 better than GLM-4.7-Flash?

Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 38.8 on the Noometry Index. GLM-4.7-Flash costs 28× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.

Which is cheaper, Claude Sonnet 5 or GLM-4.7-Flash?

GLM-4.7-Flash is cheaper. It lists at $0.06 per million input tokens and $0.40 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

Is Claude Sonnet 5 or GLM-4.7-Flash better for coding?

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 40.6 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 200K.

How many benchmarks do Claude Sonnet 5 and GLM-4.7-Flash share?

20 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GLM-4.7-Flash has 21.

Related comparisons

Go deeper