Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-4o-mini

Gemma 2 27B and GPT-4o-mini cost about the same per output token ($0.65 vs $0.60 per million). Updated October 21, 2026; 4 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
GPT-4o-miniOpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
4
vs boards won of 4 shared

Gemma 2 27B or GPT-4o-mini: which to pick

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

Pick Gemma 2 27B for work measured by Epoch Capabilities Index or MMLU, where it leads.

Shared results
4
Gemma 2 27B only
32
GPT-4o-mini only
25
Like-for-like categories
3 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-4o-mini not benchmarked.
Widest category
Knowledge, 6.1 points apart on average over 1 shared benchmark.
Widest single gap
DTBench: Gemma 2 27B 48.0% against GPT-4o-mini 54.4%, 6.4 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-4o-mini $0.60 per million output tokens, 1.1x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-4o-mini 128K.

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-4o-miniTies
Intelligence01
Knowledge01
General02
All shared boards04
CodingDirectional onlySix of these boards feed the Vibe Coding Index6 boards, none shared
Coding benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
AA Coding IndexNot measured11.4Only GPT-4o-mini measured
LiveCodeBench (Vals AI)Not measured26.4%Only GPT-4o-mini measured
LiveCodeBench (Artificial Analysis run)Not measured23.4%Only GPT-4o-mini measured
LMArena Text: coding1211Not measuredOnly Gemma 2 27B measured
LMArena Text: software and IT1228Not measuredOnly Gemma 2 27B measured
SciCodeNot measured1.5%Only GPT-4o-mini measured
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
AA Intelligence IndexNot measured6.7Only GPT-4o-mini measured
Epoch Capabilities Index122.1126.5GPT-4o-mini
Agentic workNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
Neither model has a result on 41 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Reasoning benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
GPQA DiamondNot measured44.2%Only GPT-4o-mini measured
MMMU Pro (Vals AI)Not measured56.6%Only GPT-4o-mini measured
GPQA Diamond (Artificial Analysis run)Not measured42.6%Only GPT-4o-mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured4.2%Only GPT-4o-mini measured
GPQA Diamond (Epoch AI run)36.5%Not measuredOnly Gemma 2 27B measured
ARC-AGI-2Not measured0.0%Only GPT-4o-mini measured
LMArena Text: hard prompts1198Not measuredOnly Gemma 2 27B measured
LMArena Text: expert1171Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts in English1206Not measuredOnly Gemma 2 27B measured
Kagi LLM BenchmarkNot measured28.8%Only GPT-4o-mini measured
Neither model has a result on the other 12 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Math benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
AIMENot measured11.5%Only GPT-4o-mini measured
MATH 500 (Vals AI)Not measured72.6%Only GPT-4o-mini measured
MGSM (Vals AI)Not measured86.2%Only GPT-4o-mini measured
AA Math IndexNot measured14.7Only GPT-4o-mini measured
AIME 2025 (Artificial Analysis run)Not measured14.7%Only GPT-4o-mini measured
OTIS Mock AIME1.4%Not measuredOnly Gemma 2 27B measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
GSM8KNot measured91.3%Only GPT-4o-mini measured
LMArena Text: math1212Not measuredOnly Gemma 2 27B measured
LMArena Text: mathematical work1221Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
MMLU ProNot measured62.7%Only GPT-4o-mini measured
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
CorpFin (Vals AI)Not measured45.5%Only GPT-4o-mini measured
TaxEval (Vals AI)Not measured60.5%Only GPT-4o-mini measured
MortgageTax (Vals AI)Not measured54.5%Only GPT-4o-mini measured
MedQA (Vals AI)Not measured72.4%Only GPT-4o-mini measured
MMLU Pro (Artificial Analysis run)Not measured64.8%Only GPT-4o-mini measured
MMLU75.7%81.8%GPT-4o-mini
LMArena Text: science1228Not measuredOnly Gemma 2 27B measured
LMArena Text: medicine and healthcare1198Not measuredOnly Gemma 2 27B measured
LMArena Text: legal and government1241Not measuredOnly Gemma 2 27B measured
LMArena Text: business and finance1208Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 6 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Gemma 2 27B and GPT-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
IFBenchNot measured31.0%Only GPT-4o-mini measured
DTBench48.0%54.4%GPT-4o-mini
LMCA7.1%10.4%GPT-4o-mini
PIQANot measured88.7%Only GPT-4o-mini measured
LMArena Text1231Not measuredOnly Gemma 2 27B measured
LMArena Text: instruction following1206Not measuredOnly Gemma 2 27B measured
LMArena Text: creative writing1240Not measuredOnly Gemma 2 27B measured
LMArena Text: English1242Not measuredOnly Gemma 2 27B measured
LMArena Text: non-English1217Not measuredOnly Gemma 2 27B measured
LMArena Text: Chinese1221Not measuredOnly Gemma 2 27B measured
LMArena Text: German1209Not measuredOnly Gemma 2 27B measured
LMArena Text: Japanese1175Not measuredOnly Gemma 2 27B measured
LMArena Text: Korean1174Not measuredOnly Gemma 2 27B measured
LMArena Text: French1248Not measuredOnly Gemma 2 27B measured
LMArena Text: Spanish1228Not measuredOnly Gemma 2 27B measured
LMArena Text: Russian1234Not measuredOnly Gemma 2 27B measured
LMArena Text: Polish1277Not measuredOnly Gemma 2 27B measured
LMArena Text: multi-turn1224Not measuredOnly Gemma 2 27B measured
LMArena Text: longer queries1230Not measuredOnly Gemma 2 27B measured
LMArena Text: writing and language1249Not measuredOnly Gemma 2 27B measured
LMArena Text: entertainment and media1212Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 25 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-4o-mini
BenchmarkGemma 2 27BGPT-4o-miniLeader
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-4o-mini$0.0004Fits in one request

GPT-4o-mini costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GPT-4o-mini$0.0093Fits in one request

GPT-4o-mini costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-4o-mini$0.036Exceeds the context window

GPT-4o-mini 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-4o-mini
SpecificationGoogle Gemma 2 27BOpenAI GPT-4o-mini
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024July 18, 2024
Context window8K128K
Input $/Mtok$0.65$0.15
Output $/Mtok$0.65$0.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GPT-4o-mini for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 2 27B for work measured by Epoch Capabilities Index or MMLU, where it leads.

Which is cheaper, Gemma 2 27B or GPT-4o-mini?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-4o-mini costs $0.15 and $0.60. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 2 27B or GPT-4o-mini?

GPT-4o-mini, with 128K tokens against 8K.

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

4 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-4o-mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next