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.
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 | GLM-4.7-Flash | |
|---|---|---|
| Provider | Anthropic | Z.ai (Zhipu) |
| Noometry Index | 54.6 | 38.8 |
| 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 (#26), GLM-4.7-Flash: 40.6 (#135)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Coding | 1483 | 1383 |
| DeepSWE | 53.8% | — |
| FrontierCode | 42.7% | — |
| CursorBench | 34.1% | — |
| LMArena WebDev | 1541 | — |
| SciCode | 54.3% | — |
| GSO | 37.3% | — |
| WeirdML | 68.8% | — |
| ALE-Bench | 1,463 | — |
Agentic & Tool Use Not comparable
Claude Sonnet 5: 42.8 (#18), 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: 49.1 (#39), GLM-4.7-Flash: 20.9 (#229)
| 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.21 | — |
| ForecastBench | 61.1 | — |
Math Claude Sonnet 5 leads
Claude Sonnet 5: 66.2 (#27), GLM-4.7-Flash: 36.1 (#173)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 94.7% | 58.3% |
| LMArena Math | 1467 | 1355 |
| FrontierMath (Tiers 1-3) | 65.6% | — |
| FrontierMath Tier 4 | 29.3% | — |
| ProofBench | 77% | — |
Knowledge Claude Sonnet 5 leads
Claude Sonnet 5: 55.6 (#47), GLM-4.7-Flash: 35.5 (#184)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| GPQA Diamond | 90.5% | 60.5% |
| LMArena Expert | 1490 | 1357 |
| SimpleQA Verified | 33.7% | — |
| Vectara Hallucination Rate | — | 9.3% |
Multimodal Not comparable
Claude Sonnet 5: 42.4 (#31), GLM-4.7-Flash: —
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Vision | 1274 | — |
| Blueprint-Bench 2 | 24.9% | — |
| LMArena Document | 1466 | — |
Multilingual Claude Sonnet 5 leads
Claude Sonnet 5: 53.8 (#55), GLM-4.7-Flash: 46.5 (#158)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Non-English | 1431 | 1330 |
| LMArena Chinese | 1477 | 1403 |
| LMArena French | 1460 | 1332 |
| LMArena German | 1440 | 1337 |
| LMArena Korean | 1411 | 1283 |
| LMArena Russian | 1451 | 1332 |
| LMArena Spanish | 1437 | 1350 |
| LMArena Japanese | 1422 | — |
Instruction Following Claude Sonnet 5 leads
Claude Sonnet 5: 76.3 (#41), GLM-4.7-Flash: 70.1 (#167)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Instruction Following | 1452 | 1327 |
Long Context Claude Sonnet 5 leads
Claude Sonnet 5: 44.8 (#55), GLM-4.7-Flash: 40.9 (#148)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Longer Query | 1463 | 1345 |
Writing & Preference Claude Sonnet 5 leads
Claude Sonnet 5: 69.2 (#25), GLM-4.7-Flash: 47.4 (#210)
| Benchmark | Claude Sonnet 5 | GLM-4.7-Flash |
|---|---|---|
| LMArena Text | 1442 | 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.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.