Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-5.1

Gemma 2 27B costs 15.4x less per output token than GPT-5.1 ($0.65 vs $10.00 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
GPT-5.1OpenAI
Coding
40.4
Overall
55.0
Output $/M
$10.00
34
vs boards won of 34 shared

Gemma 2 27B or GPT-5.1: which to pick

Only GPT-5.1 has a coding score, 40.4 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 15.4x cheaper ($0.65 vs $10.00 per million).

Shared results
34
Gemma 2 27B only
2
GPT-5.1 only
67
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
Gemma 2 27B not benchmarked, GPT-5.1 40.4 from 3 benchmarks.
Widest category
Math, 54.7 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against GPT-5.1 88.6%, 87.2 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-5.1 $10.00 per million output tokens, 15.4x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-5.1 400K.

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
CategoryGemma 2 27BBarsGPT-5.1Ties
Coding02
Intelligence01
Reasoning04
Math03
Knowledge05
General019
All shared boards034
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LMArena WebDevNot measured1396Only GPT-5.1 measured
AA Coding IndexNot measured49.4Only GPT-5.1 measured
LiveCodeBench (Vals AI)Not measured86.5%Only GPT-5.1 measured
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.1 measured
Vibe Code Bench (Vals AI)Not measured24.6%Only GPT-5.1 measured
LiveCodeBench (Artificial Analysis run)Not measured86.8%Only GPT-5.1 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured45.5%Only GPT-5.1 measured
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdMLNot measured60.8%Only GPT-5.1 measured
LMArena Text: coding12111453GPT-5.1
LMArena Text: software and IT12281454GPT-5.1
LMArena WebDev: ReactNot measured1307Only GPT-5.1 measured
LMArena WebDev: HTMLNot measured1405Only GPT-5.1 measured
LMArena WebDev: from an imageNot measured1421Only GPT-5.1 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
AA Intelligence IndexNot measured24.7Only GPT-5.1 measured
Epoch Capabilities Index122.1149.8GPT-5.1
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
τ²-Bench TelecomNot measured81.9%Only GPT-5.1 measured
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2Not measured$1,473Only GPT-5.1 measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
GPQA DiamondNot measured86.6%Only GPT-5.1 measured
MMMU Pro (Vals AI)Not measured83.2%Only GPT-5.1 measured
GPQA Diamond (Artificial Analysis run)Not measured87.3%Only GPT-5.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured28.5%Only GPT-5.1 measured
GPQA Diamond (Epoch AI run)36.5%87.6%GPT-5.1
ARC-AGINot measured72.8%Only GPT-5.1 measured
ARC-AGI-2Not measured17.6%Only GPT-5.1 measured
SimpleBenchNot measured53.2%Only GPT-5.1 measured
Chess puzzlesNot measured42.0%Only GPT-5.1 measured
Mystery game puzzlesNot measured19.0%Only GPT-5.1 measured
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts11981457GPT-5.1
LMArena Text: expert11711470GPT-5.1
LMArena Text: hard prompts in English12061462GPT-5.1
LMArena Vision: diagramsNot measured1264Only GPT-5.1 measured
LMArena Vision: homeworkNot measured1272Only GPT-5.1 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
AIMENot measured93.3%Only GPT-5.1 measured
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AA Math IndexNot measured94.0Only GPT-5.1 measured
AIME 2025 (Artificial Analysis run)Not measured94.0%Only GPT-5.1 measured
OTIS Mock AIME1.4%88.6%GPT-5.1
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math12121446GPT-5.1
LMArena Text: mathematical work12211449GPT-5.1
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
MMLU ProNot measured86.4%Only GPT-5.1 measured
LegalBench (Vals AI)68.0%85.7%GPT-5.1
CaseLaw (Vals AI)Not measured73.4%Only GPT-5.1 measured
CorpFin (Vals AI)Not measured63.8%Only GPT-5.1 measured
TaxEval (Vals AI)Not measured74.9%Only GPT-5.1 measured
MortgageTax (Vals AI)Not measured61.4%Only GPT-5.1 measured
MedQA (Vals AI)Not measured96.4%Only GPT-5.1 measured
MedCode (Vals AI)Not measured52.7%Only GPT-5.1 measured
MMLU Pro (Artificial Analysis run)Not measured87.0%Only GPT-5.1 measured
SimpleQA VerifiedNot measured48.0%Only GPT-5.1 measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281459GPT-5.1
LMArena Text: medicine and healthcare11981456GPT-5.1
LMArena Text: legal and government12411459GPT-5.1
LMArena Text: business and finance12081431GPT-5.1
FACTS Benchmark SuiteNot measured45.0%Only GPT-5.1 measured
Neither model has a result on the other 2 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
Design Arena: websitesNot measured1187Only GPT-5.1 measured
Design Arena: UI componentsNot measured1166Only GPT-5.1 measured
Design Arena: game devNot measured1179Only GPT-5.1 measured
Design Arena: data vizNot measured1204Only GPT-5.1 measured
Design Arena: 3DNot measured1061Only GPT-5.1 measured
Design Arena: all code categoriesNot measured1171Only GPT-5.1 measured
Design Arena: SVGNot measured1149Only GPT-5.1 measured
Design Arena: ASCII artNot measured1119Only GPT-5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
SAGE (Vals AI)Not measured43.2%Only GPT-5.1 measured
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
IFBenchNot measured72.9%Only GPT-5.1 measured
Long context reasoning (AA-LCR)Not measured80.0%Only GPT-5.1 measured
DTBench48.0%90.1%GPT-5.1
LMCA7.1%43.9%GPT-5.1
CL-benchNot measured23.7%Only GPT-5.1 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text12311443GPT-5.1
LMArena Text: instruction following12061443GPT-5.1
LMArena Text: creative writing12401427GPT-5.1
LMArena VisionNot measured1250Only GPT-5.1 measured
LMArena Text: English12421451GPT-5.1
LMArena Text: non-English12171431GPT-5.1
LMArena Text: Chinese12211495GPT-5.1
LMArena Text: German12091438GPT-5.1
LMArena Text: Japanese11751453GPT-5.1
LMArena Text: Korean11741401GPT-5.1
LMArena Text: French12481450GPT-5.1
LMArena Text: Spanish12281433GPT-5.1
LMArena Text: Russian12341435GPT-5.1
LMArena Text: Polish12771440GPT-5.1
LMArena Text: multi-turn12241450GPT-5.1
LMArena Text: longer queries12301448GPT-5.1
LMArena Text: writing and language12491428GPT-5.1
LMArena Text: entertainment and media12121415GPT-5.1
LMArena Vision: EnglishNot measured1252Only GPT-5.1 measured
LMArena Vision: ChineseNot measured1270Only GPT-5.1 measured
LMArena Vision: reading textNot measured1255Only GPT-5.1 measured
LMArena Vision: humorNot measured1263Only GPT-5.1 measured
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.1 measured
LMArena Vision: creative writingNot measured1266Only GPT-5.1 measured
LMArena DocumentNot measured1403Only GPT-5.1 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 Gemma 2 27B and GPT-5.1
BenchmarkGemma 2 27BGPT-5.1Leader
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 2 27B$0.0010Fits in one request
GPT-5.1$0.0063Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GPT-5.1$0.092Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-5.1$0.350Fits in one request

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 Gemma 2 27B and GPT-5.1
SpecificationGoogle Gemma 2 27BOpenAI GPT-5.1
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024November 13, 2025
Context window8K400K
Input $/Mtok$0.65$1.25
Output $/Mtok$0.65$10.00
Coding indexNot benchmarked40.4
Independent measurements behind it03
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GPT-5.1 for coding?

Only GPT-5.1 has a coding score, 40.4 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 15.4x cheaper ($0.65 vs $10.00 per million).

Which is cheaper, Gemma 2 27B or GPT-5.1?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1 only.

Which has the bigger context window, Gemma 2 27B or GPT-5.1?

GPT-5.1, with 400K tokens against 8K.

How many benchmarks is the Gemma 2 27B vs GPT-5.1 comparison based on?

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

Compare next