Claude Opus 4.1 vs GLM 4.7 Flash
Claude Opus 4.1 leads GLM 4.7 Flash on the Artificial Analysis Intelligence Index, 22.8 to 14.9, and GLM 4.7 Flash costs 187.5x less per output token ($0.40 vs $75.00 per million). Updated October 21, 2026; 37 benchmarks have a result for both.
Claude Opus 4.1 or GLM 4.7 Flash: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Claude Opus 4.1 for work measured by Design Arena: websites or Design Arena: UI components, where it leads.
- Shared results
- 37
- Claude Opus 4.1 only
- 36
- GLM 4.7 Flash only
- 6
- 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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
Claude Opus 4.1
Claude Opus 4.1 leads, 22.8 against 14.9.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.1 has a GPQA Diamond result, 76.3%.
Directional only
Math
AIME
No call
Only Claude Opus 4.1 has a AIME result, 78.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.1 has a MMLU Pro result, 87.9%.
Directional only
Web design
Design Arena: websites
GLM 4.7 Flash
GLM 4.7 Flash leads, 1194 against 1177.
Same board, both measured
Long documents
Listed context window
No call
Both take 200K tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 4.7 Flash
Claude Opus 4.1 $0.052, GLM 4.7 Flash $0.0003 per turn.
List prices
At a glance
- Coding index
- Claude Opus 4.1 not benchmarked, GLM 4.7 Flash not benchmarked.
- Widest category
- General, 15.0 points apart on average over 16 shared benchmarks.
- Widest single gap
- LMArena Text: Polish: Claude Opus 4.1 1413 against GLM 4.7 Flash 1291, 20.3 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.1 $75.00 against GLM 4.7 Flash $0.40 per million output tokens, 187.5x apart.
- Context window
- Both take 200K tokens.
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 Flash | Ties |
|---|---|---|---|---|
| Coding | 2 | 0 | ||
| Intelligence | 1 | 0 | ||
| Reasoning | 4 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| Web design | 4 | 3 | ||
| General | 16 | 0 | ||
| All shared boards | 34 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| LMArena WebDev | 1390 | Not measured | Only Claude Opus 4.1 measured |
| LiveCodeBench (Vals AI) | 66.5% | Not measured | Only Claude Opus 4.1 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 22.0% | Only GLM 4.7 Flash measured |
| Terminal-Bench | 38.0% | Not measured | Only Claude Opus 4.1 measured |
| WeirdML | 45.9% | Not measured | Only Claude Opus 4.1 measured |
| Cybench | 42.0% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: coding | 1479 | 1382 | Claude Opus 4.1 |
| LMArena Text: software and IT | 1456 | 1389 | Claude Opus 4.1 |
| LMArena WebDev: HTML | 1399 | Not measured | Only Claude Opus 4.1 measured |
| SciCode | 4.6% | Not measured | Only Claude Opus 4.1 measured |
| Neither model has a result on the other 29 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | 22.8 | 14.9 | Claude Opus 4.1 |
| Epoch Capabilities Index | 144.1 | Not measured | Only Claude Opus 4.1 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 98.8% | Only GLM 4.7 Flash 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 |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| GPQA Diamond | 76.3% | Not measured | Only Claude Opus 4.1 measured |
| MMMU Pro (Vals AI) | 77.5% | Not measured | Only Claude Opus 4.1 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 58.1% | Only GLM 4.7 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 7.6% | Only GLM 4.7 Flash measured |
| GPQA Diamond (Epoch AI run) | 77.3% | 60.5% | Claude Opus 4.1 |
| SimpleBench | 60.0% | Not measured | Only Claude Opus 4.1 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 | 1356 | Claude Opus 4.1 |
| LMArena Text: expert | 1438 | 1357 | Claude Opus 4.1 |
| LMArena Text: hard prompts in English | 1451 | 1369 | Claude Opus 4.1 |
| Neither model has a result on the other 10 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AIME | 78.2% | Not measured | Only Claude Opus 4.1 measured |
| MATH 500 (Vals AI) | 95.4% | Not measured | Only Claude Opus 4.1 measured |
| MGSM (Vals AI) | 94.4% | Not measured | Only Claude Opus 4.1 measured |
| OTIS Mock AIME | 68.9% | 58.3% | Claude Opus 4.1 |
| 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 |
| LMArena Text: math | 1431 | 1355 | Claude Opus 4.1 |
| LMArena Text: mathematical work | 1434 | 1369 | Claude Opus 4.1 |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| MMLU Pro | 87.9% | Not measured | Only Claude Opus 4.1 measured |
| LegalBench (Vals AI) | 83.5% | Not measured | Only Claude Opus 4.1 measured |
| TaxEval (Vals AI) | 73.7% | Not measured | Only Claude Opus 4.1 measured |
| MortgageTax (Vals AI) | 61.1% | Not measured | Only Claude Opus 4.1 measured |
| MedQA (Vals AI) | 93.6% | Not measured | Only Claude Opus 4.1 measured |
| MedCode (Vals AI) | 47.2% | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: science | 1422 | 1358 | Claude Opus 4.1 |
| LMArena Text: medicine and healthcare | 1416 | 1343 | Claude Opus 4.1 |
| LMArena Text: legal and government | 1421 | 1357 | Claude Opus 4.1 |
| LMArena Text: business and finance | 1406 | 1343 | Claude Opus 4.1 |
| FACTS Benchmark Suite | 40.4% | Not measured | Only Claude Opus 4.1 measured |
| Neither model has a result on the other 7 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1177 | 1194 | GLM 4.7 Flash |
| Design Arena: UI components | 1165 | 1208 | GLM 4.7 Flash |
| Design Arena: game dev | 1171 | 1135 | Claude Opus 4.1 |
| Design Arena: data viz | 1166 | 1123 | Claude Opus 4.1 |
| Design Arena: 3D | 1153 | 1121 | Claude Opus 4.1 |
| Design Arena: all code categories | 1171 | 1178 | GLM 4.7 Flash |
| Design Arena: SVG | 1152 | 1038 | Claude Opus 4.1 |
| Design Arena: ASCII art | 1167 | Not measured | Only Claude Opus 4.1 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index160
| Benchmark | Claude Opus 4.1 | GLM 4.7 Flash | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 31.4% | Not measured | Only Claude Opus 4.1 measured |
| MedScribe (Vals AI) | 73.9% | Not measured | Only Claude Opus 4.1 measured |
| IFBench | Not measured | 60.8% | Only GLM 4.7 Flash measured |
| Long context reasoning (AA-LCR) | Not measured | 41.7% | Only GLM 4.7 Flash 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 |
| LMArena Text | 1419 | 1351 | Claude Opus 4.1 |
| LMArena Text: instruction following | 1435 | 1327 | Claude Opus 4.1 |
| LMArena Text: creative writing | 1412 | 1296 | Claude Opus 4.1 |
| LMArena Text: English | 1433 | 1373 | Claude Opus 4.1 |
| LMArena Text: non-English | 1405 | 1330 | Claude Opus 4.1 |
| LMArena Text: Chinese | 1427 | 1403 | Claude Opus 4.1 |
| LMArena Text: German | 1413 | 1336 | Claude Opus 4.1 |
| LMArena Text: Japanese | 1377 | Not measured | Only Claude Opus 4.1 measured |
| LMArena Text: Korean | 1381 | 1283 | Claude Opus 4.1 |
| LMArena Text: French | 1433 | 1332 | Claude Opus 4.1 |
| LMArena Text: Spanish | 1448 | 1350 | Claude Opus 4.1 |
| LMArena Text: Russian | 1422 | 1333 | Claude Opus 4.1 |
| LMArena Text: Polish | 1413 | 1291 | Claude Opus 4.1 |
| LMArena Text: multi-turn | 1444 | 1342 | Claude Opus 4.1 |
| LMArena Text: longer queries | 1455 | 1345 | Claude Opus 4.1 |
| LMArena Text: writing and language | 1418 | 1320 | Claude Opus 4.1 |
| LMArena Text: entertainment and media | 1398 | 1304 | Claude Opus 4.1 |
| Neither model has a result on the other 22 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 Flash | 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 Flash costs less
Repository review
50K input + 3K output tokens
GLM 4.7 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 4.7 Flash 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 Flash |
|---|---|---|
| Maker | Anthropic | Z.ai |
| Weights | No public weights listed | Open weights |
| Released | August 5, 2025 | January 19, 2026 |
| Context window | 200K | 200K |
| Input $/Mtok | $15.00 | $0.0653 |
| Output $/Mtok | $75.00 | $0.40 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.1 better than GLM 4.7 Flash for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Claude Opus 4.1 for work measured by Design Arena: websites or Design Arena: UI components, where it leads.
Which is cheaper, Claude Opus 4.1 or GLM 4.7 Flash?
Claude Opus 4.1 costs $15.00 per million input tokens and $75.00 per million output tokens; GLM 4.7 Flash costs $0.0653 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Claude Opus 4.1 or GLM 4.7 Flash?
Neither: both take 200K tokens.
How many benchmarks is the Claude Opus 4.1 vs GLM 4.7 Flash comparison based on?
37 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.1's coding index rests on 1 independent benchmark and GLM 4.7 Flash's on 0. Where only one model has a result, the page says so instead of naming a winner.