# Claude Sonnet 5 vs GLM-4.7

> Side-by-side benchmark comparison for Claude Sonnet 5 and GLM-4.7 across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/claude-sonnet-5-vs-glm-4-7
- Last updated: September 29, 2026

- Shared sourced benchmarks: 7
- HTML indexing: indexable
- Ranking lane: BenchAlign v5.7

## Quick Verdict

Pick Claude Sonnet 5 if you want the stronger benchmark profile. GLM-4.7 only makes more sense when its price, context window, or workload-specific category wins matter more than the overall score.

## Summary

- Claude Sonnet 5 leads overall 66.99 to 49.2.
- The clearest category separation is in agentic, where the averages are 64.6 for Claude Sonnet 5 and 27.4 for GLM-4.7.
- The biggest single benchmark swing is BrowseComp in Agentic, with scores of 84.7% and 52%.
- GLM-4.7 is the cheaper option on output tokens, which matters if you expect large responses or heavy interactive use.
- Claude Sonnet 5 also has the larger context window at 1M.

## Model Snapshot

| Property | Claude Sonnet 5 | GLM-4.7 |
|----------|----------|----------|
| Creator | Anthropic | Z.AI |
| Type | Proprietary | Open Weight |
| Reasoning | Reasoning | Reasoning |
| Context | 1M | 200K |
| Overall Score | 66.99 | 49.2 |
| Benchmarks Covered | 26 | 17 |
| Pricing (input/output) | $2.00 / $10.00 | $0.00 / $0.00 |

## Category Breakdown

### Agentic

- Winner: Directional only
- Claude Sonnet 5 public-lane score: 64.6 (Supported · #12/117)
- GLM-4.7 public-lane score: 27.4 (Estimated · #88/117)

| Benchmark | Claude Sonnet 5 | GLM-4.7 | Winner |
|-----------|-----------|-----------|--------|
| Terminal-Bench 3.0 | 14.6% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| BrowseComp | 84.7% | 52% | Claude Sonnet 5 |
| HLE w/ tools | 57.4% | Coming soon | Coming soon |
| OSWorld-Verified | 81.2% | Coming soon | Coming soon |
| Terminal-Bench 2.1 (Vals) | 74.5% | Coming soon | Coming soon |
| ApprenticeBench | 16% | Coming soon | Coming soon |
| Terminal-Bench 2.0 | Coming soon | 41% | Coming soon |
| VITA-Bench | Coming soon | 15.5% | Coming soon |
| Gert Labs | Coming soon | 39.95% | Coming soon |

### Coding

- Winner: Claude Sonnet 5
- Claude Sonnet 5 public-lane score: 59.8 (Supported · #19/142)
- GLM-4.7 public-lane score: 39.4 (Supported · #62/142)

| Benchmark | Claude Sonnet 5 | GLM-4.7 | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 85.2% | 73.8% | Claude Sonnet 5 |
| SWE-bench Pro | 63.2% | Coming soon | Coming soon |
| SWE Multilingual | 78.3% | Coming soon | Coming soon |
| SWE Multimodal | 28.1% | Coming soon | Coming soon |
| Terminal-Bench 2.1 | 80.4% | Coming soon | Coming soon |
| FrontierCode 1.1 Main | 42.7% | Coming soon | Coming soon |
| cursorBench32 | 61.5% | Coming soon | Coming soon |
| VulcanBench CII v1 | 89.2% | Coming soon | Coming soon |
| LiveCodeBench (Vals) | 82.4% | 82.2% | Claude Sonnet 5 |
| SWE-bench (Vals) | 79.6% | 69.4% | Claude Sonnet 5 |
| cursorBench40 | 34.1% | Coming soon | Coming soon |
| LiveCodeBench | Coming soon | 84.9% | Coming soon |
| SWE-Rebench | Coming soon | 58.7% | Coming soon |

### Reasoning

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: 78.7 (Unranked · 2 rankable rows)
- GLM-4.7 public-lane score: 71.1 (Unranked · 2 rankable rows)

### Multimodal & Grounded

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: 78.4 (#15/50)
- GLM-4.7 public-lane score: Coming soon

| Benchmark | Claude Sonnet 5 | GLM-4.7 | Winner |
|-----------|-----------|-----------|--------|
| CharXiv | 88.3% | Coming soon | Coming soon |
| CharXiv w/o tools | 77% | Coming soon | Coming soon |

### Knowledge

- Winner: Claude Sonnet 5
- Claude Sonnet 5 public-lane score: 64.5 (Supported · #26/168)
- GLM-4.7 public-lane score: 40.7 (Supported · #97/168)

| Benchmark | Claude Sonnet 5 | GLM-4.7 | Winner |
|-----------|-----------|-----------|--------|
| HLE | 57.4% | 24.8% | Claude Sonnet 5 |
| HLE w/o tools | 43.2% | Coming soon | Coming soon |
| HLE-Verified | 31.0% | Coming soon | Coming soon |
| LABBench2 | 80.1% | Coming soon | Coming soon |
| GPQA Diamond (Vals) | 88.9% | 80.1% | Claude Sonnet 5 |
| MMLU-Pro (Vals) | 87.5% | 82.7% | Claude Sonnet 5 |
| GPQA | Coming soon | 85.7% | Coming soon |
| MMLU-Pro | Coming soon | 84.3% | Coming soon |

### Instruction Following

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: Coming soon
- GLM-4.7 public-lane score: 81.4 (#51/124)

### Mathematics

- Winner: Not comparable
- Claude Sonnet 5 public-lane score: Coming soon
- GLM-4.7 public-lane score: 25.8 (Unranked · 2 rankable rows)

| Benchmark | Claude Sonnet 5 | GLM-4.7 | Winner |
|-----------|-----------|-----------|--------|
| AIME 2025 | Coming soon | 95.7% | Coming soon |
| FrontierMath v2 (Tiers 1-3) | Coming soon | 2.439% | Coming soon |
| FrontierMath v2 (Tier 4) | Coming soon | 0.000% | Coming soon |

## FAQ

### Which is better overall, Claude Sonnet 5 or GLM-4.7?

Claude Sonnet 5 is ahead overall on BenchLM right now.

### Where is the biggest gap between Claude Sonnet 5 and GLM-4.7?

The widest category gap is in agentic, where the averages are 64.6 for Claude Sonnet 5 and 27.4 for GLM-4.7.

### How many benchmarks does Claude Sonnet 5 cover on BenchLM?

Claude Sonnet 5 currently has 26 sourced benchmark scores on BenchLM.

### How many benchmarks does GLM-4.7 cover on BenchLM?

GLM-4.7 currently has 17 sourced benchmark scores on BenchLM.

## Related Comparisons

- [Claude Sonnet 5 vs GPT-6 Astra](/compare/claude-sonnet-5-vs-gpt-6-astra)
- [GLM-4.7 vs GPT-6 Astra](/compare/glm-4-7-vs-gpt-6-astra)
- [Claude Sonnet 5 vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-claude-sonnet-5)
- [GLM-4.7 vs Claude Opus 5.5](/compare/claude-opus-5-5-vs-glm-4-7)

## Explore More

- [Claude Sonnet 5 profile](/models/claude-sonnet-5)
- [GLM-4.7 profile](/models/glm-4-7)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
