Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs Gemma 2 27B

Gemma 2 27B costs 38.5x less per output token than Claude Opus 4.7 ($0.65 vs $25.00 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
34
Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
vs boards won of 34 shared

Claude Opus 4.7 or Gemma 2 27B: which to pick

Only Claude Opus 4.7 has a coding score, 67.5 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding.

Pick Gemma 2 27B for output tokens 38.5x cheaper ($0.65 vs $25.00 per million).

Shared results
34
Claude Opus 4.7 only
69
Gemma 2 27B only
2
Like-for-like categories
6 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.

At a glance

Coding index
Claude Opus 4.7 67.5 from 4 benchmarks, Gemma 2 27B not benchmarked.
Widest category
Math, 64.0 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Claude Opus 4.7 97.8% against Gemma 2 27B 1.4%, 96.4 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against Gemma 2 27B $0.65 per million output tokens, 38.5x apart.
Context window
Claude Opus 4.7 takes 1M tokens, Gemma 2 27B 8K.

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.

Boards won, where both have a result
CategoryClaude Opus 4.7BarsGemma 2 27BTies
Coding20
Intelligence10
Reasoning40
Math30
Knowledge50
General190
All shared boards340
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
Coding benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
LMArena WebDev1558Not measuredOnly Claude Opus 4.7 measured
AA Coding Index73.6Not measuredOnly Claude Opus 4.7 measured
LiveCodeBench (Vals AI)85.1%Not measuredOnly Claude Opus 4.7 measured
SWE-bench Verified (Vals AI)82.0%Not measuredOnly Claude Opus 4.7 measured
Vibe Code Bench (Vals AI)71.0%Not measuredOnly Claude Opus 4.7 measured
Code migration (Vals AI)43.9%Not measuredOnly Claude Opus 4.7 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench 2.1 (Vals AI)68.5%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)54.5%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench80.2%Not measuredOnly Claude Opus 4.7 measured
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%Not measuredOnly Claude Opus 4.7 measured
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191211Claude Opus 4.7
LMArena Text: software and IT15161228Claude Opus 4.7
LMArena WebDev: React1560Not measuredOnly Claude Opus 4.7 measured
LMArena WebDev: HTML1554Not measuredOnly Claude Opus 4.7 measured
LMArena WebDev: from an image1577Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
AA Intelligence Index40.7Not measuredOnly Claude Opus 4.7 measured
Epoch Capabilities Index156.8122.1Claude Opus 4.7
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
AA Agentic Index38.6Not measuredOnly Claude Opus 4.7 measured
Finance Agent (Vals AI)51.5%Not measuredOnly Claude Opus 4.7 measured
Tax Agent Bench (Vals AI)23.7%Not measuredOnly Claude Opus 4.7 measured
Legal Research Bench (Vals AI)38.5%Not measuredOnly Claude Opus 4.7 measured
Excel Modeling Benchmark (Vals AI)63.7%Not measuredOnly Claude Opus 4.7 measured
τ²-Bench Telecom88.6%Not measuredOnly Claude Opus 4.7 measured
APEX-Agents49.2%Not measuredOnly Claude Opus 4.7 measured
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
PostTrainBench28.6%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937Not measuredOnly Claude Opus 4.7 measured
LMArena Search1230Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 30 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
GPQA Diamond90.2%Not measuredOnly Claude Opus 4.7 measured
MMMU Pro (Vals AI)85.5%Not measuredOnly Claude Opus 4.7 measured
GPQA Diamond (Artificial Analysis run)91.4%Not measuredOnly Claude Opus 4.7 measured
Humanity's Last Exam (Artificial Analysis run)42.3%Not measuredOnly Claude Opus 4.7 measured
GPQA Diamond (Epoch AI run)90.2%36.5%Claude Opus 4.7
ARC-AGI93.5%Not measuredOnly Claude Opus 4.7 measured
ARC-AGI-275.8%Not measuredOnly Claude Opus 4.7 measured
SimpleBench61.7%Not measuredOnly Claude Opus 4.7 measured
Chess puzzles41.0%Not measuredOnly Claude Opus 4.7 measured
Mystery game puzzles28.0%Not measuredOnly Claude Opus 4.7 measured
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061198Claude Opus 4.7
LMArena Text: expert15211171Claude Opus 4.7
LMArena Text: hard prompts in English15081206Claude Opus 4.7
LMArena Vision: diagrams1336Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: homework1337Not measuredOnly Claude Opus 4.7 measured
Kagi LLM Benchmark80.7%Not measuredOnly 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 index30
Math benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
AIME96.3%Not measuredOnly Claude Opus 4.7 measured
OTIS Mock AIME97.8%1.4%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%Not measuredOnly Claude Opus 4.7 measured
FrontierMath, tier 431.7%Not measuredOnly Claude Opus 4.7 measured
ProofBench54.0%Not measuredOnly Claude Opus 4.7 measured
MATH level 5Not measured27.9%Only Gemma 2 27B measured
LMArena Text: math14981212Claude Opus 4.7
LMArena Text: mathematical work15091221Claude Opus 4.7
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
MMLU Pro89.9%Not measuredOnly Claude Opus 4.7 measured
LegalBench (Vals AI)85.3%68.0%Claude Opus 4.7
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%Not measuredOnly Claude Opus 4.7 measured
TaxEval (Vals AI)75.3%Not measuredOnly Claude Opus 4.7 measured
MortgageTax (Vals AI)70.3%Not measuredOnly Claude Opus 4.7 measured
MedCode (Vals AI)54.9%Not measuredOnly Claude Opus 4.7 measured
SimpleQA Verified51.7%Not measuredOnly Claude Opus 4.7 measured
MMLUNot measured75.7%Only Gemma 2 27B measured
LMArena Text: science15081228Claude Opus 4.7
LMArena Text: medicine and healthcare14951198Claude Opus 4.7
LMArena Text: legal and government15041241Claude Opus 4.7
LMArena Text: business and finance14901208Claude Opus 4.7
FACTS Benchmark Suite45.5%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 4 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
SAGE (Vals AI)56.1%Not measuredOnly Claude Opus 4.7 measured
MedScribe (Vals AI)83.0%Not measuredOnly Claude Opus 4.7 measured
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%Not measuredOnly Claude Opus 4.7 measured
Long context reasoning (AA-LCR)78.7%Not measuredOnly Claude Opus 4.7 measured
DTBench94.7%48.0%Claude Opus 4.7
LMCA52.2%7.1%Claude Opus 4.7
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901231Claude Opus 4.7
LMArena Text: instruction following14981206Claude Opus 4.7
LMArena Text: creative writing14861240Claude Opus 4.7
LMArena Vision1317Not measuredOnly Claude Opus 4.7 measured
LMArena Text: English14961242Claude Opus 4.7
LMArena Text: non-English14801217Claude Opus 4.7
LMArena Text: Chinese15311221Claude Opus 4.7
LMArena Text: German14951209Claude Opus 4.7
LMArena Text: Japanese14741175Claude Opus 4.7
LMArena Text: Korean14641174Claude Opus 4.7
LMArena Text: French15031248Claude Opus 4.7
LMArena Text: Spanish14941228Claude Opus 4.7
LMArena Text: Russian14941234Claude Opus 4.7
LMArena Text: Polish14891277Claude Opus 4.7
LMArena Text: multi-turn15051224Claude Opus 4.7
LMArena Text: longer queries15051230Claude Opus 4.7
LMArena Text: writing and language14921249Claude Opus 4.7
LMArena Text: entertainment and media14741212Claude Opus 4.7
LMArena Vision: English1322Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: Chinese1371Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: reading text1327Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: humor1309Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: recognizing things1278Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: creative writing1326Not measuredOnly Claude Opus 4.7 measured
LMArena Document1495Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 4.7 and Gemma 2 27B
BenchmarkClaude Opus 4.7Gemma 2 27BLeader
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

Claude Opus 4.7$0.018Fits in one request
Gemma 2 27B$0.0010Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.7$0.325Fits in one request
Gemma 2 27B$0.034Exceeds the context window

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.7$1.25Fits in one request
Gemma 2 27B$0.137Exceeds the context window

Gemma 2 27B 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.

Specifications of Claude Opus 4.7 and Gemma 2 27B
SpecificationAnthropic Claude Opus 4.7Google Gemma 2 27B
MakerAnthropicGoogle
WeightsNo public weights listedOpen weights
ReleasedApril 16, 2026July 13, 2024
Context window1M8K
Input $/Mtok$5.00$0.65
Output $/Mtok$25.00$0.65
Coding index67.5Not benchmarked
Independent measurements behind it40
Cost per solved task$2.95Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.7 better than Gemma 2 27B for coding?

Only Claude Opus 4.7 has a coding score, 67.5 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding. Pick Gemma 2 27B for output tokens 38.5x cheaper ($0.65 vs $25.00 per million).

Which is cheaper, Claude Opus 4.7 or Gemma 2 27B?

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemma 2 27B costs $0.65 and $0.65. Cost per solved task is known for Claude Opus 4.7 only.

Which has the bigger context window, Claude Opus 4.7 or Gemma 2 27B?

Claude Opus 4.7, with 1M tokens against 8K.

How many benchmarks is the Claude Opus 4.7 vs Gemma 2 27B comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.7's coding index rests on 4 independent benchmarks and Gemma 2 27B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next