Model comparison

Gemma 4 31B IT vs GPT-5

GPT-5 is the stronger model overall, scoring 50.9 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 23× less per token, which makes it the better buy when GPT-5's lead doesn't matter for your workload.

Last verified . 30 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GPT-5 OpenAI

50.9

Rank #45 Confirmed

Summary

  • They share 30 benchmarks with published results for both. Gemma 4 31B IT scores higher in 2 categories and GPT-5 in 7 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in long context, where GPT-5 leads 69.5 to 44.2.
  • The biggest single-benchmark swing is SimpleQA Verified: 10.4% for Gemma 4 31B IT and 50.1% for GPT-5.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1.25 / $10 for GPT-5.
  • GPT-5 accepts more context: 400K tokens versus 262K.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Gemma 4 31B IT and GPT-5 specifications
Gemma 4 31B ITGPT-5
ProviderGoogleOpenAI
Noometry Index43.550.9
Released2026-04-022025-08-07
WeightsOpenProprietary
Context window262K400K
Max output33K128K
Input $ / M tokens$0.09$1.25
Output $ / M tokens$0.34$10
Results tracked3569

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

Category by category

Coding GPT-5 leads

Gemma 4 31B IT: 42.3 (#108), GPT-5: 50.3 (#47)

Coding benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena WebDev13661418
SciCode43.4%42.9%
WeirdML52.3%60.7%
LMArena Coding14591436
ALE-Bench925.51,162
SWE-bench Verified—73.6%
SWE-bench Verified (bash only)—65%
Aider Polyglot—88%
GSO—6.9%
AlgoTune—1.67

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GPT-5: 33.1 (#56)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGPT-5
Terminal-Bench—49.6%
GDPval—34.8%
Remote Labor Index—1.7%
DeepResearch Bench—49.6%
BALROG—32.8%
LMArena Search—1133
METR Time Horizons—69.6%

Reasoning GPT-5 leads

Gemma 4 31B IT: 27.2 (#122), GPT-5: 38.3 (#64)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGPT-5
Kagi LLM Benchmark63.5%72.7%
CritPt1.4%12.6%
Chess Puzzles5%37%
LMArena Hard Prompts14481416
DTBench82.7%90.7%
LMCA39.3%40%
Epoch Capabilities Index142.74150
ARC-AGI-2—9.9%
SimpleBench—56.7%
NYT Connections (extended)70.6%—
ARC-AGI-1—65.7%
EnigmaEval—10.5%
Thematic Generalization53%—
EBR-Bench—12.7%
Mystery Game Puzzles—23%
Surface Evolver Bench30.6%—
ForecastBench—61.4

Math GPT-5 leads

Gemma 4 31B IT: 43.2 (#81), GPT-5: 55.0 (#44)

Math benchmarks
BenchmarkGemma 4 31B ITGPT-5
OTIS Mock AIME 2024-202573.3%91.4%
LMArena Math14651407
FrontierMath (Tiers 1-3)—55.4%
FrontierMath Tier 4—22%
ProofBench—18%
Omni-MATH—64.7%
MATH Level 5—98.1%
FrontierMath (Feb 2025 set)—32.4%
FrontierMath Tier 4 (v1)—12.5%

Knowledge GPT-5 leads

Gemma 4 31B IT: 37.9 (#151), GPT-5: 56.6 (#43)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGPT-5
GPQA Diamond75.8%86.2%
SimpleQA Verified10.4%50.1%
Vectara Hallucination Rate7.4%14.7%
LMArena Expert14651419
Humanity's Last Exam—25.3%
MMLU-Pro—86.3%
Confabulations—10.3%
GPQA (HELM)—79.2%

Multimodal GPT-5 leads

Gemma 4 31B IT: 41.6 (#34), GPT-5: 46.8 (#13)

Multimodal benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena Vision12771232
GeoBench—81%
VPCT—66%
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), GPT-5: 51.4 (#110)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena Non-English14311397
LMArena Chinese14761422
LMArena French14351410
LMArena Russian14601406
LMArena Spanish14441399
LMArena German—1416
LMArena Japanese—1409
LMArena Korean—1360

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), GPT-5: 73.8 (#113)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena Instruction Following14331388
IFEval—87.5%

Long Context GPT-5 leads

Gemma 4 31B IT: 44.2 (#71), GPT-5: 69.5 (#2)

Long Context benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena Longer Query14461399
Fiction.LiveBench—97.2%

Writing & Preference GPT-5 leads

Gemma 4 31B IT: 60.5 (#96), GPT-5: 63.4 (#65)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGPT-5
LMArena Text14431406
LMArena Creative Writing14151365
EQ-Bench Creative Writing13681627
LMArena Multi-Turn14521426
Short-Story Creative Writing—86%
WildBench—85.7%
EQ-Bench 41120—

Frequently asked questions

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

GPT-5 is the stronger model overall, scoring 50.9 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 23× less per token, which makes it the better buy when GPT-5's lead doesn't matter for your workload.

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

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

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

GPT-5 scores higher on coding benchmarks: 50.3 versus 42.3 in the Noometry coding category.

Which has the bigger context window?

GPT-5 does, with 400K tokens against 262K.

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

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

Related comparisons

Go deeper