Model comparison

Gemma 2 27B vs GPT-4.1

GPT-4.1 is the stronger model overall, scoring 35.9 to 29.4 on the Noometry Index. Gemma 2 27B costs 5.4× less per token, which makes it the better buy when GPT-4.1's lead doesn't matter for your workload.

Last verified . 23 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

GPT-4.1 OpenAI

35.9

Rank #219 Confirmed

Summary

  • They share 23 benchmarks with published results for both. Gemma 2 27B scores higher in 1 category and GPT-4.1 in 7 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GPT-4.1 leads 37.1 to 19.0.
  • The biggest single-benchmark swing is MATH Level 5: 27.9% for Gemma 2 27B and 83% for GPT-4.1.
  • Gemma 2 27B is cheaper at $0.65 / $0.65 per million input/output tokens, against $2 / $8 for GPT-4.1.
  • GPT-4.1 accepts more context: 1.05M tokens versus 8K.
  • Gemma 2 27B has downloadable open weights; the other is API-only.

Side by side

Gemma 2 27B and GPT-4.1 specifications
Gemma 2 27BGPT-4.1
ProviderGoogleOpenAI
Noometry Index29.435.9
Released2024-06-242025-04-14
WeightsOpenProprietary
Context window8K1.05M
Max output2K33K
Input $ / M tokens$0.65$2
Output $ / M tokens$0.65$8
Results tracked3452

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Too close to call

Gemma 2 27B: 34.1 (#246), GPT-4.1: 34.4 (#238)

Coding benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Coding12111391
SWE-bench Verified—48.5%
SWE-bench Verified (bash only)—39.6%
Aider Polyglot—52.4%
WeirdML—39%
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
BigCodeBench Complete52.5%—
CadEval—42%
ALE-Bench—558.1

Agentic & Tool Use Not comparable

Gemma 2 27B: —, GPT-4.1: 34.7 (#43)

Agentic & Tool Use benchmarks
BenchmarkGemma 2 27BGPT-4.1
Berkeley Function Calling Leaderboard—54%

Reasoning Gemma 2 27B leads

Gemma 2 27B: 15.3 (#315), GPT-4.1: 11.7 (#339)

Reasoning benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Hard Prompts11981384
DTBench48%68.3%
LMCA7.1%25.6%
Epoch Capabilities Index122.08136.78
ARC-AGI-2—0.4%
SimpleBench—27%
Kagi LLM Benchmark—52.3%
ARC-AGI-1—5.5%
Chess Puzzles—6%
EnigmaEval—2.2%
LiveBench Reasoning28.1%—
LiveBench Data Analysis47.9%—
ForecastBench—61.5
LiveBench38.2%—

Math GPT-4.1 leads

Gemma 2 27B: 10.7 (#311), GPT-4.1: 22.3 (#280)

Math benchmarks
BenchmarkGemma 2 27BGPT-4.1
OTIS Mock AIME 2024-20251.4%38.3%
LMArena Math12121370
MATH Level 527.9%83%
FrontierMath (Tiers 1-3)—6%
Omni-MATH—47.1%
LiveBench Math26.5%—
FrontierMath (Feb 2025 set)—5.5%
FrontierMath Tier 4 (v1)—0%

Knowledge GPT-4.1 leads

Gemma 2 27B: 19.0 (#280), GPT-4.1: 37.1 (#160)

Knowledge benchmarks
BenchmarkGemma 2 27BGPT-4.1
GPQA Diamond36.5%66.9%
LMArena Expert11721364
Humanity's Last Exam—5.4%
SimpleQA Verified—31.1%
MMLU-Pro—81.1%
Confabulations27.1%—
Vectara Hallucination Rate—5.6%
GPQA (HELM)—65.9%
MMLU75.7%—

Multimodal Not comparable

Gemma 2 27B: —, GPT-4.1: 38.2 (#67)

Multimodal benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Vision—1211
GeoBench—72%

Multilingual GPT-4.1 leads

Gemma 2 27B: 38.6 (#226), GPT-4.1: 49.4 (#133)

Multilingual benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Non-English12171370
LMArena Chinese12211382
LMArena French12471382
LMArena German12091381
LMArena Japanese11751319
LMArena Korean11741339
LMArena Russian12341377
LMArena Spanish12281376

Instruction Following GPT-4.1 leads

Gemma 2 27B: 60.5 (#249), GPT-4.1: 71.3 (#153)

Instruction Following benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Instruction Following12061367
LiveBench Instruction Following58.1%—
IFEval—83.8%

Long Context GPT-4.1 leads

Gemma 2 27B: 37.3 (#218), GPT-4.1: 40.0 (#163)

Long Context benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Longer Query12311385
Fiction.LiveBench—63.9%

Writing & Preference GPT-4.1 leads

Gemma 2 27B: 44.2 (#225), GPT-4.1: 57.6 (#125)

Writing & Preference benchmarks
BenchmarkGemma 2 27BGPT-4.1
LMArena Text12311383
LMArena Creative Writing12411363
LMArena Multi-Turn12241398
EQ-Bench Creative Writing—1420
WildBench—85.4%
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than GPT-4.1?

GPT-4.1 is the stronger model overall, scoring 35.9 to 29.4 on the Noometry Index. Gemma 2 27B costs 5.4× less per token, which makes it the better buy when GPT-4.1's lead doesn't matter for your workload.

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

Gemma 2 27B is cheaper. It lists at $0.65 per million input tokens and $0.65 per million output tokens; GPT-4.1 lists at $2 and $8.

Is Gemma 2 27B or GPT-4.1 better for coding?

They score almost the same on coding (34.1 vs 34.4); test both on your own repository before choosing.

Which has the bigger context window?

GPT-4.1 does, with 1.05M tokens against 8K.

How many benchmarks do Gemma 2 27B and GPT-4.1 share?

23 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and GPT-4.1 has 52.

Related comparisons

Go deeper