Model comparison

Gemma 4 31B IT vs GPT-4

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 29.1 on the Noometry Index.

Last verified . 22 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Summary

  • They share 22 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and GPT-4 in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 4 31B IT leads 43.2 to 10.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.3% for Gemma 4 31B IT and 1.1% for GPT-4.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $30 / $60 for GPT-4.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 8K.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Gemma 4 31B IT and GPT-4 specifications
Gemma 4 31B ITGPT-4
ProviderGoogleOpenAI
Noometry Index43.529.1
Released2026-04-022023-03-14
WeightsOpenProprietary
Context window262K8K
Max output33K8K
Input $ / M tokens$0.09$30
Output $ / M tokens$0.34$60
Results tracked3538

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 4 31B IT: 42.3 (#108), GPT-4: 31.6 (#283)

Coding benchmarks
BenchmarkGemma 4 31B ITGPT-4
WeirdML52.3%12.4%
LMArena Coding14591254
LMArena WebDev1366—
SciCode43.4%—
BigCodeBench Instruct—46%
BigCodeBench Complete—57.2%
ALE-Bench925.5—
HumanEval+—79.3%

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GPT-4: —

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGPT-4
METR Time Horizons—36.1%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), GPT-4: 17.8 (#289)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGPT-4
Chess Puzzles5%4%
LMArena Hard Prompts14481241
DTBench82.7%62.7%
LMCA39.3%17.1%
Epoch Capabilities Index142.74125.89
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Thematic Generalization53%—
Mystery Game Puzzles—12%
Surface Evolver Bench30.6%—
BIG-Bench Hard—75.1%
ForecastBench—57.8
HellaSwag—95.3%
WinoGrande—87.5%

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), GPT-4: 10.8 (#309)

Math benchmarks
BenchmarkGemma 4 31B ITGPT-4
OTIS Mock AIME 2024-202573.3%1.1%
LMArena Math14651269
MATH Level 5—23%
GSM8K—92%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), GPT-4: 18.4 (#282)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGPT-4
GPQA Diamond75.8%35.7%
LMArena Expert14651211
SimpleQA Verified10.4%—
Vectara Hallucination Rate7.4%—
MMLU—86.4%
TriviaQA—84.8%

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), GPT-4: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITGPT-4
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), GPT-4: 40.6 (#215)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGPT-4
LMArena Non-English14311246
LMArena Chinese14761242
LMArena French14351283
LMArena Russian14601251
LMArena Spanish14441261
LMArena German—1251
LMArena Japanese—1209
LMArena Korean—1184

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), GPT-4: 65.3 (#222)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGPT-4
LMArena Instruction Following14331241

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), GPT-4: 37.7 (#212)

Long Context benchmarks
BenchmarkGemma 4 31B ITGPT-4
LMArena Longer Query14461244

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), GPT-4: 34.9 (#268)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGPT-4
LMArena Text14431263
LMArena Creative Writing14151244
EQ-Bench Creative Writing1368752
LMArena Multi-Turn14521257
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than GPT-4?

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 29.1 on the Noometry Index.

Which is cheaper, Gemma 4 31B IT or GPT-4?

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; GPT-4 lists at $30 and $60.

Is Gemma 4 31B IT or GPT-4 better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 31.6 in the Noometry coding category.

Which has the bigger context window?

Gemma 4 31B IT does, with 262K tokens against 8K.

How many benchmarks do Gemma 4 31B IT and GPT-4 share?

22 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GPT-4 has 38.

Related comparisons

Go deeper