Model comparison
Claude Sonnet 4.5 vs GLM-4.7
Head-to-head evidence from 9 shared benchmark results across 5 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude Sonnet 4.5 #96 (Estimated); GLM-4.7 #42 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude Sonnet 4.5 and GLM-4.7 share 9 comparable benchmark results. 4 of 8 categories are comparable. 3 results are unique to Claude Sonnet 4.5; 21 to GLM-4.7.
Updated July 20, 2026- Shared results
- 9
- Claude Sonnet 4.5 only
- 3
- GLM-4.7 only
- 21
- Comparable categories
- 4 / 8
Pick GLM-4.7 if you want the stronger benchmark profile. Claude Sonnet 4.5 only becomes the better choice if knowledge is the priority or you would rather avoid the extra latency and token burn of a reasoning model.
Confidence note. This is a partial-evidence comparison with 9 shared benchmark results across 5 evidence categories; 4 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
GLM-4.7 is clearly ahead on the BenchAlign aggregate, 61.16 to 53.61. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Claude Sonnet 4.5 is also the more expensive model on tokens at $3.00 input / $15.00 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for GLM-4.7. That is roughly Infinityx on output cost alone. GLM-4.7 is the reasoning model in the pair, while Claude Sonnet 4.5 is not. That usually helps on harder chain-of-thought-heavy tests, but it can also mean more latency and more token spend in real use.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | Claude Sonnet 4.5 | Δ | GLM-4.7 |
|---|---|---|---|
| Knowledge | Claude Sonnet 4.583.4 | Margin← 31.6 | GLM-4.751.8 |
| Agentic | Claude Sonnet 4.555.4 | Margin← 9.7 | GLM-4.745.7 |
| Math | Claude Sonnet 4.511.2 | Margin← 9.4 | GLM-4.71.8 |
| Coding | Claude Sonnet 4.577.2 | Margin← 1.8 | GLM-4.775.4 |
| Reasoning | Claude Sonnet 4.513.6 | MarginNo overlap | GLM-4.7Not measured |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 13.495%B 2.439%Winner: Claude Sonnet 4.5Δ 11.1FrontierMath v2 (Tiers 1-3): Claude Sonnet 4.5 scored 13.495%; GLM-4.7 scored 2.439%. Claude Sonnet 4.5 wins this benchmark. - Source ↗
Terminal-Bench 2.0
AgenticA 50%B 41%Winner: Claude Sonnet 4.5Δ 9Terminal-Bench 2.0: Claude Sonnet 4.5 scored 50%; GLM-4.7 scored 41%. Claude Sonnet 4.5 wins this benchmark. - Source ↗
FrontierMath v2 (Tier 4)
MathA 4.167%B 0.000%Winner: Claude Sonnet 4.5Δ 4.2FrontierMath v2 (Tier 4): Claude Sonnet 4.5 scored 4.167%; GLM-4.7 scored 0.000%. Claude Sonnet 4.5 wins this benchmark. - Source ↗
SWE-bench Verified
CodingA 77.2%B 73.8%Winner: Claude Sonnet 4.5Δ 3.4SWE-bench Verified: Claude Sonnet 4.5 scored 77.2%; GLM-4.7 scored 73.8%. Claude Sonnet 4.5 wins this benchmark. - Source ↗
GPQA
KnowledgeA 83.4%B 85.7%Winner: GLM-4.7Δ 2.3GPQA: Claude Sonnet 4.5 scored 83.4%; GLM-4.7 scored 85.7%. GLM-4.7 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude Sonnet 4.5 | GLM-4.7 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude Sonnet 4.5$3 input / $15 output | GLM-4.7$0 input / $0 output | GLM-4.7 has the lower combined listed price. |
| Generation speedtokens per second | Claude Sonnet 4.5Not available | GLM-4.782 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude Sonnet 4.5Not available | GLM-4.71.10 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude Sonnet 4.5200K | GLM-4.7200K | Listed context windows are equal. |
Benchmark Deep Dive
AgenticClaude Sonnet 4.5 wins10 benchmarks
| Benchmark | Claude Sonnet 4.5 | GLM-4.7 | Result |
|---|---|---|---|
| Terminal-Bench 2.0Source | 50% | 41% | Claude Sonnet 4.5 leads |
| OSWorld-VerifiedSource | 61.4% | — | Not comparable |
| VITA-BenchSource | 17.0% | 15.5% | Claude Sonnet 4.5 leads |
| Gert LabsSource | 48.51% | 39.95% | Claude Sonnet 4.5 leads |
| JobBenchSource | 27.7% | — | Not comparable |
| BrowseCompSource | — | 52% | Not comparable |
| AA Agentic IndexSource | — | 25.4% | Not comparable |
| τ²-bench resultsSource | — | 95.9% | Not comparable |
| GDPval-AASource | — | 33.3% | Not comparable |
| GDPval-AASource | — | 1165 | Not comparable |
CodingClaude Sonnet 4.5 wins6 benchmarks
Reasoning3 benchmarks
KnowledgeClaude Sonnet 4.5 wins9 benchmarks
| Benchmark | Claude Sonnet 4.5 | GLM-4.7 | Result |
|---|---|---|---|
| GPQASource | 83.4% | 85.7% | GLM-4.7 leads |
| MMLU-ProSource | — | 84.3% | Not comparable |
| HLESource | — | 24.8% | Not comparable |
| Artificial Analysis Intelligence IndexSource | — | 33.7% | Not comparable |
| AA-GPQA DiamondSource | — | 85.9% | Not comparable |
| AA-HLESource | — | 25.1% | Not comparable |
| AA-Omniscience IndexSource | — | -34.6% | Not comparable |
| AA-Omniscience AccuracySource | — | 29.3% | Not comparable |
| AA-Omniscience Hallucination RateSource | — | 90.3% | Not comparable |
MathClaude Sonnet 4.5 wins3 benchmarks
Multimodal1 benchmarks
| Benchmark | Claude Sonnet 4.5 | GLM-4.7 | Result |
|---|---|---|---|
| Design Arena WebsiteSource | 1222 | 1258 | GLM-4.7 leads |
Inst. Following1 benchmarks
| Benchmark | Claude Sonnet 4.5 | GLM-4.7 | Result |
|---|---|---|---|
| AA-IFBenchSource | — | 67.9% | Not comparable |
Frequently Asked Questions (5)
Which is better, Claude Sonnet 4.5 or GLM-4.7?
GLM-4.7 is ahead on BenchLM's BenchAlign leaderboard, 61.16 to 53.61. The biggest single separator in this matchup is FrontierMath v2 (Tiers 1-3), where the scores are 13.495% and 2.439%.
Which is better for knowledge tasks, Claude Sonnet 4.5 or GLM-4.7?
Claude Sonnet 4.5 has the edge for knowledge tasks in this comparison, averaging 83.4 versus 51.8. Inside this category, GPQA is the benchmark that creates the most daylight between them.
Which is better for coding, Claude Sonnet 4.5 or GLM-4.7?
Claude Sonnet 4.5 has the edge for coding in this comparison, averaging 77.2 versus 75.4. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.
Which is better for math, Claude Sonnet 4.5 or GLM-4.7?
Claude Sonnet 4.5 has the edge for math in this comparison, averaging 11.2 versus 1.8. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.
Which is better for agentic tasks, Claude Sonnet 4.5 or GLM-4.7?
Claude Sonnet 4.5 has the edge for agentic tasks in this comparison, averaging 55.4 versus 45.7. Inside this category, Terminal-Bench 2.0 is the benchmark that creates the most daylight between them.
Related Comparisons
Choose a model with this week’s evidence
Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.
One email each week. Unsubscribe anytime.