Enter opens the highlighted result. Esc closes.

Claude Opus 5 vs Gemma 2 27B

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

Claude Opus 5Anthropic
Coding
83.0
Overall
50.8
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 5 or Gemma 2 27B: which to pick

Only Claude Opus 5 has a coding score, 83.0 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 5 only
96
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 5 83.0 from 6 benchmarks, Gemma 2 27B not benchmarked.
Widest category
Math, 68.2 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Claude Opus 5 98.9% against Gemma 2 27B 1.4%, 97.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 5 $25.00 against Gemma 2 27B $0.65 per million output tokens, 38.5x apart.
Context window
Claude Opus 5 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 5BarsGemma 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 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
LiveBench coding90.8%Not measuredOnly Claude Opus 5 measured
LMArena WebDev1689Not measuredOnly Claude Opus 5 measured
AA Coding Index78.0Not measuredOnly Claude Opus 5 measured
LiveCodeBench (Vals AI)89.0%Not measuredOnly Claude Opus 5 measured
SWE-bench Verified (Vals AI)97.0%Not measuredOnly Claude Opus 5 measured
Terminal-Bench 4 (Vals AI)53.5%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench (Vals AI)88.4%Not measuredOnly Claude Opus 5 measured
Code migration (Vals AI)57.5%Not measuredOnly Claude Opus 5 measured
ProgramBench (Vals AI)3.0%Not measuredOnly Claude Opus 5 measured
IOI (Vals AI)84.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench 2.1 (Vals AI)84.6%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench 1-100 (Vals AI)28.5%Not measuredOnly Claude Opus 5 measured
SkillsBench (Vals AI)60.4%Not measuredOnly Claude Opus 5 measured
CyberBench (Vals AI)65.4%Not measuredOnly Claude Opus 5 measured
SciCode56.4%Not measuredOnly Claude Opus 5 measured
FrontierCode53.4%Not measuredOnly Claude Opus 5 measured
FrontierSWE52.0%Not measuredOnly Claude Opus 5 measured
WeirdML91.8%Not measuredOnly Claude Opus 5 measured
ALE-Bench2164.6Not measuredOnly Claude Opus 5 measured
LMArena Text: coding15331211Claude Opus 5
LMArena Text: software and IT15271228Claude Opus 5
LMArena WebDev: React1711Not measuredOnly Claude Opus 5 measured
LMArena WebDev: HTML1680Not measuredOnly Claude Opus 5 measured
LMArena WebDev: from an image1662Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
AA Intelligence Index50.8Not measuredOnly Claude Opus 5 measured
Epoch Capabilities Index163.9122.1Claude Opus 5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index27 boards, none shared
Agentic work benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
AA Agentic Index56.5Not measuredOnly Claude Opus 5 measured
Design Arena: agents building web apps1266Not measuredOnly Claude Opus 5 measured
Design Arena: agents building full-stack apps1306Not measuredOnly Claude Opus 5 measured
Design Arena: agents building mobile apps1348Not measuredOnly Claude Opus 5 measured
Design Arena: agents building Android apps1254Not measuredOnly Claude Opus 5 measured
Design Arena: agents building Godot games1279Not measuredOnly Claude Opus 5 measured
Design Arena: agents building games1261Not measuredOnly Claude Opus 5 measured
Design Arena: PowerPoint slides1265Not measuredOnly Claude Opus 5 measured
LiveBench research88.9%Not measuredOnly Claude Opus 5 measured
LiveBench browser84.0%Not measuredOnly Claude Opus 5 measured
LiveBench long agentic62.1%Not measuredOnly Claude Opus 5 measured
SREBench (Vals AI)12.2%Not measuredOnly Claude Opus 5 measured
Finance Agent (Vals AI)58.6%Not measuredOnly Claude Opus 5 measured
Tax Agent Bench (Vals AI)45.5%Not measuredOnly Claude Opus 5 measured
Legal Research Bench (Vals AI)55.3%Not measuredOnly Claude Opus 5 measured
Excel Modeling Benchmark (Vals AI)73.6%Not measuredOnly Claude Opus 5 measured
BioMysteryBench (Vals AI)79.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench-Science (Vals AI)27.1%Not measuredOnly Claude Opus 5 measured
Vals Science Index47.9%Not measuredOnly Claude Opus 5 measured
Time Horizon Index (Vals AI)18.8%Not measuredOnly Claude Opus 5 measured
CUA-bench (Vals AI)9.0%Not measuredOnly Claude Opus 5 measured
APEX-Agents65.8%Not measuredOnly Claude Opus 5 measured
OSWorld 2.031.4%Not measuredOnly Claude Opus 5 measured
BALROG63.4%Not measuredOnly Claude Opus 5 measured
PostTrainBench35.0%Not measuredOnly Claude Opus 5 measured
Vending-Bench 2$11,182Not measuredOnly Claude Opus 5 measured
LMArena Search1242Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 12 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
GPQA Diamond93.4%Not measuredOnly Claude Opus 5 measured
LiveBench reasoning91.2%Not measuredOnly Claude Opus 5 measured
MysteryMechanism (Vals AI)37.4%Not measuredOnly Claude Opus 5 measured
MMMU Pro (Vals AI)89.9%Not measuredOnly Claude Opus 5 measured
GPQA Diamond (Artificial Analysis run)93.7%Not measuredOnly Claude Opus 5 measured
Humanity's Last Exam (Artificial Analysis run)54.9%Not measuredOnly Claude Opus 5 measured
GPQA Diamond (Epoch AI run)93.9%36.5%Claude Opus 5
ARC-AGI97.5%Not measuredOnly Claude Opus 5 measured
ARC-AGI-290.4%Not measuredOnly Claude Opus 5 measured
SimpleBench80.6%Not measuredOnly Claude Opus 5 measured
Chess puzzles43.0%Not measuredOnly Claude Opus 5 measured
Mystery game puzzles59.0%Not measuredOnly Claude Opus 5 measured
EBR-bench45.7%Not measuredOnly Claude Opus 5 measured
LMArena Text: hard prompts15271198Claude Opus 5
LMArena Text: expert15541171Claude Opus 5
LMArena Text: hard prompts in English15231206Claude Opus 5
LMArena Vision: diagrams1348Not measuredOnly Claude Opus 5 measured
LMArena Vision: homework1338Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
OTIS Mock AIME98.9%1.4%Claude Opus 5
FrontierMath, tiers 1 to 385.6%Not measuredOnly Claude Opus 5 measured
FrontierMath, tier 473.2%Not measuredOnly Claude Opus 5 measured
ProofBench99.0%Not measuredOnly Claude Opus 5 measured
MATH level 5Not measured27.9%Only Gemma 2 27B measured
LMArena Text: math15331212Claude Opus 5
LMArena Text: mathematical work15441221Claude Opus 5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
MMLU Pro91.6%Not measuredOnly Claude Opus 5 measured
LegalBench (Vals AI)87.0%68.0%Claude Opus 5
CorpFin (Vals AI)73.2%Not measuredOnly Claude Opus 5 measured
TaxEval (Vals AI)75.1%Not measuredOnly Claude Opus 5 measured
MortgageTax (Vals AI)72.1%Not measuredOnly Claude Opus 5 measured
MedCode (Vals AI)63.6%Not measuredOnly Claude Opus 5 measured
SimpleQA Verified59.9%Not measuredOnly Claude Opus 5 measured
MMLUNot measured75.7%Only Gemma 2 27B measured
LMArena Text: science15311228Claude Opus 5
LMArena Text: medicine and healthcare15251198Claude Opus 5
LMArena Text: legal and government15301241Claude Opus 5
LMArena Text: business and finance15011208Claude Opus 5
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
Design Arena: websites1309Not measuredOnly Claude Opus 5 measured
Design Arena: UI components1349Not measuredOnly Claude Opus 5 measured
Design Arena: game dev1338Not measuredOnly Claude Opus 5 measured
Design Arena: data viz1329Not measuredOnly Claude Opus 5 measured
Design Arena: 3D1335Not measuredOnly Claude Opus 5 measured
Design Arena: all code categories1324Not measuredOnly Claude Opus 5 measured
Design Arena: SVG1311Not measuredOnly Claude Opus 5 measured
Design Arena: ASCII art1352Not measuredOnly Claude Opus 5 measured
LiveBench design83.0%Not measuredOnly Claude Opus 5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 2 27BLeader
LiveBench data analysis74.6%Not measuredOnly Claude Opus 5 measured
Public Benefits Bench (Vals AI)76.9%Not measuredOnly Claude Opus 5 measured
SAGE (Vals AI)49.4%Not measuredOnly Claude Opus 5 measured
MedScribe (Vals AI)91.0%Not measuredOnly Claude Opus 5 measured
Vals Multimodal Index73.9%Not measuredOnly Claude Opus 5 measured
Long context reasoning (AA-LCR)82.0%Not measuredOnly Claude Opus 5 measured
DTBench97.9%48.0%Claude Opus 5
LMCA64.5%7.1%Claude Opus 5
Furniture assembly60.8%Not measuredOnly Claude Opus 5 measured
LMArena Text15091231Claude Opus 5
LMArena Text: instruction following15181206Claude Opus 5
LMArena Text: creative writing14931240Claude Opus 5
LMArena Vision1320Not measuredOnly Claude Opus 5 measured
LMArena Text: English15081242Claude Opus 5
LMArena Text: non-English15021217Claude Opus 5
LMArena Text: Chinese15731221Claude Opus 5
LMArena Text: German15271209Claude Opus 5
LMArena Text: Japanese15201175Claude Opus 5
LMArena Text: Korean15171174Claude Opus 5
LMArena Text: French15191248Claude Opus 5
LMArena Text: Spanish15231228Claude Opus 5
LMArena Text: Russian15071234Claude Opus 5
LMArena Text: Polish15221277Claude Opus 5
LMArena Text: multi-turn15001224Claude Opus 5
LMArena Text: longer queries15171230Claude Opus 5
LMArena Text: writing and language14991249Claude Opus 5
LMArena Text: entertainment and media14811212Claude Opus 5
LMArena Vision: English1315Not measuredOnly Claude Opus 5 measured
LMArena Vision: Chinese1400Not measuredOnly Claude Opus 5 measured
LMArena Vision: reading text1329Not measuredOnly Claude Opus 5 measured
LMArena Vision: humor1293Not measuredOnly Claude Opus 5 measured
LMArena Vision: creative writing1313Not measuredOnly Claude Opus 5 measured
LMArena Document1516Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 5 and Gemma 2 27B
BenchmarkClaude Opus 5Gemma 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 5$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 5$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 5$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 5 and Gemma 2 27B
SpecificationAnthropic Claude Opus 5Google Gemma 2 27B
MakerAnthropicGoogle
WeightsNo public weights listedOpen weights
ReleasedJuly 24, 2026July 13, 2024
Context window1M8K
Input $/Mtok$5.00$0.65
Output $/Mtok$25.00$0.65
Coding index83.0Not benchmarked
Independent measurements behind it60
Cost per solved task$1.33Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Claude Opus 5 has a coding score, 83.0 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 5 or Gemma 2 27B?

Claude Opus 5 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 5 only.

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

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

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

34 benchmarks have a result for both models as of October 21, 2026. Claude Opus 5's coding index rests on 6 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