Skip to main content

Model comparison

Claude Sonnet 5 vs GLM-5

Data verified

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

65.32/100
Margin
0.7pts
winning →
Z.AI
66.06/100
2 category wins1 category wins

Public leaderboard positions: Claude Sonnet 5 #29 (Estimated); GLM-5 #28 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude Sonnet 5 and GLM-5 share 15 comparable benchmark results. 3 of 8 categories are comparable. 21 results are unique to Claude Sonnet 5; 34 to GLM-5.

Updated July 23, 2026
Shared results
15
Claude Sonnet 5 only
21
GLM-5 only
34
Comparable categories
3 / 8

Pick GLM-5 if you want the stronger benchmark profile. Claude Sonnet 5 only becomes the better choice if agentic is the priority or you need the larger 1M context window.

Confidence note. This is a partial-evidence comparison with 15 shared benchmark results across 5 evidence categories; 3 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

GLM-5 has the cleaner BenchAlign overall profile here, landing at 66.06 versus 65.32. It is a real lead, but still close enough that category-level strengths matter more than the headline number.

GLM-5's sharpest advantage is in knowledge, where it averages 66.4 against 57.4. The single biggest benchmark swing on the page is Terminal-Bench 2.0, 80.4% to 56.2%. Claude Sonnet 5 does hit back in agentic, so the answer changes if that is the part of the workload you care about most.

Claude Sonnet 5 is also the more expensive model on tokens at $2.00 input / $10.00 output per 1M tokens, versus $1.00 input / $3.20 output per 1M tokens for GLM-5. That is roughly 3.1x on output cost alone. Claude Sonnet 5 is the reasoning model in the pair, while GLM-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. Claude Sonnet 5 gives you the larger context window at 1M, compared with 200K for GLM-5.

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 5 and GLM-5
CategoryClaude Sonnet 5ΔGLM-5
AgenticClaude Sonnet 581.9Margin 25.7GLM-556.2
CodingClaude Sonnet 576.7Margin 10.4GLM-566.3
KnowledgeClaude Sonnet 557.4Margin 9.0GLM-566.4
ReasoningClaude Sonnet 5Not measuredMarginNo overlapGLM-560.8
MathClaude Sonnet 5Not measuredMarginNo overlapGLM-556.3
MultilingualClaude Sonnet 5Not measuredMarginNo overlapGLM-583.1
MultimodalClaude Sonnet 588.3MarginNo overlapGLM-5Not measured
Inst. FollowingClaude Sonnet 5Not measuredMarginNo overlapGLM-592.6

Decisive benchmark drivers

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

More
A · Claude Sonnet 5B · GLM-5
  1. Terminal-Bench 2.0

    Agentic
    Source ↗
    A 80.4%B 56.2%
    Winner: Claude Sonnet 5Δ 24.2
    Terminal-Bench 2.0: Claude Sonnet 5 scored 80.4%; GLM-5 scored 56.2%. Claude Sonnet 5 wins this benchmark.
  2. SWE-bench Pro

    Coding
    Source ↗
    A 63.2%B 55.1%
    Winner: Claude Sonnet 5Δ 8.1
    SWE-bench Pro: Claude Sonnet 5 scored 63.2%; GLM-5 scored 55.1%. Claude Sonnet 5 wins this benchmark.
  3. SWE-bench Verified

    Coding
    Source ↗
    A 85.2%B 77.8%
    Winner: Claude Sonnet 5Δ 7.4
    SWE-bench Verified: Claude Sonnet 5 scored 85.2%; GLM-5 scored 77.8%. Claude Sonnet 5 wins this benchmark.
  4. HLE

    Knowledge
    Source ↗
    A 57.4%B 50.4%
    Winner: Claude Sonnet 5Δ 7
    HLE: Claude Sonnet 5 scored 57.4%; GLM-5 scored 50.4%. Claude Sonnet 5 wins this benchmark.

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricClaude Sonnet 5GLM-5Comparison
Input / output priceUSD per 1M tokensClaude Sonnet 5$2 input / $10 outputGLM-5$1 input / $3.2 outputGLM-5 has the lower combined listed price.
Generation speedtokens per secondClaude Sonnet 5Not availableGLM-574 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Sonnet 5Not availableGLM-51.64 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Sonnet 51MGLM-5200KClaude Sonnet 5 lists the larger context window.

Benchmark Deep Dive

AgenticClaude Sonnet 5 wins
BenchmarkClaude Sonnet 5GLM-5Result
Terminal-Bench 2.0Source 80.4%56.2%Claude Sonnet 5 leads
BrowseCompSource 84.7%Not comparable
HLE w/ toolsSource 57.4%Not comparable
OSWorld-VerifiedSource 81.2%Not comparable
GDPval-AASource 1607Not comparable
AA Agentic IndexSource 46.7%Not comparable
GDPval-AASource 55.4%Not comparable
AA BriefcaseSource 1388Not comparable
AA AutomationBenchSource 39.2%Not comparable
AA EnterpriseOps-GymSource 44.7%Not comparable
AA Harvey LABSource 90.1%Not comparable
AA Tau3 BankingSource 28.2%Not comparable
aaTerminalBench21Source 80.5%Not comparable
Claw-EvalSource 57.7%Not comparable
QwenClawBenchSource 54.1%Not comparable
τ³-bench resultsSource 65.6%Not comparable
DeepPlanningSource 14.6%Not comparable
ToolathlonSource 38%Not comparable
MCP AtlasSource 31.1%Not comparable
MCP-TasksSource 60.8%Not comparable
WideResearchSource 69.8%Not comparable
τ²-bench resultsSource 98.2%Not comparable
CyberGymSource 43.2%Not comparable
APEX-Agents-AASource 14.5%Not comparable
Gert LabsSource 50.99%Not comparable
CodingClaude Sonnet 5 wins
BenchmarkClaude Sonnet 5GLM-5Result
SWE-bench VerifiedSource 85.2%77.8%Claude Sonnet 5 leads
SWE-bench ProSource 63.2%55.1%Claude Sonnet 5 leads
SWE MultilingualSource 78.3%73.3%Claude Sonnet 5 leads
SWE MultimodalSource 28.1%Not comparable
Terminal-Bench 2.0Source 80.4%Not comparable
FrontierCode 1.1 MainSource 42.7%Not comparable
cursorBench32Source 61.5%Not comparable
AA Coding IndexSource 71.5%Not comparable
AA-SciCodeSource 53.6%46.2%Claude Sonnet 5 leads
SWE-bench Verified*Source 72.8%Not comparable
SWE-RebenchSource 62.8%Not comparable
React Native EvalsSource 74.8%Not comparable
Reasoning
BenchmarkClaude Sonnet 5GLM-5Result
AA-LCRSource 70.7%63.3%Claude Sonnet 5 leads
CritPtSource 16.9%2.0%Claude Sonnet 5 leads
LongBench v2Source 60.8%Not comparable
AI-NeedleSource 63.3%Not comparable
KnowledgeGLM-5 wins
BenchmarkClaude Sonnet 5GLM-5Result
HLESource 57.4%50.4%Claude Sonnet 5 leads
HLE w/o toolsSource 43.2%Not comparable
Artificial Analysis Intelligence IndexSource 53.4%39.5%Claude Sonnet 5 leads
AA-GPQA DiamondSource 91.1%82.0%Claude Sonnet 5 leads
AA-HLESource 39.6%27.2%Claude Sonnet 5 leads
AA-Omniscience IndexSource 15.3%2.0%Claude Sonnet 5 leads
AA-Omniscience AccuracySource 38.3%26.9%Claude Sonnet 5 leads
AA-Omniscience Hallucination RateSource 37.3%34.0%GLM-5 leads
GPQASource 86%Not comparable
GPQA-DSource 86.0%Not comparable
SuperGPQASource 66.8%Not comparable
MMLU-ProSource 85.7%Not comparable
MMLU-Pro (Arcee)Source 85.8%Not comparable
Math
BenchmarkClaude Sonnet 5GLM-5Result
AIME26Source 95.8%Not comparable
AIME25 (Arcee)Source 93.3%Not comparable
HMMT Feb 2025Source 97.5%Not comparable
HMMT Nov 2025Source 96.9%Not comparable
HMMT Feb 2026Source 86.4%Not comparable
MMAnswerBenchSource 82.5%Not comparable
FrontierMath v2 (Tiers 1-3)Source 16.434%Not comparable
FrontierMath v2 (Tier 4)Source 2.100%Not comparable
Multilingual
BenchmarkClaude Sonnet 5GLM-5Result
MMLU-ProXSource 83.1%Not comparable
NOVA-63Source 55.1%Not comparable
Multimodal
BenchmarkClaude Sonnet 5GLM-5Result
CharXivSource 88.3%Not comparable
CharXiv w/o toolsSource 77%Not comparable
AA-MMMU-ProSource 77.3%Not comparable
Design Arena WebsiteSource 13141278Claude Sonnet 5 leads
Inst. Following
BenchmarkClaude Sonnet 5GLM-5Result
IFEvalSource 92.6%Not comparable
AA-IFBenchSource 72.3%Not comparable
Frequently Asked Questions (4)

Which is better, Claude Sonnet 5 or GLM-5?

GLM-5 is ahead on BenchLM's BenchAlign leaderboard, 66.06 to 65.32. The biggest single separator in this matchup is Terminal-Bench 2.0, where the scores are 80.4% and 56.2%.

Which is better for knowledge tasks, Claude Sonnet 5 or GLM-5?

GLM-5 has the edge for knowledge tasks in this comparison, averaging 66.4 versus 57.4. Inside this category, Artificial Analysis Intelligence Index is the benchmark that creates the most daylight between them.

Which is better for coding, Claude Sonnet 5 or GLM-5?

Claude Sonnet 5 has the edge for coding in this comparison, averaging 76.7 versus 66.3. Inside this category, SWE-bench Pro is the benchmark that creates the most daylight between them.

Which is better for agentic tasks, Claude Sonnet 5 or GLM-5?

Claude Sonnet 5 has the edge for agentic tasks in this comparison, averaging 81.9 versus 56.2. Inside this category, Terminal-Bench 2.0 is the benchmark that creates the most daylight between them.

Related Comparisons

Last updated: July 23, 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.