Enter opens the highlighted result. Esc closes.

Claude Opus 4.1 vs Gemma 2 27B

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

Claude Opus 4.1Anthropic
Coding
No data
Overall
50.2
Output $/M
$75.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.1 or Gemma 2 27B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Claude Opus 4.1 for a larger context window (200K against 8K tokens).

Shared results
34
Claude Opus 4.1 only
39
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.1 not benchmarked, Gemma 2 27B not benchmarked.
Widest category
Math, 46.5 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Claude Opus 4.1 68.9% against Gemma 2 27B 1.4%, 67.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.1 $75.00 against Gemma 2 27B $0.65 per million output tokens, 115.4x apart.
Context window
Claude Opus 4.1 takes 200K 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.1BarsGemma 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.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
LMArena WebDev1390Not measuredOnly Claude Opus 4.1 measured
LiveCodeBench (Vals AI)66.5%Not measuredOnly Claude Opus 4.1 measured
Terminal-Bench38.0%Not measuredOnly Claude Opus 4.1 measured
WeirdML45.9%Not measuredOnly Claude Opus 4.1 measured
Cybench42.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: coding14791211Claude Opus 4.1
LMArena Text: software and IT14561228Claude Opus 4.1
LMArena WebDev: HTML1399Not measuredOnly Claude Opus 4.1 measured
SciCode4.6%Not measuredOnly Claude Opus 4.1 measured
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
AA Intelligence Index22.8Not measuredOnly Claude Opus 4.1 measured
Epoch Capabilities Index144.1122.1Claude Opus 4.1
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
METR time horizons66.8%Not measuredOnly Claude Opus 4.1 measured
GDPval43.6%Not measuredOnly Claude Opus 4.1 measured
DeepResearch Bench48.3%Not measuredOnly Claude Opus 4.1 measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
GPQA Diamond76.3%Not measuredOnly Claude Opus 4.1 measured
MMMU Pro (Vals AI)77.5%Not measuredOnly Claude Opus 4.1 measured
GPQA Diamond (Epoch AI run)77.3%36.5%Claude Opus 4.1
SimpleBench60.0%Not measuredOnly Claude Opus 4.1 measured
Mystery game puzzles21.0%Not measuredOnly Claude Opus 4.1 measured
EBR-bench7.9%Not measuredOnly Claude Opus 4.1 measured
VPCT35.0%Not measuredOnly Claude Opus 4.1 measured
LMArena Text: hard prompts14421198Claude Opus 4.1
LMArena Text: expert14381171Claude Opus 4.1
LMArena Text: hard prompts in English14511206Claude Opus 4.1
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
AIME78.2%Not measuredOnly Claude Opus 4.1 measured
MATH 500 (Vals AI)95.4%Not measuredOnly Claude Opus 4.1 measured
MGSM (Vals AI)94.4%Not measuredOnly Claude Opus 4.1 measured
OTIS Mock AIME68.9%1.4%Claude Opus 4.1
FrontierMath, tiers 1 to 312.6%Not measuredOnly Claude Opus 4.1 measured
FrontierMath, tier 42.4%Not measuredOnly Claude Opus 4.1 measured
MATH level 5Not measured27.9%Only Gemma 2 27B measured
LMArena Text: math14311212Claude Opus 4.1
LMArena Text: mathematical work14341221Claude Opus 4.1
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
MMLU Pro87.9%Not measuredOnly Claude Opus 4.1 measured
LegalBench (Vals AI)83.5%68.0%Claude Opus 4.1
TaxEval (Vals AI)73.7%Not measuredOnly Claude Opus 4.1 measured
MortgageTax (Vals AI)61.1%Not measuredOnly Claude Opus 4.1 measured
MedQA (Vals AI)93.6%Not measuredOnly Claude Opus 4.1 measured
MedCode (Vals AI)47.2%Not measuredOnly Claude Opus 4.1 measured
MMLUNot measured75.7%Only Gemma 2 27B measured
LMArena Text: science14221228Claude Opus 4.1
LMArena Text: medicine and healthcare14161198Claude Opus 4.1
LMArena Text: legal and government14211241Claude Opus 4.1
LMArena Text: business and finance14061208Claude Opus 4.1
FACTS Benchmark Suite40.4%Not measuredOnly Claude Opus 4.1 measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
Design Arena: websites1176Not measuredOnly Claude Opus 4.1 measured
Design Arena: UI components1162Not measuredOnly Claude Opus 4.1 measured
Design Arena: game dev1171Not measuredOnly Claude Opus 4.1 measured
Design Arena: data viz1166Not measuredOnly Claude Opus 4.1 measured
Design Arena: 3D1152Not measuredOnly Claude Opus 4.1 measured
Design Arena: all code categories1170Not measuredOnly Claude Opus 4.1 measured
Design Arena: SVG1152Not measuredOnly Claude Opus 4.1 measured
Design Arena: ASCII art1167Not measuredOnly 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 index190
General benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 2 27BLeader
SAGE (Vals AI)31.4%Not measuredOnly Claude Opus 4.1 measured
MedScribe (Vals AI)73.9%Not measuredOnly Claude Opus 4.1 measured
DTBench80.0%48.0%Claude Opus 4.1
LMCA37.1%7.1%Claude Opus 4.1
Creative writing (Lech Mazur)84.7%Not measuredOnly Claude Opus 4.1 measured
LMArena Text14191231Claude Opus 4.1
LMArena Text: instruction following14351206Claude Opus 4.1
LMArena Text: creative writing14121240Claude Opus 4.1
LMArena Text: English14331242Claude Opus 4.1
LMArena Text: non-English14051217Claude Opus 4.1
LMArena Text: Chinese14271221Claude Opus 4.1
LMArena Text: German14131209Claude Opus 4.1
LMArena Text: Japanese13771175Claude Opus 4.1
LMArena Text: Korean13811174Claude Opus 4.1
LMArena Text: French14331248Claude Opus 4.1
LMArena Text: Spanish14481228Claude Opus 4.1
LMArena Text: Russian14221234Claude Opus 4.1
LMArena Text: Polish14131277Claude Opus 4.1
LMArena Text: multi-turn14441224Claude Opus 4.1
LMArena Text: longer queries14551230Claude Opus 4.1
LMArena Text: writing and language14181249Claude Opus 4.1
LMArena Text: entertainment and media13981212Claude Opus 4.1
Neither model has a result on the other 24 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 4.1 and Gemma 2 27B
BenchmarkClaude Opus 4.1Gemma 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.1$0.052Fits 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.1$0.975Fits 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.1$3.75Exceeds the context window
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.1 and Gemma 2 27B
SpecificationAnthropic Claude Opus 4.1Google Gemma 2 27B
MakerAnthropicGoogle
WeightsNo public weights listedOpen weights
ReleasedAugust 5, 2025July 13, 2024
Context window200K8K
Input $/Mtok$15.00$0.65
Output $/Mtok$75.00$0.65
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Claude Opus 4.1 for a larger context window (200K against 8K tokens).

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

Claude Opus 4.1 costs $15.00 per million input tokens and $75.00 per million output tokens; Gemma 2 27B costs $0.65 and $0.65. Cost per solved task is known for neither of them.

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

Claude Opus 4.1, with 200K tokens against 8K.

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

34 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.1's coding index rests on 1 independent benchmark 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