Model comparison
Claude Sonnet 4.6 vs GLM-4.7
Head-to-head evidence from 21 shared benchmark results across 7 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude Sonnet 4.6 #32 (Supported); GLM-4.7 #42 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude Sonnet 4.6 and GLM-4.7 share 21 comparable benchmark results. 4 of 8 categories are comparable. 12 results are unique to Claude Sonnet 4.6; 9 to GLM-4.7.
Updated July 20, 2026- Shared results
- 21
- Claude Sonnet 4.6 only
- 12
- GLM-4.7 only
- 9
- Comparable categories
- 4 / 8
Pick Claude Sonnet 4.6 if you want the stronger benchmark profile. GLM-4.7 only becomes the better choice if coding is the priority or you want the cheaper token bill.
Confidence note. This is a partial-evidence comparison with 21 shared benchmark results across 7 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
Claude Sonnet 4.6 is clearly ahead on the BenchAlign aggregate, 65.07 to 61.16. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Claude Sonnet 4.6's sharpest advantage is in mathematics, where it averages 26.4 against 1.8. The single biggest benchmark swing on the page is FrontierMath v2 (Tiers 1-3), 32.400% to 2.439%. GLM-4.7 does hit back in coding, so the answer changes if that is the part of the workload you care about most.
Claude Sonnet 4.6 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.6 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.6 | Δ | GLM-4.7 |
|---|---|---|---|
| Math | Claude Sonnet 4.626.4 | Margin← 24.6 | GLM-4.71.8 |
| Agentic | Claude Sonnet 4.665.2 | Margin← 19.5 | GLM-4.745.7 |
| Knowledge | Claude Sonnet 4.666.0 | Margin← 14.2 | GLM-4.751.8 |
| Coding | Claude Sonnet 4.669.1 | Margin→ 6.3 | GLM-4.775.4 |
| Multimodal | Claude Sonnet 4.677.4 | 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 32.400%B 2.439%Winner: Claude Sonnet 4.6Δ 30FrontierMath v2 (Tiers 1-3): Claude Sonnet 4.6 scored 32.400%; GLM-4.7 scored 2.439%. Claude Sonnet 4.6 wins this benchmark. - Source ↗
HLE
KnowledgeA 49%B 24.8%Winner: Claude Sonnet 4.6Δ 24.2HLE: Claude Sonnet 4.6 scored 49%; GLM-4.7 scored 24.8%. Claude Sonnet 4.6 wins this benchmark. - Source ↗
Terminal-Bench 2.0
AgenticA 59.1%B 41%Winner: Claude Sonnet 4.6Δ 18.1Terminal-Bench 2.0: Claude Sonnet 4.6 scored 59.1%; GLM-4.7 scored 41%. Claude Sonnet 4.6 wins this benchmark. - Source ↗
FrontierMath v2 (Tier 4)
MathA 8.300%B 0.000%Winner: Claude Sonnet 4.6Δ 8.3FrontierMath v2 (Tier 4): Claude Sonnet 4.6 scored 8.300%; GLM-4.7 scored 0.000%. Claude Sonnet 4.6 wins this benchmark. - Source ↗
SWE-bench Verified
CodingA 79.6%B 73.8%Winner: Claude Sonnet 4.6Δ 5.8SWE-bench Verified: Claude Sonnet 4.6 scored 79.6%; GLM-4.7 scored 73.8%. Claude Sonnet 4.6 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude Sonnet 4.6 | GLM-4.7 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude Sonnet 4.6$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.644 tok/s | GLM-4.782 tok/s | GLM-4.7 has the higher measured throughput. |
| First-answer latencyseconds to first token | Claude Sonnet 4.61.48 s | GLM-4.71.10 s | GLM-4.7 reaches the first token sooner. |
| Context windowmaximum listed tokens | Claude Sonnet 4.6200K | GLM-4.7200K | Listed context windows are equal. |
Benchmark Deep Dive
AgenticClaude Sonnet 4.6 wins13 benchmarks
| Benchmark | Claude Sonnet 4.6 | GLM-4.7 | Result |
|---|---|---|---|
| Terminal-Bench 2.0Source | 59.1% | 41% | Claude Sonnet 4.6 leads |
| OSWorld-VerifiedSource | 72.1% | — | Not comparable |
| Claw-EvalSource | 67.8% | — | Not comparable |
| CyberGymSource | 65.2% | — | Not comparable |
| τ²-bench resultsSource | 79.5% | 95.9% | GLM-4.7 leads |
| Gert LabsSource | 62.92% | 39.95% | Claude Sonnet 4.6 leads |
| OSWorld 2.0Source | 8.3% | — | Not comparable |
| JobBenchSource | 36.9% | — | Not comparable |
| BrowseCompSource | — | 52% | Not comparable |
| VITA-BenchSource | — | 15.5% | Not comparable |
| AA Agentic IndexSource | — | 25.4% | Not comparable |
| GDPval-AASource | — | 33.3% | Not comparable |
| GDPval-AASource | — | 1165 | Not comparable |
CodingGLM-4.7 wins10 benchmarks
| Benchmark | Claude Sonnet 4.6 | GLM-4.7 | Result |
|---|---|---|---|
| SWE-bench VerifiedSource | 79.6% | 73.8% | Claude Sonnet 4.6 leads |
| SWE-RebenchSource | 60.7% | 58.7% | Claude Sonnet 4.6 leads |
| React Native EvalsSource | 80.6% | — | Not comparable |
| Vibe Code BenchSource | 51.48% | — | Not comparable |
| cursorBench31Source | 48.8% | — | Not comparable |
| AA-SciCodeSource | 46.9% | 45.1% | Claude Sonnet 4.6 leads |
| FrontierCode 1.1 MainSource | 24.3% | — | Not comparable |
| LiveCodeBenchSource | — | 84.9% | Not comparable |
| AA Coding IndexSource | — | 45.3% | Not comparable |
| AA LiveCodeBenchSource | — | 89.4% | Not comparable |
Reasoning2 benchmarks
KnowledgeClaude Sonnet 4.6 wins10 benchmarks
| Benchmark | Claude Sonnet 4.6 | GLM-4.7 | Result |
|---|---|---|---|
| GPQASource | 89.9% | 85.7% | Claude Sonnet 4.6 leads |
| SuperGPQASource | 95% | — | Not comparable |
| MMLU-ProSource | 79.2% | 84.3% | GLM-4.7 leads |
| HLESource | 49% | 24.8% | Claude Sonnet 4.6 leads |
| Artificial Analysis Intelligence IndexSource | 35.9% | 33.7% | Claude Sonnet 4.6 leads |
| AA-GPQA DiamondSource | 79.9% | 85.9% | GLM-4.7 leads |
| AA-HLESource | 13.2% | 25.1% | GLM-4.7 leads |
| AA-Omniscience IndexSource | -2.9% | -34.6% | Claude Sonnet 4.6 leads |
| AA-Omniscience AccuracySource | 38.0% | 29.3% | Claude Sonnet 4.6 leads |
| AA-Omniscience Hallucination RateSource | 65.9% | 90.3% | Claude Sonnet 4.6 leads |
MathClaude Sonnet 4.6 wins3 benchmarks
Multimodal3 benchmarks
Inst. Following1 benchmarks
| Benchmark | Claude Sonnet 4.6 | GLM-4.7 | Result |
|---|---|---|---|
| AA-IFBenchSource | 41.2% | 67.9% | GLM-4.7 leads |
Frequently Asked Questions (5)
Which is better, Claude Sonnet 4.6 or GLM-4.7?
Claude Sonnet 4.6 is ahead on BenchLM's BenchAlign leaderboard, 65.07 to 61.16. The biggest single separator in this matchup is FrontierMath v2 (Tiers 1-3), where the scores are 32.400% and 2.439%.
Which is better for knowledge tasks, Claude Sonnet 4.6 or GLM-4.7?
Claude Sonnet 4.6 has the edge for knowledge tasks in this comparison, averaging 66 versus 51.8. Inside this category, AA-Omniscience Index is the benchmark that creates the most daylight between them.
Which is better for coding, Claude Sonnet 4.6 or GLM-4.7?
GLM-4.7 has the edge for coding in this comparison, averaging 75.4 versus 69.1. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.
Which is better for math, Claude Sonnet 4.6 or GLM-4.7?
Claude Sonnet 4.6 has the edge for math in this comparison, averaging 26.4 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.6 or GLM-4.7?
Claude Sonnet 4.6 has the edge for agentic tasks in this comparison, averaging 65.2 versus 45.7. Inside this category, Gert Labs 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.