Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GPT-4o

Gemma 2 27B costs 15.4x less per output token than GPT-4o ($0.65 vs $10.00 per million). Updated October 21, 2026; 3 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
GPT-4oOpenAI
Coding
No data
Overall
No data
Output $/M
$10.00
3
vs boards won of 3 shared

Gemma 2 27B or GPT-4o: 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 15.4x cheaper ($0.65 vs $10.00 per million) and work measured by MMLU or DTBench, where it leads.

Shared results
3
Gemma 2 27B only
33
GPT-4o only
24
Like-for-like categories
2 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-4o not benchmarked.
Widest category
General, 13.0 points apart on average over 2 shared benchmarks.
Widest single gap
DTBench: Gemma 2 27B 48.0% against GPT-4o 64.5%, 16.5 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GPT-4o $10.00 per million output tokens, 15.4x apart.
Context window
Gemma 2 27B takes 8K tokens, GPT-4o 128K.

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-4oTies
Knowledge01
General02
All shared boards03
CodingDirectional onlySix of these boards feed the Vibe Coding Index9 boards, none shared
Coding benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
SWE-bench VerifiedNot measured38.8%Only GPT-4o measured
SWE-bench LiteNot measured38.0%Only GPT-4o measured
SWE-bench (full test set)Not measured18.8%Only GPT-4o measured
SWE-bench MultimodalNot measured30.4%Only GPT-4o measured
LiveCodeBench (Artificial Analysis run)Not measured30.9%Only GPT-4o measured
Terminal-Bench Hard (Artificial Analysis run)Not measured8.3%Only GPT-4o measured
LMArena Text: coding1211Not measuredOnly Gemma 2 27B measured
LMArena Text: software and IT1228Not measuredOnly Gemma 2 27B measured
SciCodeNot measured1.5%Only GPT-4o measured
Neither model has a result on the other 30 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
τ²-Bench TelecomNot measured25.1%Only GPT-4o measured
GDPvalNot measured9.9%Only GPT-4o measured
Neither model has a result on the other 39 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Reasoning benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
GPQA Diamond (Artificial Analysis run)Not measured54.3%Only GPT-4o measured
Humanity's Last Exam (Artificial Analysis run)Not measured2.4%Only GPT-4o measured
GPQA Diamond (Epoch AI run)36.5%Not measuredOnly Gemma 2 27B measured
ARC-AGINot measured4.5%Only GPT-4o measured
ARC-AGI-2Not measured0.0%Only GPT-4o measured
LMArena Text: hard prompts1198Not measuredOnly Gemma 2 27B measured
LMArena Text: expert1171Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts in English1206Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
AA Math IndexNot measured6.0Only GPT-4o measured
AIME 2025 (Artificial Analysis run)Not measured6.0%Only GPT-4o measured
OTIS Mock AIME1.4%Not measuredOnly Gemma 2 27B measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math1212Not measuredOnly Gemma 2 27B measured
LMArena Text: mathematical work1221Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
MMLU Pro (Artificial Analysis run)Not measured74.8%Only GPT-4o measured
MMLU75.7%88.1%GPT-4o
LMArena Text: science1228Not measuredOnly Gemma 2 27B measured
LMArena Text: medicine and healthcare1198Not measuredOnly Gemma 2 27B measured
LMArena Text: legal and government1241Not measuredOnly Gemma 2 27B measured
LMArena Text: business and finance1208Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 11 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-4o
BenchmarkGemma 2 27BGPT-4oLeader
Design Arena: websitesNot measured831Only GPT-4o measured
Design Arena: UI componentsNot measured885Only GPT-4o measured
Design Arena: game devNot measured906Only GPT-4o measured
Design Arena: data vizNot measured858Only GPT-4o measured
Design Arena: 3DNot measured869Only GPT-4o measured
Design Arena: all code categoriesNot measured861Only GPT-4o measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Gemma 2 27B and GPT-4o
BenchmarkGemma 2 27BGPT-4oLeader
IFBenchNot measured34.3%Only GPT-4o measured
Long context reasoning (AA-LCR)Not measured49.3%Only GPT-4o measured
DTBench48.0%64.5%GPT-4o
LMCA7.1%16.6%GPT-4o
LMArena Text1231Not measuredOnly Gemma 2 27B measured
LMArena Text: instruction following1206Not measuredOnly Gemma 2 27B measured
LMArena Text: creative writing1240Not measuredOnly Gemma 2 27B measured
LMArena Text: English1242Not measuredOnly Gemma 2 27B measured
LMArena Text: non-English1217Not measuredOnly Gemma 2 27B measured
LMArena Text: Chinese1221Not measuredOnly Gemma 2 27B measured
LMArena Text: German1209Not measuredOnly Gemma 2 27B measured
LMArena Text: Japanese1175Not measuredOnly Gemma 2 27B measured
LMArena Text: Korean1174Not measuredOnly Gemma 2 27B measured
LMArena Text: French1248Not measuredOnly Gemma 2 27B measured
LMArena Text: Spanish1228Not measuredOnly Gemma 2 27B measured
LMArena Text: Russian1234Not measuredOnly Gemma 2 27B measured
LMArena Text: Polish1277Not measuredOnly Gemma 2 27B measured
LMArena Text: multi-turn1224Not measuredOnly Gemma 2 27B measured
LMArena Text: longer queries1230Not measuredOnly Gemma 2 27B measured
LMArena Text: writing and language1249Not measuredOnly Gemma 2 27B measured
LMArena Text: entertainment and media1212Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 25 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-4o
BenchmarkGemma 2 27BGPT-4oLeader
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-4o$0.0075Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GPT-4o$0.155Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GPT-4o$0.600Exceeds the context window

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-4o
SpecificationGoogle Gemma 2 27BOpenAI GPT-4o
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 13, 2024May 13, 2024
Context window8K128K
Input $/Mtok$0.65$2.50
Output $/Mtok$0.65$10.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Neither model has a coding score yet, 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) and work measured by MMLU or DTBench, where it leads.

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

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-4o costs $2.50 and $10.00. Cost per solved task is known for neither of them.

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

GPT-4o, with 128K tokens against 8K.

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

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

Compare next