Gemma 3 27B vs GPT-5
GPT-5 leads Gemma 3 27B on the Artificial Analysis Intelligence Index, 23.0 to 4.9, and Gemma 3 27B costs 33.3x less per output token ($0.30 vs $10.00 per million). Updated October 22, 2026; 63 benchmarks have a result for both.
Gemma 3 27B or GPT-5: which to pick
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Gemma 3 27B has none, so the two cannot be ranked on coding.
Pick Gemma 3 27B for output tokens 33.3x cheaper ($0.30 vs $10.00 per million).
- Shared results
- 63
- Gemma 3 27B only
- 3
- GPT-5 only
- 50
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GPT-5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5
GPT-5 leads, 23.0 against 4.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 3 27B has a AA Agentic Index result, 0.1.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-5 has a GPQA Diamond result, 85.6%.
Directional only
Math
AIME
No call
Only GPT-5 has a AIME result, 93.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5 has a MMLU Pro result, 86.5%.
Directional only
Web design
Design Arena: websites
No call
Only GPT-5 has a Design Arena: websites result, 1184.
Directional only
Long documents
Listed context window
GPT-5
GPT-5 takes 400K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 27B
Gemma 3 27B $0.0002, GPT-5 $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5 has the number, $0.39.
Directional only
At a glance
- Coding index
- Gemma 3 27B not benchmarked, GPT-5 38.8 from 3 benchmarks.
- Widest category
- Agentic work, 76.0 points apart on average over 1 shared benchmark.
- Widest single gap
- Aider polyglot: Gemma 3 27B 4.9% against GPT-5 88.0%, 83.1 points apart on a 0 to 100 scale.
- Output price
- Gemma 3 27B $0.30 against GPT-5 $10.00 per million output tokens, 33.3x apart.
- Context window
- Gemma 3 27B takes 131K 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.
| Category | Gemma 3 27B | Bars | GPT-5 | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | 1 tie | |
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 9 | ||
| Math | 0 | 6 | ||
| Knowledge | 0 | 7 | ||
| General | 0 | 31 | ||
| All shared boards | 0 | 62 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| Aider polyglot | 4.9% | 88.0% | GPT-5 |
| SWE-bench Verified | Not measured | 74.4% | Only GPT-5 measured |
| LMArena WebDev | Not measured | 1418 | Only GPT-5 measured |
| AA Coding Index | 10.1 | 37.8 | GPT-5 |
| LiveCodeBench (Vals AI) | Not measured | 85.9% | Only GPT-5 measured |
| SWE-bench Verified (Vals AI) | Not measured | 69.0% | Only GPT-5 measured |
| Vibe Code Bench (Vals AI) | Not measured | 20.1% | Only GPT-5 measured |
| LiveCodeBench (Artificial Analysis run) | 13.7% | 84.6% | GPT-5 |
| SciCode | 23.3% | Not measured | Only Gemma 3 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 37.9% | GPT-5 |
| Terminal-Bench | Not measured | 49.6% | Only GPT-5 measured |
| GSO-Bench | Not measured | 6.9% | Only GPT-5 measured |
| WeirdML | Not measured | 60.7% | Only GPT-5 measured |
| ALE-Bench | Not measured | 807.6 | Only GPT-5 measured |
| LMArena Text: coding | 1322 | 1436 | GPT-5 |
| LMArena Text: software and IT | 1354 | 1420 | GPT-5 |
| LMArena WebDev: HTML | Not measured | 1427 | Only GPT-5 measured |
| SciCode | 0.0% | 0.0% | Tie |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.9 | 23.0 | GPT-5 |
| Epoch Capabilities Index | 130.0 | 150.0 | GPT-5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| AA Agentic Index | 0.1 | Not measured | Only Gemma 3 27B measured |
| τ²-Bench Telecom | 10.5% | 86.5% | GPT-5 |
| METR time horizons | Not measured | 69.6% | Only GPT-5 measured |
| Remote Labor Index | Not measured | 1.7% | Only GPT-5 measured |
| GDPval | Not measured | 34.8% | Only GPT-5 measured |
| BALROG | Not measured | 32.8% | Only GPT-5 measured |
| DeepResearch Bench | Not measured | 49.6% | Only GPT-5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | 29.5% | Not measured | Only Gemma 3 27B measured |
| BrowseComp-Plus | Not measured | 80.0% | Only GPT-5 measured |
| Neither model has a result on the other 32 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 85.6% | Only GPT-5 measured |
| MMMU Pro (Vals AI) | Not measured | 81.5% | Only GPT-5 measured |
| GPQA Diamond (Artificial Analysis run) | 42.8% | 85.4% | GPT-5 |
| Humanity's Last Exam (Artificial Analysis run) | 4.4% | 28.5% | GPT-5 |
| GPQA Diamond (Epoch AI run) | 47.7% | 86.2% | GPT-5 |
| ARC-AGI | Not measured | 65.7% | Only GPT-5 measured |
| ARC-AGI-2 | Not measured | 9.9% | Only GPT-5 measured |
| SimpleBench | Not measured | 56.7% | Only GPT-5 measured |
| Chess puzzles | Not measured | 36.0% | Only GPT-5 measured |
| Mystery game puzzles | Not measured | 23.0% | Only GPT-5 measured |
| EBR-bench | Not measured | 12.7% | Only GPT-5 measured |
| VPCT | Not measured | 66.0% | Only GPT-5 measured |
| LMArena Text: hard prompts | 1340 | 1415 | GPT-5 |
| LMArena Text: expert | 1304 | 1419 | GPT-5 |
| LMArena Text: hard prompts in English | 1353 | 1419 | GPT-5 |
| LMArena Vision: diagrams | 1156 | 1252 | GPT-5 |
| LMArena Vision: homework | 1160 | 1278 | GPT-5 |
| Kagi LLM Benchmark | 35.1% | 72.7% | GPT-5 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| AIME | Not measured | 93.4% | Only GPT-5 measured |
| MATH 500 (Vals AI) | Not measured | 96.0% | Only GPT-5 measured |
| MGSM (Vals AI) | Not measured | 92.8% | Only GPT-5 measured |
| AA Math Index | 20.7 | 94.3 | GPT-5 |
| AIME 2025 (Artificial Analysis run) | 20.7% | 94.3% | GPT-5 |
| OTIS Mock AIME | 22.5% | 91.4% | GPT-5 |
| FrontierMath, tiers 1 to 3 | Not measured | 55.4% | Only GPT-5 measured |
| FrontierMath, tier 4 | Not measured | 22.0% | Only GPT-5 measured |
| ProofBench | Not measured | 18.0% | Only GPT-5 measured |
| MATH level 5 | 74.0% | 98.1% | GPT-5 |
| LMArena Text: math | 1312 | 1407 | GPT-5 |
| LMArena Text: mathematical work | 1327 | 1405 | GPT-5 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.5% | Only GPT-5 measured |
| LegalBench (Vals AI) | Not measured | 86.0% | Only GPT-5 measured |
| CaseLaw (Vals AI) | Not measured | 66.5% | Only GPT-5 measured |
| CorpFin (Vals AI) | Not measured | 61.1% | Only GPT-5 measured |
| TaxEval (Vals AI) | Not measured | 73.4% | Only GPT-5 measured |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-5 measured |
| MedQA (Vals AI) | Not measured | 96.3% | Only GPT-5 measured |
| MedCode (Vals AI) | Not measured | 49.6% | Only GPT-5 measured |
| MMLU Pro (Artificial Analysis run) | 66.9% | 87.1% | GPT-5 |
| SimpleQA Verified | Not measured | 50.1% | Only GPT-5 measured |
| GeoBench | 52.0% | 81.0% | GPT-5 |
| LMArena Text: science | 1383 | 1416 | GPT-5 |
| LMArena Text: medicine and healthcare | 1391 | 1413 | GPT-5 |
| LMArena Text: legal and government | 1375 | 1431 | GPT-5 |
| LMArena Text: business and finance | 1360 | 1400 | GPT-5 |
| FACTS Benchmark Suite | 29.1% | 56.5% | GPT-5 |
| Neither model has a result on the other 2 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemma 3 27B | GPT-5 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1184 | Only GPT-5 measured |
| Design Arena: UI components | Not measured | 1177 | Only GPT-5 measured |
| Design Arena: game dev | Not measured | 1185 | Only GPT-5 measured |
| Design Arena: data viz | Not measured | 1221 | Only GPT-5 measured |
| Design Arena: 3D | Not measured | 1055 | Only GPT-5 measured |
| Design Arena: all code categories | Not measured | 1167 | Only GPT-5 measured |
| Design Arena: SVG | Not measured | 1188 | Only GPT-5 measured |
| Design Arena: ASCII art | Not measured | 1141 | Only 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 index031
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 3 27B | GPT-5 | 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 3 27B costs less
Repository review
50K input + 3K output tokens
Gemma 3 27B costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemma 3 27B | OpenAI GPT-5 |
|---|---|---|
| Maker | OpenAI | |
| Weights | Open weights | No public weights listed |
| Released | March 12, 2025 | August 7, 2025 |
| Context window | 131K | 400K |
| Input $/Mtok | $0.08 | $1.25 |
| Output $/Mtok | $0.30 | $10.00 |
| Coding index | Not benchmarked | 38.8 |
| Independent measurements behind it | 0 | 3 |
| Cost per solved task | Not computable | $0.39 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 3 27B better than GPT-5 for coding?
Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; Gemma 3 27B has none, so the two cannot be ranked on coding. Pick Gemma 3 27B for output tokens 33.3x cheaper ($0.30 vs $10.00 per million).
Which is cheaper, Gemma 3 27B or GPT-5?
Gemma 3 27B costs $0.08 per million input tokens and $0.30 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 3 27B or GPT-5?
GPT-5, with 400K tokens against 131K.
How many benchmarks is the Gemma 3 27B vs GPT-5 comparison based on?
63 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-5's on 3. Where only one model has a result, the page says so instead of naming a winner.