Model comparison

Gemma 2 27B vs GPT-4o mini

Gemma 2 27B is the stronger model overall, scoring 29.2 to 25.4 on the Noometry Index. GPT-4o mini costs 2.5× less per token, which makes it the better buy when Gemma 2 27B's lead doesn't matter for your workload.

Last verified . 34 shared benchmarks.

Gemma 2 27B Google

29.2

Rank #302 Confirmed

GPT-4o mini OpenAI

25.4

Rank #337 Confirmed

Summary

  • They share 34 benchmarks with published results for both. Gemma 2 27B scores higher in 5 categories and GPT-4o mini in 3 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Gemma 2 27B leads 33.5 to 21.6.
  • The biggest single-benchmark swing is MATH Level 5: 27.9% for Gemma 2 27B and 52.6% for GPT-4o mini.
  • GPT-4o mini is cheaper at $0.15 / $0.60 per million input/output tokens, against $0.65 / $0.65 for Gemma 2 27B.
  • GPT-4o mini accepts more context: 128K tokens versus 8K.
  • Gemma 2 27B has downloadable open weights; the other is API-only.

Side by side

Gemma 2 27B and GPT-4o mini specifications
Gemma 2 27BGPT-4o mini
ProviderGoogleOpenAI
Noometry Index29.225.4
Released2024-06-242024-07-18
WeightsOpenProprietary
Context window8K128K
Max output2K16K
Input $ / M tokens$0.65$0.15
Output $ / M tokens$0.65$0.60
Results tracked3460

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

Category by category

Coding Gemma 2 27B leads

Gemma 2 27B: 33.5 (#243), GPT-4o mini: 21.6 (#330)

Coding benchmarks
BenchmarkGemma 2 27BGPT-4o mini
BigCodeBench Instruct42.8%46.1%
LiveBench Coding36%43.1%
LMArena Coding12111290
BigCodeBench Complete52.5%57.4%
Aider Polyglot—3.6%
WeirdML—11.8%
HumanEval+—83.5%
MBPP+—72.2%

Agentic & Tool Use Not comparable

Gemma 2 27B: —, GPT-4o mini: 27.2 (#95)

Agentic & Tool Use benchmarks
BenchmarkGemma 2 27BGPT-4o mini
BALROG—17.4%

Reasoning Gemma 2 27B leads

Gemma 2 27B: 14.8 (#313), GPT-4o mini: 8.7 (#343)

Reasoning benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LiveBench Reasoning28.1%32.8%
LMArena Hard Prompts11991267
DTBench48%54.4%
LiveBench Data Analysis47.9%50%
LMCA7.1%10.4%
Epoch Capabilities Index122.06126.56
LiveBench38.2%41.3%
ARC-AGI-2—0%
SimpleBench—10.7%
Kagi LLM Benchmark—28.8%
Chess Puzzles—0%
Mystery Game Puzzles—12%
PIQA—88.7%

Math Too close to call

Gemma 2 27B: 10.0 (#306), GPT-4o mini: 9.9 (#307)

Math benchmarks
BenchmarkGemma 2 27BGPT-4o mini
OTIS Mock AIME 2024-20251.4%6.9%
LiveBench Math26.5%36.3%
LMArena Math12121267
MATH Level 527.9%52.6%
FrontierMath (Tiers 1-3)—0.7%
Omni-MATH—28%
GSM8K—91.3%

Knowledge Gemma 2 27B leads

Gemma 2 27B: 18.9 (#275), GPT-4o mini: 17.7 (#279)

Knowledge benchmarks
BenchmarkGemma 2 27BGPT-4o mini
GPQA Diamond36.5%37.7%
Confabulations27.1%37.2%
LMArena Expert11721235
MMLU75.7%81.8%
SimpleQA Verified—8.3%
MMLU-Pro—60.3%
GPQA (HELM)—36.8%
BoolQ—88.7%

Multimodal Not comparable

Gemma 2 27B: —, GPT-4o mini: 25.3 (#117)

Multimodal benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LMArena Vision—1066
Video-MME—64.8%
GeoBench—64%
VPCT—34%

Multilingual GPT-4o mini leads

Gemma 2 27B: 38.8 (#221), GPT-4o mini: 42.2 (#194)

Multilingual benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LMArena Non-English12171266
LMArena Chinese12211264
LMArena French12461296
LMArena German12091272
LMArena Japanese11751216
LMArena Korean11741195
LMArena Russian12341275
LMArena Spanish12281276

Instruction Following GPT-4o mini leads

Gemma 2 27B: 60.7 (#244), GPT-4o mini: 62.1 (#234)

Instruction Following benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LiveBench Instruction Following58.1%56.8%
LMArena Instruction Following12061259
IFEval—78.2%

Long Context GPT-4o mini leads

Gemma 2 27B: 37.3 (#213), GPT-4o mini: 39.1 (#181)

Long Context benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LMArena Longer Query12311289

Writing & Preference Gemma 2 27B leads

Gemma 2 27B: 44.4 (#220), GPT-4o mini: 39.7 (#243)

Writing & Preference benchmarks
BenchmarkGemma 2 27BGPT-4o mini
LMArena Text12311286
LMArena Creative Writing12411268
LMArena Multi-Turn12241285
LiveBench Language32.6%28.6%
Short-Story Creative Writing—67.2%
EQ-Bench Creative Writing—873
WildBench—79.1%

Frequently asked questions

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

Gemma 2 27B is the stronger model overall, scoring 29.2 to 25.4 on the Noometry Index. GPT-4o mini costs 2.5× less per token, which makes it the better buy when Gemma 2 27B's lead doesn't matter for your workload.

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

GPT-4o mini is cheaper. It lists at $0.15 per million input tokens and $0.60 per million output tokens; Gemma 2 27B lists at $0.65 and $0.65.

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

Gemma 2 27B scores higher on coding benchmarks: 33.5 versus 21.6 in the Noometry coding category.

Which has the bigger context window?

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

How many benchmarks do Gemma 2 27B and GPT-4o mini share?

34 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and GPT-4o mini has 60.

Related comparisons

Go deeper