Model comparison

Gemma 2 27B vs GPT-5-Codex

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

Last verified . 0 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • The widest gap is in reasoning, where GPT-5-Codex leads 30.9 to 15.3.
  • Gemma 2 27B is cheaper at $0.65 / $0.65 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
  • GPT-5-Codex accepts more context: 400K tokens versus 8K.
  • Gemma 2 27B has downloadable open weights; the other is API-only.

Side by side

Gemma 2 27B and GPT-5-Codex specifications
Gemma 2 27BGPT-5-Codex
ProviderGoogleOpenAI
Noometry Index29.437.9
Released2024-06-242025-09-15
WeightsOpenProprietary
Context window8K400K
Max output2K128K
Input $ / M tokens$0.65$1.25
Output $ / M tokens$0.65$10
Results tracked343

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

Category by category

Coding GPT-5-Codex leads

Gemma 2 27B: 34.1 (#246), GPT-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
WeirdML—54.5%
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
LMArena Coding1211—
BigCodeBench Complete52.5%—

Agentic & Tool Use Not comparable

Gemma 2 27B: —, GPT-5-Codex: 31.0 (#72)

Agentic & Tool Use benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
Terminal-Bench—44.3%

Reasoning GPT-5-Codex leads

Gemma 2 27B: 15.3 (#315), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
Kagi LLM Benchmark—70.3%
LiveBench Reasoning28.1%—
LMArena Hard Prompts1198—
DTBench48%—
LiveBench Data Analysis47.9%—
LMCA7.1%—
Epoch Capabilities Index122.08—
LiveBench38.2%—

Math Not comparable

Gemma 2 27B: 10.7 (#311), GPT-5-Codex: —

Math benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
OTIS Mock AIME 2024-20251.4%—
LiveBench Math26.5%—
LMArena Math1212—
MATH Level 527.9%—

Knowledge Not comparable

Gemma 2 27B: 19.0 (#280), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
GPQA Diamond36.5%—
Confabulations27.1%—
LMArena Expert1172—
MMLU75.7%—

Multilingual Not comparable

Gemma 2 27B: 38.6 (#226), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
LMArena Non-English1217—
LMArena Chinese1221—
LMArena French1247—
LMArena German1209—
LMArena Japanese1175—
LMArena Korean1174—
LMArena Russian1234—
LMArena Spanish1228—

Instruction Following Not comparable

Gemma 2 27B: 60.5 (#249), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
LiveBench Instruction Following58.1%—
LMArena Instruction Following1206—

Long Context Not comparable

Gemma 2 27B: 37.3 (#218), GPT-5-Codex: —

Long Context benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
LMArena Longer Query1231—

Writing & Preference Not comparable

Gemma 2 27B: 44.2 (#225), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkGemma 2 27BGPT-5-Codex
LMArena Text1231—
LMArena Creative Writing1241—
LMArena Multi-Turn1224—
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than GPT-5-Codex?

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

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

Gemma 2 27B is cheaper. It lists at $0.65 per million input tokens and $0.65 per million output tokens; GPT-5-Codex lists at $1.25 and $10.

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

GPT-5-Codex scores higher on coding benchmarks: 42.4 versus 34.1 in the Noometry coding category.

Which has the bigger context window?

GPT-5-Codex does, with 400K tokens against 8K.

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

0 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and GPT-5-Codex has 3.

Related comparisons

Go deeper