Skip to main content

Model comparison

Claude Sonnet 4.6 vs GLM-4.7

Data verified

Head-to-head evidence from 21 shared benchmark results across 7 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

65.07/100
Margin
3.9pts
← winning
61.16/100
3 category wins1 category wins

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 scores and score margins for Claude Sonnet 4.6 and GLM-4.7
CategoryClaude Sonnet 4.6ΔGLM-4.7
MathClaude Sonnet 4.626.4Margin 24.6GLM-4.71.8
AgenticClaude Sonnet 4.665.2Margin 19.5GLM-4.745.7
KnowledgeClaude Sonnet 4.666.0Margin 14.2GLM-4.751.8
CodingClaude Sonnet 4.669.1Margin 6.3GLM-4.775.4
MultimodalClaude Sonnet 4.677.4MarginNo overlapGLM-4.7Not measured

Decisive benchmark drivers

The largest measured benchmark gaps in this matchup, with exact reported values.

More
A · Claude Sonnet 4.6B · GLM-4.7
  1. FrontierMath v2 (Tiers 1-3)

    Math
    Source ↗
    A 32.400%B 2.439%
    Winner: Claude Sonnet 4.6Δ 30
    FrontierMath v2 (Tiers 1-3): Claude Sonnet 4.6 scored 32.400%; GLM-4.7 scored 2.439%. Claude Sonnet 4.6 wins this benchmark.
  2. HLE

    Knowledge
    Source ↗
    A 49%B 24.8%
    Winner: Claude Sonnet 4.6Δ 24.2
    HLE: Claude Sonnet 4.6 scored 49%; GLM-4.7 scored 24.8%. Claude Sonnet 4.6 wins this benchmark.
  3. Terminal-Bench 2.0

    Agentic
    Source ↗
    A 59.1%B 41%
    Winner: Claude Sonnet 4.6Δ 18.1
    Terminal-Bench 2.0: Claude Sonnet 4.6 scored 59.1%; GLM-4.7 scored 41%. Claude Sonnet 4.6 wins this benchmark.
  4. FrontierMath v2 (Tier 4)

    Math
    Source ↗
    A 8.300%B 0.000%
    Winner: Claude Sonnet 4.6Δ 8.3
    FrontierMath v2 (Tier 4): Claude Sonnet 4.6 scored 8.300%; GLM-4.7 scored 0.000%. Claude Sonnet 4.6 wins this benchmark.
  5. SWE-bench Verified

    Coding
    Source ↗
    A 79.6%B 73.8%
    Winner: Claude Sonnet 4.6Δ 5.8
    SWE-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.

MetricClaude Sonnet 4.6GLM-4.7Comparison
Input / output priceUSD per 1M tokensClaude Sonnet 4.6$3 input / $15 outputGLM-4.7$0 input / $0 outputGLM-4.7 has the lower combined listed price.
Generation speedtokens per secondClaude Sonnet 4.644 tok/sGLM-4.782 tok/sGLM-4.7 has the higher measured throughput.
First-answer latencyseconds to first tokenClaude Sonnet 4.61.48 sGLM-4.71.10 sGLM-4.7 reaches the first token sooner.
Context windowmaximum listed tokensClaude Sonnet 4.6200KGLM-4.7200KListed context windows are equal.

Benchmark Deep Dive

AgenticClaude Sonnet 4.6 wins
BenchmarkClaude Sonnet 4.6GLM-4.7Result
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 1165Not comparable
CodingGLM-4.7 wins
BenchmarkClaude Sonnet 4.6GLM-4.7Result
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
Reasoning
BenchmarkClaude Sonnet 4.6GLM-4.7Result
AA-LCRSource 57.7%64.0%GLM-4.7 leads
CritPtSource 0.9%1.7%GLM-4.7 leads
KnowledgeClaude Sonnet 4.6 wins
BenchmarkClaude Sonnet 4.6GLM-4.7Result
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 wins
BenchmarkClaude Sonnet 4.6GLM-4.7Result
FrontierMath v2 (Tiers 1-3)Source 32.400%2.439%Claude Sonnet 4.6 leads
FrontierMath v2 (Tier 4)Source 8.300%0.000%Claude Sonnet 4.6 leads
AIME 2025Source 95.7%Not comparable
Multimodal
BenchmarkClaude Sonnet 4.6GLM-4.7Result
CharXivSource 77.4%Not comparable
AA-MMMU-ProSource 70.6%Not comparable
Design Arena WebsiteSource 13171258Claude Sonnet 4.6 leads
Inst. Following
BenchmarkClaude Sonnet 4.6GLM-4.7Result
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

Last updated: July 20, 2026

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.