Claude Opus 4.1 vs GLM 4.7
Claude Opus 4.1 leads GLM 4.7 on the Artificial Analysis Intelligence Index, 22.8 to 22.2, and GLM 4.7 costs 34.1x less per output token ($2.20 vs $75.00 per million). Updated October 22, 2026; 54 benchmarks have a result for both.
Claude Opus 4.1 or GLM 4.7: which to pick
Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; Claude Opus 4.1 has none, so the two cannot be ranked on coding.
Pick Claude Opus 4.1 for work measured by Terminal-Bench or LMArena Text: coding, where it leads.
- Shared results
- 54
- Claude Opus 4.1 only
- 19
- GLM 4.7 only
- 27
- Like-for-like categories
- 7 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GLM 4.7 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Claude Opus 4.1
Claude Opus 4.1 leads, 22.8 against 22.2.
Same board, both measured
Reasoning
GPQA Diamond
GLM 4.7
GLM 4.7 leads, 80.0% against 76.3%.
Same board, both measured
Math
AIME
GLM 4.7
GLM 4.7 leads, 93.3% against 78.2%.
Same board, both measured
Knowledge
MMLU Pro
Claude Opus 4.1
Claude Opus 4.1 leads, 87.9% against 82.7%.
Same board, both measured
Web design
Design Arena: websites
GLM 4.7
GLM 4.7 leads, 1225 against 1176.
Same board, both measured
Long documents
Listed context window
GLM 4.7
GLM 4.7 takes 205K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7
Claude Opus 4.1 $0.052, GLM 4.7 $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 4.7 has the number, $0.29.
Directional only
At a glance
- Coding index
- Claude Opus 4.1 not benchmarked, GLM 4.7 55.1 from 2 benchmarks.
- Widest category
- Math, 8.2 points apart on average over 5 shared benchmarks.
- Widest single gap
- LiveCodeBench (Vals AI): Claude Opus 4.1 66.5% against GLM 4.7 82.2%, 15.8 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.1 $75.00 against GLM 4.7 $2.20 per million output tokens, 34.1x apart.
- Context window
- Claude Opus 4.1 takes 200K tokens, GLM 4.7 205K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Opus 4.1 | Bars | GLM 4.7 | Ties |
|---|---|---|---|---|
| Coding | 3 | 3 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 2 | 4 | ||
| Math | 3 | 2 | ||
| Knowledge | 4 | 5 | ||
| Web design | 2 | 6 | ||
| General | 7 | 11 | ||
| All shared boards | 23 | 31 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index33
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| LMArena WebDev | 1390 | 1435 | GLM 4.7 |
| AA Coding Index | Not measured | 45.3 | Only GLM 4.7 measured |
| LiveCodeBench (Vals AI) | 66.5% | 82.2% | GLM 4.7 |
| SWE-bench Verified (Vals AI) | Not measured | 69.4% | Only GLM 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 89.4% | Only GLM 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 31.8% | Only GLM 4.7 measured |
| Terminal-Bench | 38.0% | 33.4% | Claude Opus 4.1 |
| WeirdML | 45.9% | Not measured | Only Claude Opus 4.1 measured |
| Cybench | 42.0% | Not measured | Only Claude Opus 4.1 measured |
| ALE-Bench | Not measured | 399.5 | Only GLM 4.7 measured |
| LMArena Text: coding | 1479 | 1454 | Claude Opus 4.1 |
| LMArena Text: software and IT | 1456 | 1453 | Claude Opus 4.1 |
| LMArena WebDev: React | Not measured | 1420 | Only GLM 4.7 measured |
| LMArena WebDev: HTML | 1399 | 1447 | GLM 4.7 |
| SciCode | 4.6% | Not measured | Only Claude Opus 4.1 measured |
| Neither model has a result on the other 24 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 22.8 | 22.2 | Claude Opus 4.1 |
| Epoch Capabilities Index | 144.1 | 143.6 | Claude Opus 4.1 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| Design Arena: agents building full-stack apps | Not measured | 1050 | Only GLM 4.7 measured |
| Design Arena: agents building mobile apps | Not measured | 1105 | Only GLM 4.7 measured |
| Design Arena: agents building Android apps | Not measured | 1112 | Only GLM 4.7 measured |
| Design Arena: agents building Godot games | Not measured | 1058 | Only GLM 4.7 measured |
| τ²-Bench Telecom | Not measured | 95.9% | Only GLM 4.7 measured |
| METR time horizons | 66.8% | Not measured | Only Claude Opus 4.1 measured |
| GDPval | 43.6% | Not measured | Only Claude Opus 4.1 measured |
| DeepResearch Bench | 48.3% | Not measured | Only Claude Opus 4.1 measured |
| Vending-Bench 2 | Not measured | $2,377 | Only GLM 4.7 measured |
| BrowseComp-Plus | Not measured | 64.7% | Only GLM 4.7 measured |
| Neither model has a result on the other 31 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index24
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 76.3% | 80.0% | GLM 4.7 |
| MMMU Pro (Vals AI) | 77.5% | Not measured | Only Claude Opus 4.1 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 85.9% | Only GLM 4.7 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 27.4% | Only GLM 4.7 measured |
| GPQA Diamond (Epoch AI run) | 77.3% | 83.3% | GLM 4.7 |
| SimpleBench | 60.0% | 47.7% | Claude Opus 4.1 |
| Chess puzzles | Not measured | 21.0% | Only GLM 4.7 measured |
| Mystery game puzzles | 21.0% | Not measured | Only Claude Opus 4.1 measured |
| EBR-bench | 7.9% | Not measured | Only Claude Opus 4.1 measured |
| VPCT | 35.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: hard prompts | 1442 | 1443 | GLM 4.7 |
| LMArena Text: expert | 1438 | 1424 | Claude Opus 4.1 |
| LMArena Text: hard prompts in English | 1451 | 1452 | GLM 4.7 |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| AIME | 78.2% | 93.3% | GLM 4.7 |
| MATH 500 (Vals AI) | 95.4% | Not measured | Only Claude Opus 4.1 measured |
| MGSM (Vals AI) | 94.4% | 88.2% | Claude Opus 4.1 |
| AA Math Index | Not measured | 95.0 | Only GLM 4.7 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 95.0% | Only GLM 4.7 measured |
| OTIS Mock AIME | 68.9% | 83.3% | GLM 4.7 |
| FrontierMath, tiers 1 to 3 | 12.6% | Not measured | Only Claude Opus 4.1 measured |
| FrontierMath, tier 4 | 2.4% | Not measured | Only Claude Opus 4.1 measured |
| ProofBench | Not measured | 6.0% | Only GLM 4.7 measured |
| LMArena Text: math | 1431 | 1424 | Claude Opus 4.1 |
| LMArena Text: mathematical work | 1434 | 1411 | Claude Opus 4.1 |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index45
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 87.9% | 82.7% | Claude Opus 4.1 |
| LegalBench (Vals AI) | 83.5% | 83.4% | Claude Opus 4.1 |
| CaseLaw (Vals AI) | Not measured | 54.9% | Only GLM 4.7 measured |
| CorpFin (Vals AI) | Not measured | 46.4% | Only GLM 4.7 measured |
| TaxEval (Vals AI) | 73.7% | 68.8% | Claude Opus 4.1 |
| MortgageTax (Vals AI) | 61.1% | Not measured | Only Claude Opus 4.1 measured |
| MedQA (Vals AI) | 93.6% | 93.7% | GLM 4.7 |
| MedCode (Vals AI) | 47.2% | 32.8% | Claude Opus 4.1 |
| MMLU Pro (Artificial Analysis run) | Not measured | 85.6% | Only GLM 4.7 measured |
| SimpleQA Verified | Not measured | 32.2% | Only GLM 4.7 measured |
| LMArena Text: science | 1422 | 1457 | GLM 4.7 |
| LMArena Text: medicine and healthcare | 1416 | 1469 | GLM 4.7 |
| LMArena Text: legal and government | 1421 | 1444 | GLM 4.7 |
| LMArena Text: business and finance | 1406 | 1429 | GLM 4.7 |
| FACTS Benchmark Suite | 40.4% | Not measured | Only Claude Opus 4.1 measured |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index26
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1176 | 1225 | GLM 4.7 |
| Design Arena: UI components | 1162 | 1196 | GLM 4.7 |
| Design Arena: game dev | 1171 | 1188 | GLM 4.7 |
| Design Arena: data viz | 1166 | 1195 | GLM 4.7 |
| Design Arena: 3D | 1152 | 1190 | GLM 4.7 |
| Design Arena: all code categories | 1170 | 1216 | GLM 4.7 |
| Design Arena: SVG | 1152 | 1142 | Claude Opus 4.1 |
| Design Arena: ASCII art | 1167 | 1165 | Claude Opus 4.1 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index711
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 31.4% | Not measured | Only Claude Opus 4.1 measured |
| MedScribe (Vals AI) | 73.9% | 68.6% | Claude Opus 4.1 |
| IFBench | Not measured | 67.9% | Only GLM 4.7 measured |
| Long context reasoning (AA-LCR) | Not measured | 71.0% | Only GLM 4.7 measured |
| DTBench | 80.0% | Not measured | Only Claude Opus 4.1 measured |
| LMCA | 37.1% | Not measured | Only Claude Opus 4.1 measured |
| Creative writing (Lech Mazur) | 84.7% | Not measured | Only Claude Opus 4.1 measured |
| CL-bench | Not measured | 15.9% | Only GLM 4.7 measured |
| CL-bench Life | Not measured | 10.9% | Only GLM 4.7 measured |
| LMArena Text | 1419 | 1435 | GLM 4.7 |
| LMArena Text: instruction following | 1435 | 1412 | Claude Opus 4.1 |
| LMArena Text: creative writing | 1412 | 1401 | Claude Opus 4.1 |
| LMArena Text: English | 1433 | 1453 | GLM 4.7 |
| LMArena Text: non-English | 1405 | 1417 | GLM 4.7 |
| LMArena Text: Chinese | 1427 | 1495 | GLM 4.7 |
| LMArena Text: German | 1413 | 1426 | GLM 4.7 |
| LMArena Text: Japanese | 1377 | 1439 | GLM 4.7 |
| LMArena Text: Korean | 1381 | 1399 | GLM 4.7 |
| LMArena Text: French | 1433 | 1432 | Claude Opus 4.1 |
| LMArena Text: Spanish | 1448 | 1434 | Claude Opus 4.1 |
| LMArena Text: Russian | 1422 | 1423 | GLM 4.7 |
| LMArena Text: Polish | 1413 | 1435 | GLM 4.7 |
| LMArena Text: multi-turn | 1444 | 1446 | GLM 4.7 |
| LMArena Text: longer queries | 1455 | 1432 | Claude Opus 4.1 |
| LMArena Text: writing and language | 1418 | 1411 | Claude Opus 4.1 |
| LMArena Text: entertainment and media | 1398 | 1400 | GLM 4.7 |
| Neither model has a result on the other 20 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.1 | GLM 4.7 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
GLM 4.7 costs less
Repository review
50K input + 3K output tokens
GLM 4.7 costs less
Agent loop
200K input + 10K output tokens
GLM 4.7 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Opus 4.1 | Z.ai GLM 4.7 |
|---|---|---|
| Maker | Anthropic | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | August 5, 2025 | December 22, 2025 |
| Context window | 200K | 205K |
| Input $/Mtok | $15.00 | $0.60 |
| Output $/Mtok | $75.00 | $2.20 |
| Coding index | Not benchmarked | 55.1 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | Not computable | $0.29 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.1 better than GLM 4.7 for coding?
Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; Claude Opus 4.1 has none, so the two cannot be ranked on coding. Pick Claude Opus 4.1 for work measured by Terminal-Bench or LMArena Text: coding, where it leads.
Which is cheaper, Claude Opus 4.1 or GLM 4.7?
Claude Opus 4.1 costs $15.00 per million input tokens and $75.00 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Cost per solved task is known for GLM 4.7 only.
Which has the bigger context window, Claude Opus 4.1 or GLM 4.7?
GLM 4.7, with 205K tokens against 200K.
How many benchmarks is the Claude Opus 4.1 vs GLM 4.7 comparison based on?
54 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.1's coding index rests on 1 independent benchmark and GLM 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.