Claude Opus 4.7 vs Gemma 4 26B A4B
Updated October 21, 2026. 51 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 22.8 for Gemma 4 26B A4B.
Pick Gemma 4 26B A4B when output tokens cost 98.0x less, or when the benchmark that matters is IFBench, where it leads.
- Shared results
- 51
- Claude Opus 4.7 only
- 50
- Gemma 4 26B A4B only
- 3
- 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 22.8.
One benchmark behind each score
Intelligence
AA Intelligence Index
Claude Opus 4.7
Claude Opus 4.7 leads, 40.7 against 16.7.
Same board, both measured
Agentic work
AA Agentic Index
Claude Opus 4.7
Claude Opus 4.7 leads, 38.6 against 2.9.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.7 has a GPQA Diamond result, 90.2%.
Directional only
Math
AIME
No call
Only Claude Opus 4.7 has a AIME result, 96.3%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.7 has a MMLU Pro result, 89.9%.
Directional only
Long documents
Listed context window
Claude Opus 4.7
Claude Opus 4.7 takes 1M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 26B A4B
Claude Opus 4.7 $0.018, Gemma 4 26B A4B $0.0002 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Claude Opus 4.7 has the number, $2.95.
Directional only
At a glance
- Coding index
- Claude Opus 4.7 51.1 from 1 benchmark, Gemma 4 26B A4B 22.8 from 1 benchmark.
- Widest category
- Agentic work, 40.4 points apart on average over 2 shared benchmarks.
- Widest single gap
- τ²-Bench Telecom: Claude Opus 4.7 88.6% against Gemma 4 26B A4B 43.6%, 45.0 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.7 $25.00 against Gemma 4 26B A4B $0.255 per million output tokens, 98.0x apart.
- Context window
- Claude Opus 4.7 takes 1M tokens, Gemma 4 26B A4B 262K.
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 | Gemma 4 26B A4B | Ties |
|---|---|---|---|---|
| Coding | 8 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 8 | 0 | ||
| Math | 3 | 0 | ||
| Knowledge | 4 | 0 | ||
| General | 23 | 1 | ||
| All shared boards | 50 | 1 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index80
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| LMArena WebDev | 1558 | 1360 | Claude Opus 4.7 |
| AA Coding Index | 73.6 | 39.3 | Claude Opus 4.7 |
| LiveCodeBench (Vals AI) | 85.1% | Not measured | Only Claude Opus 4.7 measured |
| SWE-bench Verified (Vals AI) | 82.0% | Not measured | Only Claude Opus 4.7 measured |
| 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 |
| SciCode | Not measured | 40.0% | Only Gemma 4 26B A4B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | 25.0% | Claude Opus 4.7 |
| Terminal-Bench | 80.2% | Not measured | Only Claude Opus 4.7 measured |
| 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% | 35.2% | Claude Opus 4.7 |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 927.2 | Only Gemma 4 26B A4B measured |
| LMArena Text: coding | 1519 | 1446 | Claude Opus 4.7 |
| LMArena Text: software and IT | 1516 | 1454 | Claude Opus 4.7 |
| LMArena WebDev: React | 1560 | 1351 | Claude Opus 4.7 |
| LMArena WebDev: HTML | 1554 | 1362 | 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 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | 16.7 | Claude Opus 4.7 |
| Epoch Capabilities Index | 156.8 | 141.9 | Claude Opus 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | 2.9 | Claude Opus 4.7 |
| 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% | 43.6% | Claude Opus 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 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | Not measured | Only Claude Opus 4.7 measured |
| MMMU Pro (Vals AI) | 85.5% | Not measured | Only Claude Opus 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 79.2% | Claude Opus 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 19.3% | Claude Opus 4.7 |
| GPQA Diamond (Epoch AI run) | 90.2% | 73.2% | 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% | Not measured | Only Claude Opus 4.7 measured |
| Chess puzzles | 41.0% | Not measured | Only Claude Opus 4.7 measured |
| 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 | 1438 | Claude Opus 4.7 |
| LMArena Text: expert | 1521 | 1447 | Claude Opus 4.7 |
| LMArena Text: hard prompts in English | 1508 | 1448 | Claude Opus 4.7 |
| LMArena Vision: diagrams | 1336 | 1264 | Claude Opus 4.7 |
| LMArena Vision: homework | 1337 | 1293 | Claude Opus 4.7 |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| AIME | 96.3% | Not measured | Only Claude Opus 4.7 measured |
| OTIS Mock AIME | 97.8% | 82.2% | 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% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: math | 1498 | 1470 | Claude Opus 4.7 |
| LMArena Text: mathematical work | 1509 | 1475 | Claude Opus 4.7 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | Not measured | Only Claude Opus 4.7 measured |
| LegalBench (Vals AI) | 85.3% | Not measured | Only Claude Opus 4.7 measured |
| CaseLaw (Vals AI) | 68.4% | Not measured | Only Claude Opus 4.7 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only Claude Opus 4.7 measured |
| TaxEval (Vals AI) | 75.3% | Not measured | Only Claude Opus 4.7 measured |
| MortgageTax (Vals AI) | 70.3% | Not measured | Only Claude Opus 4.7 measured |
| MedCode (Vals AI) | 54.9% | Not measured | Only Claude Opus 4.7 measured |
| SimpleQA Verified | 51.7% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: science | 1508 | 1446 | Claude Opus 4.7 |
| LMArena Text: medicine and healthcare | 1495 | 1428 | Claude Opus 4.7 |
| LMArena Text: legal and government | 1504 | 1457 | Claude Opus 4.7 |
| LMArena Text: business and finance | 1490 | 1429 | Claude Opus 4.7 |
| Neither model has a result on the other 5 boards here | |||
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| Neither model has a result on 9 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index231
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 56.1% | Not measured | Only Claude Opus 4.7 measured |
| MedScribe (Vals AI) | 83.0% | Not measured | Only Claude Opus 4.7 measured |
| Vals Multimodal Index | 67.4% | Not measured | Only Claude Opus 4.7 measured |
| IFBench | 58.6% | 72.4% | Gemma 4 26B A4B |
| Long context reasoning (AA-LCR) | 78.7% | 65.7% | Claude Opus 4.7 |
| DTBench | 94.7% | 74.9% | Claude Opus 4.7 |
| LMCA | 52.2% | 29.7% | Claude Opus 4.7 |
| Furniture assembly | 33.3% | Not measured | Only Claude Opus 4.7 measured |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | 1434 | Claude Opus 4.7 |
| LMArena Text: instruction following | 1498 | 1420 | Claude Opus 4.7 |
| LMArena Text: creative writing | 1486 | 1400 | Claude Opus 4.7 |
| LMArena Vision | 1317 | 1260 | Claude Opus 4.7 |
| LMArena Text: English | 1496 | 1444 | Claude Opus 4.7 |
| LMArena Text: non-English | 1480 | 1421 | Claude Opus 4.7 |
| LMArena Text: Chinese | 1531 | 1495 | Claude Opus 4.7 |
| LMArena Text: German | 1495 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Japanese | 1474 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: Korean | 1464 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: French | 1503 | 1460 | Claude Opus 4.7 |
| LMArena Text: Spanish | 1494 | 1415 | Claude Opus 4.7 |
| LMArena Text: Russian | 1494 | 1434 | Claude Opus 4.7 |
| LMArena Text: Polish | 1489 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: multi-turn | 1505 | 1441 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1505 | 1427 | Claude Opus 4.7 |
| LMArena Text: writing and language | 1492 | 1405 | Claude Opus 4.7 |
| LMArena Text: entertainment and media | 1474 | 1403 | Claude Opus 4.7 |
| LMArena Vision: English | 1322 | 1256 | Claude Opus 4.7 |
| LMArena Vision: Chinese | 1371 | 1312 | Claude Opus 4.7 |
| LMArena Vision: reading text | 1327 | 1268 | Claude Opus 4.7 |
| LMArena Vision: humor | 1309 | 1272 | Claude Opus 4.7 |
| LMArena Vision: captioning | Not measured | 1297 | Only Gemma 4 26B A4B measured |
| LMArena Vision: recognizing things | 1278 | 1191 | Claude Opus 4.7 |
| LMArena Vision: creative writing | 1326 | 1256 | Claude Opus 4.7 |
| LMArena Document | 1495 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.7 | Gemma 4 26B A4B | 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
Gemma 4 26B A4B costs less
Repository review
50K input + 3K output tokens
Gemma 4 26B A4B costs less
Agent loop
200K input + 10K output tokens
Gemma 4 26B A4B 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 | Google Gemma 4 26B A4B |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | Open weights |
| Released | April 16, 2026 | April 3, 2026 |
| Context window | 1M | 262K |
| Input $/Mtok | $5.00 | $0.0765 |
| Output $/Mtok | $25.00 | $0.255 |
| Coding index | 51.1 | 22.8 |
| Independent measurements behind it | 1 | 1 |
| Cost per solved task | $2.95 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than Gemma 4 26B A4B for coding?
Pick Claude Opus 4.7 for coding: it scores 51.1 on the Vibe Coding Index against 22.8 for Gemma 4 26B A4B. Pick Gemma 4 26B A4B when output tokens cost 98.0x less, or when the benchmark that matters is IFBench, where it leads.
Which is cheaper, Claude Opus 4.7 or Gemma 4 26B A4B?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemma 4 26B A4B costs $0.0765 and $0.255. Cost per solved task is known for Claude Opus 4.7 only.
Which has the bigger context window, Claude Opus 4.7 or Gemma 4 26B A4B?
Claude Opus 4.7, with 1M tokens against 262K.
How many benchmarks is the Claude Opus 4.7 vs Gemma 4 26B A4B comparison based on?
51 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 Gemma 4 26B A4B's on 1. Where only one model has a result, the page says so instead of naming a winner.