Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-5

Gemma 2 27B costs 15.4x less per output token than GPT-5 ($0.65 vs $10.00 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-5OpenAI
Coding
38.8
Overall
23.0
Output $/M
$10.00
35
vs boards won of 35 shared

Gemma 2 27B or GPT-5: which to pick

Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding.

Pick Gemma 2 27B for output tokens 15.4x cheaper ($0.65 vs $10.00 per million).

Shared results
35
Gemma 2 27B only
1
GPT-5 only
74
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 38.8 from 3 benchmarks.
Widest category
Math, 55.8 points apart on average over 4 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against GPT-5 91.4%, 90.0 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-5 $10.00 per million output tokens, 15.4x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-5 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-5Ties
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-5
BenchmarkGemma 2 27BGPT-5Leader
Aider polyglotNot measured88.0%Only GPT-5 measured
SWE-bench VerifiedNot measured74.4%Only GPT-5 measured
LMArena WebDevNot measured1418Only GPT-5 measured
AA Coding IndexNot measured37.8Only GPT-5 measured
LiveCodeBench (Vals AI)Not measured85.9%Only GPT-5 measured
SWE-bench Verified (Vals AI)Not measured69.0%Only GPT-5 measured
Vibe Code Bench (Vals AI)Not measured20.1%Only GPT-5 measured
LiveCodeBench (Artificial Analysis run)Not measured84.6%Only GPT-5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only GPT-5 measured
Terminal-BenchNot measured49.6%Only GPT-5 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdMLNot measured60.7%Only GPT-5 measured
ALE-BenchNot measured807.6Only GPT-5 measured
LMArena Text: coding12111436GPT-5
LMArena Text: software and IT12281420GPT-5
LMArena WebDev: HTMLNot measured1427Only GPT-5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
AA Intelligence IndexNot measured23.0Only GPT-5 measured
Epoch Capabilities Index122.1150.0GPT-5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
τ²-Bench TelecomNot measured86.5%Only GPT-5 measured
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch BenchNot measured49.6%Only GPT-5 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
GPQA DiamondNot measured85.6%Only GPT-5 measured
MMMU Pro (Vals AI)Not measured81.5%Only GPT-5 measured
GPQA Diamond (Artificial Analysis run)Not measured85.4%Only GPT-5 measured
Humanity's Last Exam (Artificial Analysis run)Not measured28.5%Only GPT-5 measured
GPQA Diamond (Epoch AI run)36.5%86.2%GPT-5
ARC-AGINot measured65.7%Only GPT-5 measured
ARC-AGI-2Not measured9.9%Only GPT-5 measured
SimpleBenchNot measured56.7%Only GPT-5 measured
Chess puzzlesNot measured36.0%Only GPT-5 measured
Mystery game puzzlesNot measured23.0%Only GPT-5 measured
EBR-benchNot measured12.7%Only GPT-5 measured
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts11981415GPT-5
LMArena Text: expert11711419GPT-5
LMArena Text: hard prompts in English12061419GPT-5
LMArena Vision: diagramsNot measured1252Only GPT-5 measured
LMArena Vision: homeworkNot measured1278Only GPT-5 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
AIMENot measured93.4%Only GPT-5 measured
MATH 500 (Vals AI)Not measured96.0%Only GPT-5 measured
MGSM (Vals AI)Not measured92.8%Only GPT-5 measured
AA Math IndexNot measured94.3Only GPT-5 measured
AIME 2025 (Artificial Analysis run)Not measured94.3%Only GPT-5 measured
OTIS Mock AIME1.4%91.4%GPT-5
FrontierMath, tiers 1 to 3Not measured55.4%Only GPT-5 measured
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBenchNot measured18.0%Only GPT-5 measured
MATH level 527.9%98.1%GPT-5
LMArena Text: math12121407GPT-5
LMArena Text: mathematical work12211405GPT-5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
MMLU ProNot measured86.5%Only GPT-5 measured
LegalBench (Vals AI)68.0%86.0%GPT-5
CaseLaw (Vals AI)Not measured66.5%Only GPT-5 measured
CorpFin (Vals AI)Not measured61.1%Only GPT-5 measured
TaxEval (Vals AI)Not measured73.4%Only GPT-5 measured
MortgageTax (Vals AI)Not measured65.5%Only GPT-5 measured
MedQA (Vals AI)Not measured96.3%Only GPT-5 measured
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)Not measured87.1%Only GPT-5 measured
SimpleQA VerifiedNot measured50.1%Only GPT-5 measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science12281416GPT-5
LMArena Text: medicine and healthcare11981413GPT-5
LMArena Text: legal and government12411431GPT-5
LMArena Text: business and finance12081400GPT-5
Neither model has a result on the other 1 board here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
Design Arena: websitesNot measured1184Only GPT-5 measured
Design Arena: UI componentsNot measured1180Only GPT-5 measured
Design Arena: game devNot measured1185Only GPT-5 measured
Design Arena: data vizNot measured1221Only GPT-5 measured
Design Arena: 3DNot measured1056Only GPT-5 measured
Design Arena: all code categoriesNot measured1168Only GPT-5 measured
Design Arena: SVGNot measured1189Only GPT-5 measured
Design Arena: ASCII artNot measured1141Only GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Gemma 2 27B and GPT-5
BenchmarkGemma 2 27BGPT-5Leader
SAGE (Vals AI)Not measured43.7%Only GPT-5 measured
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
IFBenchNot measured73.1%Only GPT-5 measured
Long context reasoning (AA-LCR)Not measured78.2%Only GPT-5 measured
DTBench48.0%90.7%GPT-5
LMCA7.1%40.0%GPT-5
Fiction.LiveBenchNot measured97.2%Only GPT-5 measured
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
LMArena Text12311406GPT-5
LMArena Text: instruction following12061388GPT-5
LMArena Text: creative writing12401365GPT-5
LMArena VisionNot measured1232Only GPT-5 measured
LMArena Text: English12421409GPT-5
LMArena Text: non-English12171397GPT-5
LMArena Text: Chinese12211422GPT-5
LMArena Text: German12091416GPT-5
LMArena Text: Japanese11751409GPT-5
LMArena Text: Korean11741360GPT-5
LMArena Text: French12481409GPT-5
LMArena Text: Spanish12281399GPT-5
LMArena Text: Russian12341407GPT-5
LMArena Text: Polish12771431GPT-5
LMArena Text: multi-turn12241426GPT-5
LMArena Text: longer queries12301399GPT-5
LMArena Text: writing and language12491384GPT-5
LMArena Text: entertainment and media12121379GPT-5
LMArena Vision: EnglishNot measured1231Only GPT-5 measured
LMArena Vision: ChineseNot measured1267Only GPT-5 measured
LMArena Vision: reading textNot measured1246Only GPT-5 measured
LMArena Vision: humorNot measured1219Only GPT-5 measured
LMArena Vision: captioningNot measured1212Only GPT-5 measured
LMArena Vision: recognizing thingsNot measured1263Only GPT-5 measured
LMArena Vision: creative writingNot measured1210Only GPT-5 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 GPT-5
BenchmarkGemma 2 27BGPT-5Leader
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$0.0063Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

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

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

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

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 GPT-5
SpecificationGoogle Gemma 2 27BOpenAI GPT-5
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024August 7, 2025
Context window8K400K
Input $/Mtok$0.65$1.25
Output $/Mtok$0.65$10.00
Coding indexNot benchmarked38.8
Independent measurements behind it03
Cost per solved taskNot computable$0.39
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GPT-5 for coding?

Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding. Pick Gemma 2 27B for output tokens 15.4x cheaper ($0.65 vs $10.00 per million).

Which is cheaper, Gemma 2 27B or GPT-5?

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

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

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

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

Compare next