Claude Sonnet 4.5 vs GLM-5.1
Wins 0 of 7 areas
—
Wins 7 of 7 areas
Coding · Agents · Reasoning · Facts · Math · Long documents · Following instructions
GLM-5.1 is the stronger all-rounder.
Scores updated · 37 tests both models report · How we compare
Where each one wins
Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software16GLM-5.16 of 8 tests · 1 tie
- AgentsCarrying out multi-step tasks on its own14GLM-5.14 of 5 tests
- ReasoningHard problems that need careful thinking03GLM-5.13 of 4 tests · 1 tie
- MathCompetition and research-level math02GLM-5.12 of 2 tests
- FactsGetting facts right instead of making them up12GLM-5.12 of 3 tests
- Long documentsFinding answers in very long texts01GLM-5.11 of 1 test
- Following instructionsDoing exactly what it is asked01GLM-5.11 of 1 test
Long documents and following instructions rest on a single test each.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
GLM-5.1 costs 68% less for the same work.
The biggest differences
The three tests each model wins by the widest margin. Scores are out of 100.
Where GLM-5.1 pulls ahead
- Finds hard-to-locate facts by browsing the webBrowseComp+55.2points ahead
- Multi-step tasks using many real software toolsMCP Atlas+28points ahead
- Recent programming contest problemsLiveCodeBench v6+21.7points ahead
Where Claude Sonnet 4.5 pulls ahead
- Customer-service tasks in a simulated bankτ-Bench V3 · Banking+10.9points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+9.2points ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+1points ahead
Every test, side by side
All 37 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGLM-5.1
- LiveCodeBench v6GLM-5.1 by 21.76485.7+21.7
- SWE-bench ProGLM-5.1 by 14.843.658.4+14.8
- LMArena · WebDevGLM-5.1 by 114 rating points13941508+114 rating
- Terminal-Bench HardGLM-5.1 by 7.635.643.2+7.6
- SWE-bench MultilingualGLM-5.1 by 6.36773.3+6.3
- Terminal-Bench 2.1GLM-5.1 by 655.861.8+6
- SWE-bench VerifiedClaude Sonnet 4.5 by 177.276.2+1
- SciCodetie45.744.8tie
AgentsGLM-5.1
- BrowseCompGLM-5.1 by 55.224.179.3+55.2
- MCP AtlasGLM-5.1 by 2843.871.8+28
- τ-Bench V3 · BankingClaude Sonnet 4.5 by 10.924.513.6+10.9
- GDPValGLM-5.1 by 10.520.531+10.5
- Terminal-Bench 4.0GLM-5.1 by 202+2
ReasoningGLM-5.1
- Humanity's Last ExamGLM-5.1 by 12.317.830.1+12.3
- CritPtGLM-5.1 by 3.51.14.6+3.5
- GPQA DiamondGLM-5.1 by 3.483.486.8+3.4
- SimpleBenchtie54.355.1tie
FactsGLM-5.1
- AA-Omniscience · Non-hallucinationGLM-5.1 by 19.250.970.1+19.2
- AA-Omniscience · AccuracyClaude Sonnet 4.5 by 9.232.923.7+9.2
- SimpleQA VerifiedGLM-5.1 by 3.330.734+3.3
MathGLM-5.1
- IMOAnswerBenchGLM-5.1 by 17.965.983.8+17.9
- FrontierMath Tiers 1-3 (v2)GLM-5.1 by 12.923.936.8+12.9
Other results13 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- HLE (with tools)GLM-5.1 by 20.33252.3+20.3
- τ²-Bench Telecom (AA run)GLM-5.1 by 19.678.197.7+19.6
- HMMT 2025GLM-5.1 by 19.474.694+19.4
- Terminal-Bench 2.0GLM-5.1 by 195069+19
- HMMT Nov. 2025GLM-5.1 by 12.381.794+12.3
- frontiermath_tier_4_v1GLM-5.1 by 8.34.212.5+8.3
- AA Agentic IndexGLM-5.1 by 7.717.525.2+7.7
- AA IntelligenceGLM-5.1 by 5.420.726.1+5.4
- Artificial Analysis Coding IndexGLM-5.1 by 3.752.155.8+3.7
- GPQA (unspecified)GLM-5.1 by 2.783.486.1+2.7
- MMLU-ProClaude Sonnet 4.5 by 1.587.586+1.5
- AA-OmniscienceGLM-5.1 by 1-0.10.8+1
- Toolathlontie4140.7tie
Questions people ask
Which is better, Claude Sonnet 4.5 or GLM-5.1?
GLM-5.1 wins all seven areas where both have results: coding, agents, reasoning, facts, math, long documents and following instructions. Claude Sonnet 4.5 wins none.
Which is better for coding?
GLM-5.1. It wins 6 of the 8 coding tests both models report; Claude Sonnet 4.5 wins 1, and 1 is a tie.
Which is cheaper?
Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; GLM-5.1 costs $1.38 and $4.40. That makes GLM-5.1 about 68% cheaper for the same work.
How do you compare the two?
We use the 37 benchmark tests both models have published scores on. The verdict counts the 24 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 13 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.