Enter opens the highlighted result. Esc closes.

Gemma 3 27B vs GPT-4.1 Nano

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

Gemma 3 27BGoogle
Coding
No data
Overall
31.4
Output $/M
$0.30
33
GPT-4.1 NanoOpenAI
Coding
No data
Overall
24.7
Output $/M
$0.40
13
vs boards won of 48 shared, 2 tied

Gemma 3 27B or GPT-4.1 Nano: 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 1.3x cheaper ($0.30 vs $0.40 per million) and work measured by Aider polyglot or AA Coding Index, where it leads.

Shared results
48
Gemma 3 27B only
18
GPT-4.1 Nano only
23
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 Nano not benchmarked.
Widest category
Knowledge, 12.5 points apart on average over 5 shared benchmarks.
Widest single gap
LMArena Text: medicine and healthcare: Gemma 3 27B 1391 against GPT-4.1 Nano 1276, 19.1 points apart on a 0 to 100 scale.
Output price
Gemma 3 27B $0.30 against GPT-4.1 Nano $0.40 per million output tokens, 1.3x apart.
Context window
Gemma 3 27B takes 131K tokens, GPT-4.1 Nano 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 NanoTies
Coding231 tie
Intelligence11
Agentic work02
Reasoning52
Math33
Knowledge50
General1721 tie
All shared boards33132 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index23
Coding benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
Aider polyglot4.9%8.9%GPT-4.1 Nano
AA Coding Index10.111.1GPT-4.1 Nano
LiveCodeBench (Vals AI)Not measured42.7%Only GPT-4.1 Nano measured
LiveCodeBench (Artificial Analysis run)13.7%32.6%GPT-4.1 Nano
SciCode23.3%Not measuredOnly Gemma 3 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.8%3.8%Tie
WeirdMLNot measured19.0%Only GPT-4.1 Nano measured
LMArena Text: coding13221306Gemma 3 27B
LMArena Text: software and IT13541305Gemma 3 27B
SciCode0.0%Not measuredOnly Gemma 3 27B measured
Neither model has a result on the other 29 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
AA Intelligence Index4.97.8GPT-4.1 Nano
Epoch Capabilities Index130.0129.5Gemma 3 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 27B measured
τ²-Bench Telecom10.5%17.3%GPT-4.1 Nano
Berkeley Function Calling Leaderboard (BFCL)29.5%33.1%GPT-4.1 Nano
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index52
Reasoning benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
GPQA DiamondNot measured50.8%Only GPT-4.1 Nano measured
MMMU Pro (Vals AI)Not measured55.0%Only GPT-4.1 Nano measured
GPQA Diamond (Artificial Analysis run)42.8%51.2%GPT-4.1 Nano
Humanity's Last Exam (Artificial Analysis run)4.4%3.8%Gemma 3 27B
GPQA Diamond (Epoch AI run)47.7%48.9%GPT-4.1 Nano
ARC-AGINot measured0.0%Only GPT-4.1 Nano measured
ARC-AGI-2Not measured0.0%Only GPT-4.1 Nano measured
Chess puzzlesNot measured0.0%Only GPT-4.1 Nano measured
LMArena Text: hard prompts13401286Gemma 3 27B
LMArena Text: expert13041271Gemma 3 27B
LMArena Text: hard prompts in English13531293Gemma 3 27B
LMArena Vision: diagrams1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: homework1160Not measuredOnly Gemma 3 27B measured
Kagi LLM Benchmark35.1%33.3%Gemma 3 27B
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index33
Math benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
AIMENot measured26.5%Only GPT-4.1 Nano measured
MATH 500 (Vals AI)Not measured80.2%Only GPT-4.1 Nano measured
MGSM (Vals AI)Not measured69.3%Only GPT-4.1 Nano measured
AA Math Index20.724.0GPT-4.1 Nano
AIME 2025 (Artificial Analysis run)20.7%24.0%GPT-4.1 Nano
OTIS Mock AIME22.5%28.9%GPT-4.1 Nano
MATH level 574.0%70.0%Gemma 3 27B
LMArena Text: math13121274Gemma 3 27B
LMArena Text: mathematical work13271274Gemma 3 27B
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
MMLU ProNot measured63.5%Only GPT-4.1 Nano measured
LegalBench (Vals AI)Not measured61.1%Only GPT-4.1 Nano measured
CorpFin (Vals AI)Not measured42.1%Only GPT-4.1 Nano measured
TaxEval (Vals AI)Not measured60.8%Only GPT-4.1 Nano measured
MortgageTax (Vals AI)Not measured52.8%Only GPT-4.1 Nano measured
MedQA (Vals AI)Not measured68.2%Only GPT-4.1 Nano measured
MMLU Pro (Artificial Analysis run)66.9%65.7%Gemma 3 27B
SimpleQA VerifiedNot measured6.0%Only GPT-4.1 Nano measured
GeoBench52.0%Not measuredOnly Gemma 3 27B measured
LMArena Text: science13831297Gemma 3 27B
LMArena Text: medicine and healthcare13911276Gemma 3 27B
LMArena Text: legal and government13751300Gemma 3 27B
LMArena Text: business and finance13601267Gemma 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 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
Design Arena: websitesNot measured972Only GPT-4.1 Nano measured
Design Arena: UI componentsNot measured913Only GPT-4.1 Nano measured
Design Arena: game devNot measured970Only GPT-4.1 Nano measured
Design Arena: data vizNot measured891Only GPT-4.1 Nano measured
Design Arena: 3DNot measured924Only GPT-4.1 Nano measured
Design Arena: all code categoriesNot measured962Only GPT-4.1 Nano measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for Gemma 3 27B and GPT-4.1 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
IFBench31.8%32.0%GPT-4.1 Nano
Long context reasoning (AA-LCR)7.3%20.3%GPT-4.1 Nano
DTBench52.5%52.5%Tie
LMCA12.3%5.5%Gemma 3 27B
Fiction.LiveBench33.3%25.0%Gemma 3 27B
Creative writing (Lech Mazur)79.9%Not measuredOnly Gemma 3 27B measured
LMArena Text13581285Gemma 3 27B
LMArena Text: instruction following13211266Gemma 3 27B
LMArena Text: creative writing13451260Gemma 3 27B
LMArena Vision11651063Gemma 3 27B
LMArena Text: English13771303Gemma 3 27B
LMArena Text: non-English13341260Gemma 3 27B
LMArena Text: Chinese13461270Gemma 3 27B
LMArena Text: German13621288Gemma 3 27B
LMArena Text: Japanese12871198Gemma 3 27B
LMArena Text: Korean1308Not measuredOnly Gemma 3 27B measured
LMArena Text: French1368Not measuredOnly Gemma 3 27B measured
LMArena Text: Spanish1349Not measuredOnly Gemma 3 27B measured
LMArena Text: Russian13491261Gemma 3 27B
LMArena Text: Polish1345Not measuredOnly Gemma 3 27B measured
LMArena Text: multi-turn13451277Gemma 3 27B
LMArena Text: longer queries13331283Gemma 3 27B
LMArena Text: writing and language13471261Gemma 3 27B
LMArena Text: entertainment and media13201243Gemma 3 27B
LMArena Vision: English11881101Gemma 3 27B
LMArena Vision: Chinese1164Not measuredOnly Gemma 3 27B measured
LMArena Vision: reading text1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: humor1166Not measuredOnly Gemma 3 27B measured
LMArena Vision: captioning1151Not measuredOnly Gemma 3 27B measured
LMArena Vision: recognizing things1196Not measuredOnly Gemma 3 27B measured
LMArena Vision: creative writing1177Not measuredOnly Gemma 3 27B measured
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 Nano
BenchmarkGemma 3 27BGPT-4.1 NanoLeader
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 Nano$0.0003Fits 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 Nano$0.0062Fits 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 Nano$0.024Fits 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 Nano
SpecificationGoogle Gemma 3 27BOpenAI GPT-4.1 Nano
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 12, 2025April 14, 2025
Context window131K1.05M
Input $/Mtok$0.08$0.10
Output $/Mtok$0.30$0.40
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 27B better than GPT-4.1 Nano for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 27B for output tokens 1.3x cheaper ($0.30 vs $0.40 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 Nano?

Gemma 3 27B costs $0.08 per million input tokens and $0.30 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 27B or GPT-4.1 Nano?

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

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

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

Compare next