Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs o4 Mini

Gemma 2 27B costs 6.8x less per output token than o4 Mini ($0.65 vs $4.40 per million). Updated October 21, 2026; 35 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
o4 MiniOpenAI
Coding
No data
Overall
43.0
Output $/M
$4.40
35
vs boards won of 35 shared

Gemma 2 27B or o4 Mini: which to pick

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

Pick Gemma 2 27B for output tokens 6.8x cheaper ($0.65 vs $4.40 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
35
Gemma 2 27B only
1
o4 Mini only
63
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, o4 Mini not benchmarked.
Widest category
Math, 51.5 points apart on average over 4 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against o4 Mini 81.7%, 80.3 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against o4 Mini $4.40 per million output tokens, 6.8x apart.
Context window
Gemma 2 27B takes 8K tokens, o4 Mini 200K.

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 27BBarso4 MiniTies
Coding02
Intelligence01
Reasoning04
Math04
Knowledge05
General019
All shared boards035
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench VerifiedNot measured64.6%Only o4 Mini measured
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
LiveCodeBench (Vals AI)Not measured82.2%Only o4 Mini measured
LiveCodeBench (Artificial Analysis run)Not measured85.9%Only o4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured15.2%Only o4 Mini measured
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdMLNot measured52.6%Only o4 Mini measured
LMArena Text: coding12111368o4 Mini
LMArena Text: software and IT12281367o4 Mini
SciCodeNot measured10.8%Only o4 Mini measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
AA Intelligence IndexNot measured16.7Only o4 Mini measured
Epoch Capabilities Index122.1145.5o4 Mini
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
τ²-Bench TelecomNot measured55.6%Only o4 Mini measured
METR time horizonsNot measured63.9%Only o4 Mini measured
Berkeley Function Calling Leaderboard (BFCL)Not measured53.2%Only o4 Mini 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 o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
GPQA DiamondNot measured74.5%Only o4 Mini measured
MMMU Pro (Vals AI)Not measured79.7%Only o4 Mini measured
GPQA Diamond (Artificial Analysis run)Not measured78.4%Only o4 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured16.5%Only o4 Mini measured
GPQA Diamond (Epoch AI run)36.5%79.6%o4 Mini
ARC-AGINot measured58.7%Only o4 Mini measured
ARC-AGI-2Not measured6.1%Only o4 Mini measured
SimpleBenchNot measured38.7%Only o4 Mini measured
Chess puzzlesNot measured22.0%Only o4 Mini measured
Mystery game puzzlesNot measured5.0%Only o4 Mini measured
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts11981351o4 Mini
LMArena Text: expert11711343o4 Mini
LMArena Text: hard prompts in English12061366o4 Mini
LMArena Vision: diagramsNot measured1197Only o4 Mini measured
LMArena Vision: homeworkNot measured1234Only o4 Mini measured
Kagi LLM BenchmarkNot measured67.6%Only o4 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
AIMENot measured83.7%Only o4 Mini measured
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)Not measured93.4%Only o4 Mini measured
AA Math IndexNot measured90.7Only o4 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only o4 Mini measured
OTIS Mock AIME1.4%81.7%o4 Mini
FrontierMath, tiers 1 to 3Not measured36.1%Only o4 Mini measured
FrontierMath, tier 4Not measured4.9%Only o4 Mini measured
MATH level 527.9%97.8%o4 Mini
LMArena Text: math12121389o4 Mini
LMArena Text: mathematical work12211379o4 Mini
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
MMLU ProNot measured80.6%Only o4 Mini measured
LegalBench (Vals AI)68.0%79.2%o4 Mini
CorpFin (Vals AI)Not measured59.0%Only o4 Mini measured
TaxEval (Vals AI)Not measured74.8%Only o4 Mini measured
MortgageTax (Vals AI)Not measured64.8%Only o4 Mini measured
MedQA (Vals AI)Not measured96.0%Only o4 Mini measured
MedCode (Vals AI)Not measured33.8%Only o4 Mini measured
MMLU Pro (Artificial Analysis run)Not measured83.2%Only o4 Mini measured
SimpleQA VerifiedNot measured19.6%Only o4 Mini measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science12281354o4 Mini
LMArena Text: medicine and healthcare11981361o4 Mini
LMArena Text: legal and government12411350o4 Mini
LMArena Text: business and finance12081325o4 Mini
FACTS Benchmark SuiteNot measured28.1%Only o4 Mini measured
Neither model has a result on the other 2 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
Design Arena: websitesNot measured985Only o4 Mini measured
Design Arena: UI componentsNot measured983Only o4 Mini measured
Design Arena: game devNot measured1003Only o4 Mini measured
Design Arena: data vizNot measured990Only o4 Mini measured
Design Arena: 3DNot measured854Only o4 Mini measured
Design Arena: all code categoriesNot measured976Only o4 Mini measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 MiniLeader
SAGE (Vals AI)Not measured41.1%Only o4 Mini measured
MedScribe (Vals AI)Not measured69.1%Only o4 Mini measured
IFBenchNot measured68.7%Only o4 Mini measured
Long context reasoning (AA-LCR)Not measured61.0%Only o4 Mini measured
DTBench48.0%77.6%o4 Mini
LMCA7.1%26.5%o4 Mini
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
LMArena Text12311353o4 Mini
LMArena Text: instruction following12061320o4 Mini
LMArena Text: creative writing12401294o4 Mini
LMArena VisionNot measured1194Only o4 Mini measured
LMArena Text: English12421367o4 Mini
LMArena Text: non-English12171337o4 Mini
LMArena Text: Chinese12211354o4 Mini
LMArena Text: German12091336o4 Mini
LMArena Text: Japanese11751308o4 Mini
LMArena Text: Korean11741312o4 Mini
LMArena Text: French12481364o4 Mini
LMArena Text: Spanish12281346o4 Mini
LMArena Text: Russian12341334o4 Mini
LMArena Text: Polish12771358o4 Mini
LMArena Text: multi-turn12241350o4 Mini
LMArena Text: longer queries12301315o4 Mini
LMArena Text: writing and language12491316o4 Mini
LMArena Text: entertainment and media12121308o4 Mini
LMArena Vision: EnglishNot measured1200Only o4 Mini measured
LMArena Vision: ChineseNot measured1218Only o4 Mini measured
LMArena Vision: reading textNot measured1197Only o4 Mini measured
LMArena Vision: humorNot measured1199Only o4 Mini measured
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writingNot measured1166Only o4 Mini 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 Gemma 2 27B and o4 Mini
BenchmarkGemma 2 27Bo4 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
o4 Mini$0.0033Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
o4 Mini$0.068Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
o4 Mini$0.264Exceeds 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 Gemma 2 27B and o4 Mini
SpecificationGoogle Gemma 2 27BOpenAI o4 Mini
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024April 16, 2025
Context window8K200K
Input $/Mtok$0.65$1.10
Output $/Mtok$0.65$4.40
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than o4 Mini for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 2 27B for output tokens 6.8x cheaper ($0.65 vs $4.40 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Gemma 2 27B or o4 Mini?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 2 27B or o4 Mini?

o4 Mini, with 200K tokens against 8K.

How many benchmarks is the Gemma 2 27B vs o4 Mini comparison based on?

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

Compare next