Claude Opus 4.7 vs GLM 4.7
Updated October 21, 2026. 59 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Opus 4.7 for coding: it scores 51.1 on the Vibe Coding Index against 33.6 for GLM 4.7.
Pick GLM 4.7 when output tokens cost 12.6x less, or when a solved task costs $0.29 against $2.95.
- Shared results
- 59
- Claude Opus 4.7 only
- 42
- GLM 4.7 only
- 21
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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, four public coding benchmarks
Claude Opus 4.7
Claude Opus 4.7 scores 51.1 against 33.6.
One benchmark behind each score
Intelligence
AA Intelligence Index
Claude Opus 4.7
Claude Opus 4.7 leads, 40.7 against 22.2.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Opus 4.7 has a AA Agentic Index result, 38.6.
Directional only
Reasoning
GPQA Diamond
Claude Opus 4.7
Claude Opus 4.7 leads, 90.2% against 80.0%.
Same board, both measured
Math
AIME
Claude Opus 4.7
Claude Opus 4.7 leads, 96.3% against 93.3%.
Same board, both measured
Knowledge
MMLU Pro
Claude Opus 4.7
Claude Opus 4.7 leads, 89.9% against 82.7%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GLM 4.7 has a Design Arena: websites result, 1226.
Directional only
Long documents
Listed context window
Claude Opus 4.7
Claude Opus 4.7 takes 1M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7
Claude Opus 4.7 $0.018, GLM 4.7 $0.0015 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 4.7
Claude Opus 4.7 $2.95, GLM 4.7 $0.29.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.7 51.1 from 1 benchmark, GLM 4.7 33.6 from 1 benchmark.
- Widest category
- Agentic work, 30.4 points apart on average over 2 shared benchmarks.
- Widest single gap
- Vending-Bench 2: Claude Opus 4.7 $10,937 against GLM 4.7 $2,377, 53.5 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.7 $25.00 against GLM 4.7 $1.98 per million output tokens, 12.6x apart.
- Context window
- Claude Opus 4.7 takes 1M 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.7 | Bars | GLM 4.7 | Ties |
|---|---|---|---|---|
| Coding | 10 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 1 | ||
| Reasoning | 9 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 11 | 0 | ||
| General | 19 | 1 | ||
| All shared boards | 57 | 2 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index100
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| LMArena WebDev | 1558 | 1435 | Claude Opus 4.7 |
| AA Coding Index | 73.6 | 45.3 | Claude Opus 4.7 |
| LiveCodeBench (Vals AI) | 85.1% | 82.2% | Claude Opus 4.7 |
| SWE-bench Verified (Vals AI) | 82.0% | 69.4% | Claude Opus 4.7 |
| Vibe Code Bench (Vals AI) | 71.0% | Not measured | Only Claude Opus 4.7 measured |
| Code migration (Vals AI) | 43.9% | Not measured | Only Claude Opus 4.7 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | Not measured | Only Claude Opus 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 89.4% | Only GLM 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | 31.8% | Claude Opus 4.7 |
| Terminal-Bench | 80.2% | 33.4% | Claude Opus 4.7 |
| FrontierCode | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| GSO-Bench | 44.1% | Not measured | Only Claude Opus 4.7 measured |
| WeirdML | 76.4% | Not measured | Only Claude Opus 4.7 measured |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 399.5 | Only GLM 4.7 measured |
| LMArena Text: coding | 1519 | 1454 | Claude Opus 4.7 |
| LMArena Text: software and IT | 1516 | 1453 | Claude Opus 4.7 |
| LMArena WebDev: React | 1560 | 1420 | Claude Opus 4.7 |
| LMArena WebDev: HTML | 1554 | 1447 | Claude Opus 4.7 |
| LMArena WebDev: from an image | 1577 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | 22.2 | Claude Opus 4.7 |
| Epoch Capabilities Index | 156.8 | 143.6 | Claude Opus 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | Not measured | Only Claude Opus 4.7 measured |
| 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 | 1118 | Only GLM 4.7 measured |
| Design Arena: agents building Godot games | Not measured | 1058 | Only GLM 4.7 measured |
| Finance Agent (Vals AI) | 51.5% | Not measured | Only Claude Opus 4.7 measured |
| Tax Agent Bench (Vals AI) | 23.7% | Not measured | Only Claude Opus 4.7 measured |
| Legal Research Bench (Vals AI) | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 63.7% | Not measured | Only Claude Opus 4.7 measured |
| τ²-Bench Telecom | 88.6% | 95.9% | GLM 4.7 |
| APEX-Agents | 49.2% | Not measured | Only Claude Opus 4.7 measured |
| OSWorld 2.0 | 18.2% | Not measured | Only Claude Opus 4.7 measured |
| PostTrainBench | 28.6% | Not measured | Only Claude Opus 4.7 measured |
| Vending-Bench 2 | $10,937 | $2,377 | Claude Opus 4.7 |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | 80.0% | Claude Opus 4.7 |
| MMMU Pro (Vals AI) | 85.5% | Not measured | Only Claude Opus 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 85.9% | Claude Opus 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 27.4% | Claude Opus 4.7 |
| GPQA Diamond (Epoch AI run) | 90.2% | 83.3% | Claude Opus 4.7 |
| ARC-AGI | 93.5% | Not measured | Only Claude Opus 4.7 measured |
| ARC-AGI-2 | 75.8% | Not measured | Only Claude Opus 4.7 measured |
| SimpleBench | 61.7% | 47.7% | Claude Opus 4.7 |
| Chess puzzles | 41.0% | 21.0% | Claude Opus 4.7 |
| Mystery game puzzles | 28.0% | Not measured | Only Claude Opus 4.7 measured |
| EBR-bench | 19.0% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: hard prompts | 1506 | 1443 | Claude Opus 4.7 |
| LMArena Text: expert | 1521 | 1424 | Claude Opus 4.7 |
| LMArena Text: hard prompts in English | 1508 | 1452 | Claude Opus 4.7 |
| LMArena Vision: diagrams | 1336 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: homework | 1337 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| AIME | 96.3% | 93.3% | Claude Opus 4.7 |
| MGSM (Vals AI) | Not measured | 88.2% | Only GLM 4.7 measured |
| 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 | 97.8% | 83.3% | Claude Opus 4.7 |
| FrontierMath, tiers 1 to 3 | 70.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierMath, tier 4 | 31.7% | Not measured | Only Claude Opus 4.7 measured |
| ProofBench | 54.0% | 6.0% | Claude Opus 4.7 |
| LMArena Text: math | 1498 | 1424 | Claude Opus 4.7 |
| LMArena Text: mathematical work | 1509 | 1411 | Claude Opus 4.7 |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | 82.7% | Claude Opus 4.7 |
| LegalBench (Vals AI) | 85.3% | 83.4% | Claude Opus 4.7 |
| CaseLaw (Vals AI) | 68.4% | 54.9% | Claude Opus 4.7 |
| CorpFin (Vals AI) | 66.1% | 46.4% | Claude Opus 4.7 |
| TaxEval (Vals AI) | 75.3% | 68.8% | Claude Opus 4.7 |
| MortgageTax (Vals AI) | 70.3% | Not measured | Only Claude Opus 4.7 measured |
| MedQA (Vals AI) | Not measured | 93.7% | Only GLM 4.7 measured |
| MedCode (Vals AI) | 54.9% | 32.8% | Claude Opus 4.7 |
| MMLU Pro (Artificial Analysis run) | Not measured | 85.6% | Only GLM 4.7 measured |
| SimpleQA Verified | 51.7% | 32.2% | Claude Opus 4.7 |
| LMArena Text: science | 1508 | 1457 | Claude Opus 4.7 |
| LMArena Text: medicine and healthcare | 1495 | 1469 | Claude Opus 4.7 |
| LMArena Text: legal and government | 1504 | 1444 | Claude Opus 4.7 |
| LMArena Text: business and finance | 1490 | 1429 | Claude Opus 4.7 |
| Neither model has a result on the other 3 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1226 | Only GLM 4.7 measured |
| Design Arena: UI components | Not measured | 1199 | Only GLM 4.7 measured |
| Design Arena: game dev | Not measured | 1189 | Only GLM 4.7 measured |
| Design Arena: data viz | Not measured | 1195 | Only GLM 4.7 measured |
| Design Arena: 3D | Not measured | 1191 | Only GLM 4.7 measured |
| Design Arena: all code categories | Not measured | 1217 | Only GLM 4.7 measured |
| Design Arena: SVG | Not measured | 1142 | Only GLM 4.7 measured |
| Design Arena: ASCII art | Not measured | 1165 | Only GLM 4.7 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
| Benchmark | Claude Opus 4.7 | GLM 4.7 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 56.1% | Not measured | Only Claude Opus 4.7 measured |
| MedScribe (Vals AI) | 83.0% | 68.6% | Claude Opus 4.7 |
| Vals Multimodal Index | 67.4% | Not measured | Only Claude Opus 4.7 measured |
| IFBench | 58.6% | 67.9% | GLM 4.7 |
| Long context reasoning (AA-LCR) | 78.7% | 71.0% | Claude Opus 4.7 |
| DTBench | 94.7% | Not measured | Only Claude Opus 4.7 measured |
| LMCA | 52.2% | Not measured | Only Claude Opus 4.7 measured |
| CL-bench | Not measured | 15.9% | Only GLM 4.7 measured |
| Furniture assembly | 33.3% | Not measured | Only Claude Opus 4.7 measured |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| CL-bench Life | Not measured | 10.9% | Only GLM 4.7 measured |
| LMArena Text | 1490 | 1435 | Claude Opus 4.7 |
| LMArena Text: instruction following | 1498 | 1412 | Claude Opus 4.7 |
| LMArena Text: creative writing | 1486 | 1401 | Claude Opus 4.7 |
| LMArena Vision | 1317 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: English | 1496 | 1453 | Claude Opus 4.7 |
| LMArena Text: non-English | 1480 | 1417 | Claude Opus 4.7 |
| LMArena Text: Chinese | 1531 | 1495 | Claude Opus 4.7 |
| LMArena Text: German | 1495 | 1426 | Claude Opus 4.7 |
| LMArena Text: Japanese | 1474 | 1439 | Claude Opus 4.7 |
| LMArena Text: Korean | 1464 | 1399 | Claude Opus 4.7 |
| LMArena Text: French | 1503 | 1432 | Claude Opus 4.7 |
| LMArena Text: Spanish | 1494 | 1434 | Claude Opus 4.7 |
| LMArena Text: Russian | 1494 | 1423 | Claude Opus 4.7 |
| LMArena Text: Polish | 1489 | 1435 | Claude Opus 4.7 |
| LMArena Text: multi-turn | 1505 | 1446 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1505 | 1432 | Claude Opus 4.7 |
| LMArena Text: writing and language | 1492 | 1411 | Claude Opus 4.7 |
| LMArena Text: entertainment and media | 1474 | 1400 | Claude Opus 4.7 |
| LMArena Vision: English | 1322 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: Chinese | 1371 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: reading text | 1327 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: humor | 1309 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: recognizing things | 1278 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: creative writing | 1326 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Document | 1495 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 10 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.7 | 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.7 | Z.ai GLM 4.7 |
|---|---|---|
| Maker | Anthropic | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | April 16, 2026 | December 22, 2025 |
| Context window | 1M | 205K |
| Input $/Mtok | $5.00 | $0.54 |
| Output $/Mtok | $25.00 | $1.98 |
| Coding index | 51.1 | 33.6 |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | $2.95 | $0.29 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than GLM 4.7 for coding?
Pick Claude Opus 4.7 for coding: it scores 51.1 on the Vibe Coding Index against 33.6 for GLM 4.7. Pick GLM 4.7 when output tokens cost 12.6x less, or when a solved task costs $0.29 against $2.95.
Which is cheaper, Claude Opus 4.7 or GLM 4.7?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GLM 4.7 costs $0.54 and $1.98. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GLM 4.7 $0.29.
Which has the bigger context window, Claude Opus 4.7 or GLM 4.7?
Claude Opus 4.7, with 1M tokens against 205K.
How many benchmarks is the Claude Opus 4.7 vs GLM 4.7 comparison based on?
59 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.7's coding index rests on 1 independent benchmark and GLM 4.7's on 1. Where only one model has a result, the page says so instead of naming a winner.