Gemma 2 27B vs GPT-4o (2024-11-20)
Gemma 2 27B costs 15.4x less per output token than GPT-4o (2024-11-20) ($0.65 vs $10.00 per million). Updated October 23, 2026; 4 benchmarks have a result for both.
Gemma 2 27B or GPT-4o (2024-11-20): 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 GPQA Diamond (Epoch AI run) or OTIS Mock AIME, where it leads.
- Shared results
- 4
- Gemma 2 27B only
- 32
- GPT-4o (2024-11-20) only
- 20
- Like-for-like categories
- 3 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
No call
Only GPT-4o (2024-11-20) has a AA Intelligence Index result, 8.4.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-4o (2024-11-20) has a GPQA Diamond result, 53.8%.
Directional only
Math
AIME
No call
Only GPT-4o (2024-11-20) has a AIME result, 11.9%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-4o (2024-11-20) has a MMLU Pro result, 72.6%.
Directional only
Long documents
Listed context window
GPT-4o (2024-11-20)
GPT-4o (2024-11-20) takes 128K tokens against 8K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 2 27B
Gemma 2 27B $0.0010, GPT-4o (2024-11-20) $0.0075 per turn.
List prices
At a glance
- Coding index
- Gemma 2 27B not benchmarked, GPT-4o (2024-11-20) not benchmarked.
- Widest category
- Knowledge, 14.2 points apart on average over 1 shared benchmark.
- Widest single gap
- MATH level 5: Gemma 2 27B 27.9% against GPT-4o (2024-11-20) 49.8%, 21.9 points apart on a 0 to 100 scale.
- Output price
- Gemma 2 27B $0.65 against GPT-4o (2024-11-20) $10.00 per million output tokens, 15.4x apart.
- Context window
- Gemma 2 27B takes 8K tokens, GPT-4o (2024-11-20) 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.
| Category | Gemma 2 27B | Bars | GPT-4o (2024-11-20) | Ties |
|---|---|---|---|---|
| Reasoning | 0 | 1 | ||
| Math | 0 | 2 | ||
| Knowledge | 0 | 1 | ||
| All shared boards | 0 | 4 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index7 boards, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 18.2% | Only GPT-4o (2024-11-20) measured |
| LiveCodeBench (Vals AI) | Not measured | 43.4% | Only GPT-4o (2024-11-20) measured |
| GSO-Bench | Not measured | 0.0% | Only GPT-4o (2024-11-20) measured |
| WeirdML | Not measured | 25.1% | Only GPT-4o (2024-11-20) measured |
| Cybench | Not measured | 12.5% | Only GPT-4o (2024-11-20) measured |
| LMArena Text: coding | 1211 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: software and IT | 1228 | Not measured | Only Gemma 2 27B measured |
| Neither model has a result on the other 36 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 8.4 | Only GPT-4o (2024-11-20) measured |
| Epoch Capabilities Index | 122.1 | Not measured | Only Gemma 2 27B measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| TheAgentCompany | Not measured | 8.6% | Only GPT-4o (2024-11-20) measured |
| Neither model has a result on the other 41 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 53.8% | Only GPT-4o (2024-11-20) measured |
| MMMU Pro (Vals AI) | Not measured | 62.2% | Only GPT-4o (2024-11-20) measured |
| GPQA Diamond (Epoch AI run) | 36.5% | 47.9% | GPT-4o (2024-11-20) |
| VPCT | Not measured | 40.0% | Only GPT-4o (2024-11-20) measured |
| LMArena Text: hard prompts | 1198 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: expert | 1171 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: hard prompts in English | 1206 | Not measured | Only Gemma 2 27B measured |
| Neither model has a result on the other 16 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| AIME | Not measured | 11.9% | Only GPT-4o (2024-11-20) measured |
| MATH 500 (Vals AI) | Not measured | 74.0% | Only GPT-4o (2024-11-20) measured |
| MGSM (Vals AI) | Not measured | 90.4% | Only GPT-4o (2024-11-20) measured |
| OTIS Mock AIME | 1.4% | 6.3% | GPT-4o (2024-11-20) |
| MATH level 5 | 27.9% | 49.8% | GPT-4o (2024-11-20) |
| LMArena Text: math | 1212 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: mathematical work | 1221 | Not measured | Only 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
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 72.6% | Only GPT-4o (2024-11-20) measured |
| LegalBench (Vals AI) | 68.0% | 82.2% | GPT-4o (2024-11-20) |
| CaseLaw (Vals AI) | Not measured | 59.7% | Only GPT-4o (2024-11-20) measured |
| CorpFin (Vals AI) | Not measured | 45.9% | Only GPT-4o (2024-11-20) measured |
| TaxEval (Vals AI) | Not measured | 74.5% | Only GPT-4o (2024-11-20) measured |
| MortgageTax (Vals AI) | Not measured | 57.4% | Only GPT-4o (2024-11-20) measured |
| MMLU | 75.7% | Not measured | Only Gemma 2 27B measured |
| GeoBench | Not measured | 71.0% | Only GPT-4o (2024-11-20) measured |
| LMArena Text: science | 1228 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: medicine and healthcare | 1198 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: legal and government | 1241 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: business and finance | 1208 | Not measured | Only Gemma 2 27B measured |
| Neither model has a result on the other 8 boards here | |||
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| Neither model has a result on 9 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index20 boards, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| DTBench | 48.0% | Not measured | Only Gemma 2 27B measured |
| LMCA | 7.1% | Not measured | Only Gemma 2 27B measured |
| Creative writing (Lech Mazur) | Not measured | 81.8% | Only GPT-4o (2024-11-20) measured |
| LMArena Text | 1231 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: instruction following | 1206 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: creative writing | 1240 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: English | 1242 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: non-English | 1217 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Chinese | 1221 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: German | 1209 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Japanese | 1175 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Korean | 1174 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: French | 1248 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Spanish | 1228 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Russian | 1234 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: Polish | 1277 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: multi-turn | 1224 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: longer queries | 1230 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: writing and language | 1249 | Not measured | Only Gemma 2 27B measured |
| LMArena Text: entertainment and media | 1212 | Not measured | Only Gemma 2 27B measured |
| Neither model has a result on the other 28 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 2 27B | GPT-4o (2024-11-20) | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
Gemma 2 27B costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemma 2 27B | OpenAI GPT-4o (2024-11-20) |
|---|---|---|
| Maker | OpenAI | |
| Weights | Open weights | No public weights listed |
| Released | July 13, 2024 | November 20, 2024 |
| Context window | 8K | 128K |
| Input $/Mtok | $0.65 | $2.50 |
| Output $/Mtok | $0.65 | $10.00 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 2 27B better than GPT-4o (2024-11-20) 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 GPQA Diamond (Epoch AI run) or OTIS Mock AIME, where it leads.
Which is cheaper, Gemma 2 27B or GPT-4o (2024-11-20)?
Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GPT-4o (2024-11-20) 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 (2024-11-20)?
GPT-4o (2024-11-20), with 128K tokens against 8K.
How many benchmarks is the Gemma 2 27B vs GPT-4o (2024-11-20) comparison based on?
4 benchmarks have a result for both models as of October 23, 2026. Gemma 2 27B's coding index rests on 0 independent benchmarks and GPT-4o (2024-11-20)'s on 0. Where only one model has a result, the page says so instead of naming a winner.