Enter opens the highlighted result. Esc closes.

Gemma 3 27B vs GPT-4.1 Mini

GPT-4.1 Mini leads Gemma 3 27B on the Artificial Analysis Intelligence Index, 10.2 to 4.9, and Gemma 3 27B costs 5.3x less per output token ($0.30 vs $1.60 per million). Updated October 22, 2026; 60 benchmarks have a result for both.

Gemma 3 27BGoogle
Coding
No data
Overall
31.4
Output $/M
$0.30
18
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
42
vs boards won of 60 shared

Gemma 3 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 3 27B for output tokens 5.3x cheaper ($0.30 vs $1.60 per million) and work measured by Aider polyglot or AA Coding Index, where it leads.

Shared results
60
Gemma 3 27B only
6
GPT-4.1 Mini only
26
Like-for-like categories
7 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 3 27B not benchmarked, GPT-4.1 Mini not benchmarked.
Widest category
Agentic work, 31.7 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemma 3 27B 10.5% against GPT-4.1 Mini 52.9%, 42.4 points apart on a 0 to 100 scale.
Output price
Gemma 3 27B $0.30 against GPT-4.1 Mini $1.60 per million output tokens, 5.3x apart.
Context window
Gemma 3 27B takes 131K 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 3 27BBarsGPT-4.1 MiniTies
Coding06
Intelligence02
Agentic work02
Reasoning09
Math06
Knowledge41
General1416
All shared boards1842
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
Aider polyglot4.9%32.4%GPT-4.1 Mini
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
AA Coding Index10.120.2GPT-4.1 Mini
LiveCodeBench (Vals AI)Not measured58.2%Only GPT-4.1 Mini measured
LiveCodeBench (Artificial Analysis run)13.7%48.3%GPT-4.1 Mini
SciCode23.3%Not measuredOnly Gemma 3 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.8%7.6%GPT-4.1 Mini
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
LMArena Text: coding13221367GPT-4.1 Mini
LMArena Text: software and IT13541360GPT-4.1 Mini
SciCode0.0%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
AA Intelligence Index4.910.2GPT-4.1 Mini
Epoch Capabilities Index130.0134.9GPT-4.1 Mini
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 27B measured
τ²-Bench Telecom10.5%52.9%GPT-4.1 Mini
Berkeley Function Calling Leaderboard (BFCL)29.5%50.4%GPT-4.1 Mini
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
Reasoning benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 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)42.8%66.4%GPT-4.1 Mini
Humanity's Last Exam (Artificial Analysis run)4.4%5.0%GPT-4.1 Mini
GPQA Diamond (Epoch AI run)47.7%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 prompts13401349GPT-4.1 Mini
LMArena Text: expert13041338GPT-4.1 Mini
LMArena Text: hard prompts in English13531362GPT-4.1 Mini
LMArena Vision: diagrams11561182GPT-4.1 Mini
LMArena Vision: homework11601214GPT-4.1 Mini
Kagi LLM Benchmark35.1%48.6%GPT-4.1 Mini
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 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 Index20.746.3GPT-4.1 Mini
AIME 2025 (Artificial Analysis run)20.7%46.3%GPT-4.1 Mini
OTIS Mock AIME22.5%44.7%GPT-4.1 Mini
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 574.0%87.3%GPT-4.1 Mini
LMArena Text: math13121343GPT-4.1 Mini
LMArena Text: mathematical work13271347GPT-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 index41
Knowledge benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
MMLU ProNot measured77.2%Only GPT-4.1 Mini measured
LegalBench (Vals AI)Not measured78.0%Only GPT-4.1 Mini measured
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)66.9%78.1%GPT-4.1 Mini
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
GeoBench52.0%Not measuredOnly Gemma 3 27B measured
LMArena Text: science13831328Gemma 3 27B
LMArena Text: medicine and healthcare13911324Gemma 3 27B
LMArena Text: legal and government13751343Gemma 3 27B
LMArena Text: business and finance13601322Gemma 3 27B
FACTS Benchmark Suite29.1%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
Design Arena: websitesNot measured997Only GPT-4.1 Mini measured
Design Arena: UI componentsNot measured958Only GPT-4.1 Mini measured
Design Arena: game devNot measured1070Only GPT-4.1 Mini measured
Design Arena: data vizNot measured1034Only GPT-4.1 Mini measured
Design Arena: 3DNot measured836Only GPT-4.1 Mini measured
Design Arena: all code categoriesNot measured993Only 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 index1416
General benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 27BGPT-4.1 MiniLeader
IFBench31.8%38.3%GPT-4.1 Mini
Long context reasoning (AA-LCR)7.3%44.0%GPT-4.1 Mini
DTBench52.5%68.8%GPT-4.1 Mini
LMCA12.3%21.1%GPT-4.1 Mini
Fiction.LiveBench33.3%44.4%GPT-4.1 Mini
Creative writing (Lech Mazur)79.9%Not measuredOnly Gemma 3 27B measured
LMArena Text13581341Gemma 3 27B
LMArena Text: instruction following13211333GPT-4.1 Mini
LMArena Text: creative writing13451299Gemma 3 27B
LMArena Vision11651181GPT-4.1 Mini
LMArena Text: English13771356Gemma 3 27B
LMArena Text: non-English13341318Gemma 3 27B
LMArena Text: Chinese13461329Gemma 3 27B
LMArena Text: German13621350Gemma 3 27B
LMArena Text: Japanese12871290GPT-4.1 Mini
LMArena Text: Korean13081298Gemma 3 27B
LMArena Text: French13681358Gemma 3 27B
LMArena Text: Spanish13491319Gemma 3 27B
LMArena Text: Russian13491324Gemma 3 27B
LMArena Text: Polish13451326Gemma 3 27B
LMArena Text: multi-turn13451354GPT-4.1 Mini
LMArena Text: longer queries13331344GPT-4.1 Mini
LMArena Text: writing and language13471319Gemma 3 27B
LMArena Text: entertainment and media13201300Gemma 3 27B
LMArena Vision: English11881191GPT-4.1 Mini
LMArena Vision: Chinese11641186GPT-4.1 Mini
LMArena Vision: reading text11561188GPT-4.1 Mini
LMArena Vision: humor11661182GPT-4.1 Mini
LMArena Vision: captioning11511174GPT-4.1 Mini
LMArena Vision: recognizing things11961187Gemma 3 27B
LMArena Vision: creative writing11771182GPT-4.1 Mini
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 3 27B and GPT-4.1 Mini
BenchmarkGemma 3 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 3 27B$0.0002Fits in one request
GPT-4.1 Mini$0.0012Fits in one request

Gemma 3 27B costs less

Repository review

50K input + 3K output tokens

Gemma 3 27B$0.0049Fits in one request
GPT-4.1 Mini$0.025Fits in one request

Gemma 3 27B costs less

Agent loop

200K input + 10K output tokens

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

Gemma 3 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 3 27B and GPT-4.1 Mini
SpecificationGoogle Gemma 3 27BOpenAI GPT-4.1 Mini
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 12, 2025April 14, 2025
Context window131K1.05M
Input $/Mtok$0.08$0.40
Output $/Mtok$0.30$1.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.818
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 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 3 27B for output tokens 5.3x cheaper ($0.30 vs $1.60 per million) and work measured by Aider polyglot or AA Coding Index, where it leads.

Which is cheaper, Gemma 3 27B or GPT-4.1 Mini?

Gemma 3 27B costs $0.08 per million input tokens and $0.30 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 3 27B or GPT-4.1 Mini?

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

How many benchmarks is the Gemma 3 27B vs GPT-4.1 Mini comparison based on?

60 benchmarks have a result for both models as of October 22, 2026. Gemma 3 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