Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-4.1 Mini

Gemma 2 27B costs 2.5x less per output token than GPT-4.1 Mini ($0.65 vs $1.60 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
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
35
vs boards won of 35 shared

Gemma 2 27B or GPT-4.1 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 2.5x cheaper ($0.65 vs $1.60 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
GPT-4.1 Mini only
51
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-4.1 Mini not benchmarked.
Widest category
Math, 36.4 points apart on average over 4 shared benchmarks.
Widest single gap
MATH level 5: Gemma 2 27B 27.9% against GPT-4.1 Mini 87.3%, 59.4 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-4.1 Mini $1.60 per million output tokens, 2.5x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-4.1 Mini 1.05M.

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-4.1 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 GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
AA Coding IndexNot measured20.2Only GPT-4.1 Mini measured
LiveCodeBench (Vals AI)Not measured58.2%Only GPT-4.1 Mini measured
LiveCodeBench (Artificial Analysis run)Not measured48.3%Only GPT-4.1 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured7.6%Only GPT-4.1 Mini measured
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
LMArena Text: coding12111367GPT-4.1 Mini
LMArena Text: software and IT12281360GPT-4.1 Mini
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
AA Intelligence IndexNot measured10.2Only GPT-4.1 Mini measured
Epoch Capabilities Index122.1134.9GPT-4.1 Mini
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
τ²-Bench TelecomNot measured52.9%Only GPT-4.1 Mini measured
Berkeley Function Calling Leaderboard (BFCL)Not measured50.4%Only GPT-4.1 Mini measured
Neither model has a result on the other 39 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
GPQA DiamondNot measured67.9%Only GPT-4.1 Mini measured
MMMU Pro (Vals AI)Not measured70.5%Only GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)Not measured66.4%Only GPT-4.1 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured5.0%Only GPT-4.1 Mini measured
GPQA Diamond (Epoch AI run)36.5%65.8%GPT-4.1 Mini
ARC-AGINot measured3.5%Only GPT-4.1 Mini measured
ARC-AGI-2Not measured0.0%Only GPT-4.1 Mini measured
Chess puzzlesNot measured1.0%Only GPT-4.1 Mini measured
Mystery game puzzlesNot measured7.0%Only GPT-4.1 Mini measured
LMArena Text: hard prompts11981349GPT-4.1 Mini
LMArena Text: expert11711338GPT-4.1 Mini
LMArena Text: hard prompts in English12061362GPT-4.1 Mini
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM BenchmarkNot measured48.6%Only GPT-4.1 Mini measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 2 27B and GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
AIMENot measured49.4%Only GPT-4.1 Mini measured
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIME1.4%44.7%GPT-4.1 Mini
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 527.9%87.3%GPT-4.1 Mini
LMArena Text: math12121343GPT-4.1 Mini
LMArena Text: mathematical work12211347GPT-4.1 Mini
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
MMLU ProNot measured77.2%Only GPT-4.1 Mini measured
LegalBench (Vals AI)68.0%78.0%GPT-4.1 Mini
CorpFin (Vals AI)Not measured57.9%Only GPT-4.1 Mini measured
TaxEval (Vals AI)Not measured71.9%Only GPT-4.1 Mini measured
MortgageTax (Vals AI)Not measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281328GPT-4.1 Mini
LMArena Text: medicine and healthcare11981324GPT-4.1 Mini
LMArena Text: legal and government12411343GPT-4.1 Mini
LMArena Text: business and finance12081322GPT-4.1 Mini
Neither model has a result on the other 5 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 GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
Design Arena: websitesNot measured997Only GPT-4.1 Mini measured
Design Arena: UI componentsNot measured961Only GPT-4.1 Mini measured
Design Arena: game devNot measured1071Only GPT-4.1 Mini measured
Design Arena: data vizNot measured1034Only GPT-4.1 Mini measured
Design Arena: 3DNot measured837Only GPT-4.1 Mini measured
Design Arena: all code categoriesNot measured994Only GPT-4.1 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 GPT-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 MiniLeader
IFBenchNot measured38.3%Only GPT-4.1 Mini measured
Long context reasoning (AA-LCR)Not measured44.0%Only GPT-4.1 Mini measured
DTBench48.0%68.8%GPT-4.1 Mini
LMCA7.1%21.1%GPT-4.1 Mini
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
LMArena Text12311341GPT-4.1 Mini
LMArena Text: instruction following12061333GPT-4.1 Mini
LMArena Text: creative writing12401299GPT-4.1 Mini
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: English12421356GPT-4.1 Mini
LMArena Text: non-English12171318GPT-4.1 Mini
LMArena Text: Chinese12211329GPT-4.1 Mini
LMArena Text: German12091350GPT-4.1 Mini
LMArena Text: Japanese11751290GPT-4.1 Mini
LMArena Text: Korean11741298GPT-4.1 Mini
LMArena Text: French12481358GPT-4.1 Mini
LMArena Text: Spanish12281319GPT-4.1 Mini
LMArena Text: Russian12341324GPT-4.1 Mini
LMArena Text: Polish12771326GPT-4.1 Mini
LMArena Text: multi-turn12241354GPT-4.1 Mini
LMArena Text: longer queries12301344GPT-4.1 Mini
LMArena Text: writing and language12491319GPT-4.1 Mini
LMArena Text: entertainment and media12121300GPT-4.1 Mini
LMArena Vision: EnglishNot measured1191Only GPT-4.1 Mini measured
LMArena Vision: ChineseNot measured1186Only GPT-4.1 Mini measured
LMArena Vision: reading textNot measured1188Only GPT-4.1 Mini measured
LMArena Vision: humorNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writingNot measured1182Only GPT-4.1 Mini measured
Neither model has a result on the other 16 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-4.1 Mini
BenchmarkGemma 2 27BGPT-4.1 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-4.1 Mini$0.0012Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GPT-4.1 Mini$0.025Fits in one request

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-4.1 Mini$0.096Fits in one request

GPT-4.1 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-4.1 Mini
SpecificationGoogle Gemma 2 27BOpenAI GPT-4.1 Mini
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024April 14, 2025
Context window8K1.05M
Input $/Mtok$0.65$0.40
Output $/Mtok$0.65$1.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.818
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GPT-4.1 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 2.5x cheaper ($0.65 vs $1.60 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 GPT-4.1 Mini?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Cost per solved task is known for GPT-4.1 Mini only.

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

GPT-4.1 Mini, with 1.05M tokens against 8K.

How many benchmarks is the Gemma 2 27B vs GPT-4.1 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 GPT-4.1 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next