Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-5 Nano

GPT-5 Nano costs 1.6x less per output token than Gemma 2 27B ($0.40 vs $0.65 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
1
GPT-5 NanoOpenAI
Coding
No data
Overall
35.6
Output $/M
$0.40
33
vs boards won of 34 shared

Gemma 2 27B or GPT-5 Nano: 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
34
Gemma 2 27B only
2
GPT-5 Nano only
53
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-5 Nano not benchmarked.
Widest category
Math, 45.5 points apart on average over 4 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against GPT-5 Nano 81.1%, 79.7 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-5 Nano $0.40 per million output tokens, 1.6x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-5 Nano 400K.

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-5 NanoTies
Coding02
Intelligence01
Reasoning04
Math04
Knowledge14
General018
All shared boards133
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
SWE-bench VerifiedNot measured34.8%Only GPT-5 Nano measured
LiveCodeBench (Vals AI)Not measured70.2%Only GPT-5 Nano measured
LiveCodeBench (Artificial Analysis run)Not measured78.9%Only GPT-5 Nano measured
Terminal-Bench Hard (Artificial Analysis run)Not measured17.4%Only GPT-5 Nano measured
Terminal-BenchNot measured21.8%Only GPT-5 Nano measured
WeirdMLNot measured38.1%Only GPT-5 Nano measured
LMArena Text: coding12111351GPT-5 Nano
LMArena Text: software and IT12281345GPT-5 Nano
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
AA Intelligence IndexNot measured13.0Only GPT-5 Nano measured
Epoch Capabilities Index122.1139.2GPT-5 Nano
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
τ²-Bench TelecomNot measured36.5%Only GPT-5 Nano measured
Berkeley Function Calling Leaderboard (BFCL)Not measured51.4%Only GPT-5 Nano 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-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
GPQA DiamondNot measured63.4%Only GPT-5 Nano measured
MMMU Pro (Vals AI)Not measured70.9%Only GPT-5 Nano measured
GPQA Diamond (Artificial Analysis run)Not measured67.6%Only GPT-5 Nano measured
Humanity's Last Exam (Artificial Analysis run)Not measured9.5%Only GPT-5 Nano measured
GPQA Diamond (Epoch AI run)36.5%69.4%GPT-5 Nano
ARC-AGINot measured20.7%Only GPT-5 Nano measured
ARC-AGI-2Not measured2.6%Only GPT-5 Nano measured
Chess puzzlesNot measured22.0%Only GPT-5 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5 Nano measured
VPCTNot measured37.2%Only GPT-5 Nano measured
LMArena Text: hard prompts11981328GPT-5 Nano
LMArena Text: expert11711321GPT-5 Nano
LMArena Text: hard prompts in English12061338GPT-5 Nano
LMArena Vision: diagramsNot measured1141Only GPT-5 Nano measured
LMArena Vision: homeworkNot measured1157Only GPT-5 Nano measured
Kagi LLM BenchmarkNot measured62.2%Only GPT-5 Nano measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
AIMENot measured81.2%Only GPT-5 Nano measured
MATH 500 (Vals AI)Not measured93.8%Only GPT-5 Nano measured
MGSM (Vals AI)Not measured89.3%Only GPT-5 Nano measured
AA Math IndexNot measured83.7Only GPT-5 Nano measured
AIME 2025 (Artificial Analysis run)Not measured83.7%Only GPT-5 Nano measured
OTIS Mock AIME1.4%81.1%GPT-5 Nano
FrontierMath, tiers 1 to 3Not measured20.0%Only GPT-5 Nano measured
FrontierMath, tier 4Not measured2.4%Only GPT-5 Nano measured
ProofBenchNot measured12.0%Only GPT-5 Nano measured
MATH level 527.9%95.2%GPT-5 Nano
LMArena Text: math12121317GPT-5 Nano
LMArena Text: mathematical work12211326GPT-5 Nano
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index14
Knowledge benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
MMLU ProNot measured76.1%Only GPT-5 Nano measured
LegalBench (Vals AI)68.0%50.1%Gemma 2 27B
CaseLaw (Vals AI)Not measured52.6%Only GPT-5 Nano measured
TaxEval (Vals AI)Not measured67.4%Only GPT-5 Nano measured
MortgageTax (Vals AI)Not measured53.6%Only GPT-5 Nano measured
MedQA (Vals AI)Not measured93.3%Only GPT-5 Nano measured
MedCode (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MMLU Pro (Artificial Analysis run)Not measured78.0%Only GPT-5 Nano measured
SimpleQA VerifiedNot measured11.7%Only GPT-5 Nano measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281318GPT-5 Nano
LMArena Text: medicine and healthcare11981335GPT-5 Nano
LMArena Text: legal and government12411298GPT-5 Nano
LMArena Text: business and finance12081311GPT-5 Nano
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 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
Design Arena: websitesNot measured1101Only GPT-5 Nano measured
Design Arena: UI componentsNot measured1067Only GPT-5 Nano measured
Design Arena: game devNot measured1045Only GPT-5 Nano measured
Design Arena: data vizNot measured1056Only GPT-5 Nano measured
Design Arena: 3DNot measured966Only GPT-5 Nano measured
Design Arena: all code categoriesNot measured1084Only GPT-5 Nano measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index018
General benchmarks for Gemma 2 27B and GPT-5 Nano
BenchmarkGemma 2 27BGPT-5 NanoLeader
SAGE (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MedScribe (Vals AI)Not measured72.9%Only GPT-5 Nano measured
IFBenchNot measured67.6%Only GPT-5 Nano measured
Long context reasoning (AA-LCR)Not measured45.0%Only GPT-5 Nano measured
DTBench48.0%62.7%GPT-5 Nano
LMCA7.1%7.9%GPT-5 Nano
Fiction.LiveBenchNot measured44.4%Only GPT-5 Nano measured
LMArena Text12311320GPT-5 Nano
LMArena Text: instruction following12061306GPT-5 Nano
LMArena Text: creative writing12401249GPT-5 Nano
LMArena VisionNot measured1159Only GPT-5 Nano measured
LMArena Text: English12421321GPT-5 Nano
LMArena Text: non-English12171313GPT-5 Nano
LMArena Text: Chinese12211356GPT-5 Nano
LMArena Text: German12091327GPT-5 Nano
LMArena Text: Japanese11751227GPT-5 Nano
LMArena Text: Korean11741269GPT-5 Nano
LMArena Text: French1248Not measuredOnly Gemma 2 27B measured
LMArena Text: Spanish12281360GPT-5 Nano
LMArena Text: Russian12341296GPT-5 Nano
LMArena Text: Polish12771314GPT-5 Nano
LMArena Text: multi-turn12241311GPT-5 Nano
LMArena Text: longer queries12301312GPT-5 Nano
LMArena Text: writing and language12491283GPT-5 Nano
LMArena Text: entertainment and media12121268GPT-5 Nano
LMArena Vision: EnglishNot measured1170Only GPT-5 Nano measured
LMArena Vision: ChineseNot measured1176Only GPT-5 Nano measured
LMArena Vision: reading textNot measured1152Only GPT-5 Nano measured
LMArena Vision: humorNot measured1110Only GPT-5 Nano measured
Neither model has a result on the other 17 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-5 Nano
BenchmarkGemma 2 27BGPT-5 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 2 27B$0.0010Fits in one request
GPT-5 Nano$0.0003Fits in one request

GPT-5 Nano costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GPT-5 Nano$0.0037Fits in one request

GPT-5 Nano costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-5 Nano$0.014Fits in one request

GPT-5 Nano 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-5 Nano
SpecificationGoogle Gemma 2 27BOpenAI GPT-5 Nano
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024August 7, 2025
Context window8K400K
Input $/Mtok$0.65$0.05
Output $/Mtok$0.65$0.40
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$0.109
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GPT-5 Nano 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-5 Nano?

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

Which has the bigger context window, Gemma 2 27B or GPT-5 Nano?

GPT-5 Nano, with 400K tokens against 8K.

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

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

Compare next