Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-4o-mini (2024-07-18)

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

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
1
GPT-4o-mini (2024-07-18)OpenAI
Coding
No data
Overall
No data
Output $/M
$0.60
31
vs boards won of 32 shared

Gemma 2 27B or GPT-4o-mini (2024-07-18): 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 LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
32
Gemma 2 27B only
4
GPT-4o-mini (2024-07-18) only
14
Like-for-like categories
5 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 (2024-07-18) not benchmarked.
Widest category
Math, 12.0 points apart on average over 4 shared benchmarks.
Widest single gap
MATH level 5: Gemma 2 27B 27.9% against GPT-4o-mini (2024-07-18) 52.6%, 24.7 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-4o-mini (2024-07-18) $0.60 per million output tokens, 1.1x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-4o-mini (2024-07-18) 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-mini (2024-07-18)Ties
Coding02
Reasoning04
Math04
Knowledge05
General116
All shared boards131
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
Aider polyglotNot measured3.6%Only GPT-4o-mini (2024-07-18) measured
WeirdMLNot measured11.8%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: coding12111290GPT-4o-mini (2024-07-18)
LMArena Text: software and IT12281291GPT-4o-mini (2024-07-18)
Neither model has a result on the other 39 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
BALROGNot measured17.4%Only GPT-4o-mini (2024-07-18) measured
Neither model has a result on the other 41 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
GPQA Diamond (Epoch AI run)36.5%37.7%GPT-4o-mini (2024-07-18)
SimpleBenchNot measured10.7%Only GPT-4o-mini (2024-07-18) measured
Chess puzzlesNot measured3.0%Only GPT-4o-mini (2024-07-18) measured
Mystery game puzzlesNot measured12.0%Only GPT-4o-mini (2024-07-18) measured
VPCTNot measured34.0%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: hard prompts11981267GPT-4o-mini (2024-07-18)
LMArena Text: expert11711234GPT-4o-mini (2024-07-18)
LMArena Text: hard prompts in English12061278GPT-4o-mini (2024-07-18)
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
OTIS Mock AIME1.4%6.9%GPT-4o-mini (2024-07-18)
FrontierMath, tiers 1 to 3Not measured0.7%Only GPT-4o-mini (2024-07-18) measured
MATH level 527.9%52.6%GPT-4o-mini (2024-07-18)
LMArena Text: math12121267GPT-4o-mini (2024-07-18)
LMArena Text: mathematical work12211271GPT-4o-mini (2024-07-18)
Neither model has a result on the other 9 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
SimpleQA VerifiedNot measured8.3%Only GPT-4o-mini (2024-07-18) measured
MMLU75.7%76.7%GPT-4o-mini (2024-07-18)
GeoBenchNot measured64.0%Only GPT-4o-mini (2024-07-18) measured
LMArena Text: science12281286GPT-4o-mini (2024-07-18)
LMArena Text: medicine and healthcare11981282GPT-4o-mini (2024-07-18)
LMArena Text: legal and government12411305GPT-4o-mini (2024-07-18)
LMArena Text: business and finance12081265GPT-4o-mini (2024-07-18)
Neither model has a result on the other 12 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 (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index116
General benchmarks for Gemma 2 27B and GPT-4o-mini (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
DTBench48.0%Not measuredOnly Gemma 2 27B measured
LMCA7.1%Not measuredOnly Gemma 2 27B measured
Creative writing (Lech Mazur)Not measured67.2%Only GPT-4o-mini (2024-07-18) measured
LMArena Text12311286GPT-4o-mini (2024-07-18)
LMArena Text: instruction following12061258GPT-4o-mini (2024-07-18)
LMArena Text: creative writing12401268GPT-4o-mini (2024-07-18)
LMArena VisionNot measured1066Only GPT-4o-mini (2024-07-18) measured
LMArena Text: English12421301GPT-4o-mini (2024-07-18)
LMArena Text: non-English12171266GPT-4o-mini (2024-07-18)
LMArena Text: Chinese12211265GPT-4o-mini (2024-07-18)
LMArena Text: German12091272GPT-4o-mini (2024-07-18)
LMArena Text: Japanese11751216GPT-4o-mini (2024-07-18)
LMArena Text: Korean11741195GPT-4o-mini (2024-07-18)
LMArena Text: French12481297GPT-4o-mini (2024-07-18)
LMArena Text: Spanish12281276GPT-4o-mini (2024-07-18)
LMArena Text: Russian12341275GPT-4o-mini (2024-07-18)
LMArena Text: Polish12771244Gemma 2 27B
LMArena Text: multi-turn12241285GPT-4o-mini (2024-07-18)
LMArena Text: longer queries12301289GPT-4o-mini (2024-07-18)
LMArena Text: writing and language12491282GPT-4o-mini (2024-07-18)
LMArena Text: entertainment and media12121253GPT-4o-mini (2024-07-18)
LMArena Vision: EnglishNot measured1072Only GPT-4o-mini (2024-07-18) measured
LMArena Vision: ChineseNot measured1033Only GPT-4o-mini (2024-07-18) 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 (2024-07-18)
BenchmarkGemma 2 27BGPT-4o-mini (2024-07-18)Leader
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 (2024-07-18)$0.0004Fits in one request

GPT-4o-mini (2024-07-18) costs less

Repository review

50K input + 3K output tokens

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

GPT-4o-mini (2024-07-18) costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-4o-mini (2024-07-18)$0.036Exceeds the context window

GPT-4o-mini (2024-07-18) 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 (2024-07-18)
SpecificationGoogle Gemma 2 27BOpenAI GPT-4o-mini (2024-07-18)
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 (2024-07-18) 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 LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Gemma 2 27B or GPT-4o-mini (2024-07-18)?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-4o-mini (2024-07-18) 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 (2024-07-18)?

GPT-4o-mini (2024-07-18), with 128K tokens against 8K.

How many benchmarks is the Gemma 2 27B vs GPT-4o-mini (2024-07-18) comparison based on?

32 benchmarks have a result for both models as of October 22, 2026. Gemma 2 27B's coding index rests on 0 independent benchmarks and GPT-4o-mini (2024-07-18)'s on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next