Claude Opus 4.7 vs GLM-5.1
Wins 6 of 7 areas
Coding · Agents · Reasoning · Facts · Math · Long documents
Wins 1 of 7 areas
Following instructions
Claude Opus 4.7 is the stronger all-rounder.GLM-5.1 is cheaper and better at following instructions.
Scores updated · 38 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 software70Claude Opus 4.77 of 7 tests
- AgentsCarrying out multi-step tasks on its own40Claude Opus 4.74 of 5 tests · 1 tie
- ReasoningHard problems that need careful thinking40Claude Opus 4.74 of 4 tests
- MathCompetition and research-level math20Claude Opus 4.72 of 3 tests · 1 tie
- FactsGetting facts right instead of making them up21Claude Opus 4.72 of 3 tests
- Long documentsFinding answers in very long texts10Claude Opus 4.71 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 81% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where Claude Opus 4.7 pulls ahead
- Unpublished advanced math problemsFrontierMath Tiers 1-3 (v2)+33.4points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+25.2points ahead
- Command-line tasks in a real terminalTerminal-Bench 2.1+21.3points ahead
Where GLM-5.1 pulls ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+17.7points ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+12.4points ahead
Every test, side by side
All 38 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Opus 4.7
- Terminal-Bench 2.1Claude Opus 4.7 by 21.383.161.8+21.3
- SWE-bench VerifiedClaude Opus 4.7 by 11.487.676.2+11.4
- SciCodeClaude Opus 4.7 by 9.754.544.8+9.7
- Terminal-Bench HardClaude Opus 4.7 by 8.351.543.2+8.3
- SWE-bench MultilingualClaude Opus 4.7 by 7.280.573.3+7.2
- SWE-bench ProClaude Opus 4.7 by 5.964.358.4+5.9
- LMArena · WebDevClaude Opus 4.7 by 50 rating points15581508+50 rating
AgentsClaude Opus 4.7
- τ-Bench V3 · BankingClaude Opus 4.7 by 2134.613.6+21
- GDPValClaude Opus 4.7 by 11.842.831+11.8
- AA IT-Bench SREClaude Opus 4.7 by 6.446.740.3+6.4
- MCP AtlasClaude Opus 4.7 by 5.577.371.8+5.5
- BrowseComptie79.379.3tie
ReasoningClaude Opus 4.7
- Humanity's Last ExamClaude Opus 4.7 by 12.242.330.1+12.2
- CritPtClaude Opus 4.7 by 7.4124.6+7.4
- SimpleBenchClaude Opus 4.7 by 6.661.755.1+6.6
- GPQA DiamondClaude Opus 4.7 by 4.691.486.8+4.6
FactsClaude Opus 4.7
- AA-Omniscience · AccuracyClaude Opus 4.7 by 25.248.923.7+25.2
- SimpleQA VerifiedClaude Opus 4.7 by 17.751.734+17.7
- AA-Omniscience · Non-hallucinationGLM-5.1 by 12.457.770.1+12.4
MathClaude Opus 4.7
- FrontierMath Tiers 1-3 (v2)Claude Opus 4.7 by 33.470.236.8+33.4
- HMMT Feb. 2026Claude Opus 4.7 by 11.393.982.6+11.3
- AIME 2026tie95.895.3tie
Other results14 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.
- DeepSWEClaude Opus 4.7 by 365418+36
- AA-OmniscienceClaude Opus 4.7 by 26.427.30.8+26.4
- GDPval-AA (Elo)Claude Opus 4.7 by 218 rating points17531535+218 rating
- ToolathlonClaude Opus 4.7 by 18.659.340.7+18.6
- Artificial Analysis Coding IndexClaude Opus 4.7 by 17.873.655.8+17.8
- AA IntelligenceClaude Opus 4.7 by 14.640.726.1+14.6
- AA Agentic IndexClaude Opus 4.7 by 14.339.525.2+14.3
- frontiermath_tier_4_v1Claude Opus 4.7 by 10.422.912.5+10.4
- τ²-Bench Telecom (AA run)GLM-5.1 by 9.188.697.7+9.1
- Finance Agent v2Claude Opus 4.7 by 6.751.544.8+6.7
- LiveBenchClaude Opus 4.7 by 6.776.970.2+6.7
- CyberGymClaude Opus 4.7 by 4.473.168.7+4.4
- HLE (with tools)Claude Opus 4.7 by 2.454.752.3+2.4
- Terminal-Bench 2.0tie69.469tie
Questions people ask
Which is better, Claude Opus 4.7 or GLM-5.1?
Claude Opus 4.7 wins six of the seven areas where both have results: coding, agents, reasoning, facts, math and long documents. GLM-5.1 wins following instructions, and costs 81% less.
Which is better for coding?
Claude Opus 4.7. It wins 7 of the 7 coding tests both models report; GLM-5.1 wins none.
Which is cheaper?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GLM-5.1 costs $1.38 and $4.40. That makes GLM-5.1 about 81% cheaper for the same work.
How do you compare the two?
We use the 38 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 14 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.