Model comparison
Claude Sonnet 5 vs GLM-4.7-Flash
Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 38.4 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.
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.1 to 34.4.
- 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 | GLM-4.7-Flash | |
|---|---|---|
| Provider | Anthropic | Z.ai (Zhipu) |
| Noometry Index | 54.5 | 38.4 |
| Released | 2026-06-29 | 2026-01-19 |
| Weights | Proprietary | Open |
| Context window | 1M | 200K |
| Max output | 128K | 131K |
| Input $ / M tokens | $2 | $0.06 |
| Output $ / M tokens | $10 | $0.40 |
| Results tracked | 51 | 21 |
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 (#20), GLM-4.7-Flash: 40.0 (#133)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Coding | 1483 | 1383 |
| DeepSWE | 53.8% | — |
| FrontierCode | 42.7% | — |
| CursorBench | 34.1% | — |
| LMArena WebDev | 1540 | — |
| SciCode | 53.6% | — |
| GSO | 37.3% | — |
| WeirdML | 68.8% | — |
| ALE-Bench | 1,463 | — |
Agentic & Tool Use Not comparable
Claude Sonnet 5: 42.7 (#16), GLM-4.7-Flash: —
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| APEX-Agents | 54.5% | — |
| GBAEval | 65.3% | — |
| LMArena Search | 1194 | — |
| Vending-Bench 2 | 6,378 | — |
Reasoning Claude Sonnet 5 leads
Claude Sonnet 5: 48.2 (#37), GLM-4.7-Flash: 20.2 (#224)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| Chess Puzzles | 35% | 0% |
| LMArena Hard Prompts | 1461 | 1356 |
| SimpleBench | 60.6% | — |
| NYT Connections (extended) | 75.1% | — |
| CritPt | 16.9% | — |
| Mystery Game Puzzles | 35% | — |
| DTBench | 92.5% | — |
| LMCA | 50% | — |
| Surface Evolver Bench | 60% | — |
| Bench to the Future 3 | 0.14 | — |
| Epoch Capabilities Index | 156.34 | — |
| ForecastBench | 61.1 | — |
Math Claude Sonnet 5 leads
Claude Sonnet 5: 66.1 (#21), GLM-4.7-Flash: 34.4 (#159)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 94.7% | 58.3% |
| LMArena Math | 1467 | 1354 |
| FrontierMath (Tiers 1-3) | 65.6% | — |
| FrontierMath Tier 4 | 29.3% | — |
| ProofBench | 77% | — |
Knowledge Claude Sonnet 5 leads
Claude Sonnet 5: 55.7 (#42), GLM-4.7-Flash: 35.4 (#177)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| GPQA Diamond | 90.5% | 60.5% |
| LMArena Expert | 1491 | 1357 |
| SimpleQA Verified | 33.7% | — |
| Vectara Hallucination Rate | — | 9.3% |
Multimodal Not comparable
Claude Sonnet 5: 42.4 (#26), GLM-4.7-Flash: —
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Vision | 1275 | — |
| Blueprint-Bench 2 | 24.9% | — |
| LMArena Document | 1466 | — |
Multilingual Claude Sonnet 5 leads
Claude Sonnet 5: 54.0 (#55), GLM-4.7-Flash: 46.8 (#152)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Non-English | 1431 | 1331 |
| LMArena Chinese | 1475 | 1403 |
| LMArena French | 1457 | 1332 |
| LMArena German | 1448 | 1336 |
| LMArena Korean | 1411 | 1284 |
| LMArena Russian | 1452 | 1333 |
| LMArena Spanish | 1436 | 1351 |
| LMArena Japanese | 1422 | — |
Instruction Following Claude Sonnet 5 leads
Claude Sonnet 5: 76.6 (#39), GLM-4.7-Flash: 70.3 (#162)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Instruction Following | 1453 | 1327 |
Long Context Claude Sonnet 5 leads
Claude Sonnet 5: 44.8 (#53), GLM-4.7-Flash: 40.9 (#143)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Longer Query | 1464 | 1345 |
Writing & Preference Claude Sonnet 5 leads
Claude Sonnet 5: 69.4 (#24), GLM-4.7-Flash: 47.7 (#206)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Text | 1443 | 1351 |
| LMArena Creative Writing | 1416 | 1297 |
| EQ-Bench Creative Writing | 1794 | 1125 |
| LMArena Multi-Turn | 1454 | 1342 |
| EQ-Bench 4 | 1236 | — |
Frequently asked questions
Is Claude Sonnet 5 better than GLM-4.7-Flash?
Claude Sonnet 5 is the stronger model overall, scoring 54.5 to 38.4 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.0 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.