Model comparison

Gemma 4 31B IT vs GPT-5 Nano

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

Last verified . 26 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GPT-5 Nano OpenAI

33.5

Rank #241 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Gemma 4 31B IT scores higher in 9 categories and GPT-5 Nano in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 4 31B IT leads 60.5 to 39.1.
  • The biggest single-benchmark swing is LMCA: 39.3% for Gemma 4 31B IT and 7.9% for GPT-5 Nano.
  • GPT-5 Nano is cheaper at $0.05 / $0.40 per million input/output tokens, against $0.09 / $0.34 for Gemma 4 31B IT.
  • GPT-5 Nano 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 Nano specifications
Gemma 4 31B ITGPT-5 Nano
ProviderGoogleOpenAI
Noometry Index43.533.5
Released2026-04-022025-08-07
WeightsOpenProprietary
Context window262K400K
Max output33K128K
Input $ / M tokens$0.09$0.05
Output $ / M tokens$0.34$0.40
Results tracked3549

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-5 Nano: 33.6 (#254)

Coding benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
WeirdML52.3%38.1%
LMArena Coding14591351
ALE-Bench925.5718.67
SWE-bench Verified (bash only)—34.8%
LMArena WebDev1366—
SciCode43.4%—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GPT-5 Nano: 25.8 (#106)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
Terminal-Bench—21.8%
Berkeley Function Calling Leaderboard—51.5%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), GPT-5 Nano: 16.3 (#306)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
Kagi LLM Benchmark63.5%62.2%
Chess Puzzles5%27%
LMArena Hard Prompts14481328
DTBench82.7%62.7%
LMCA39.3%7.9%
Epoch Capabilities Index142.74139.38
ARC-AGI-2—2.6%
NYT Connections (extended)70.6%—
ARC-AGI-1—20.7%
CritPt1.4%—
Thematic Generalization53%—
Mystery Game Puzzles—9%
Surface Evolver Bench30.6%—
ForecastBench—59.1

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), GPT-5 Nano: 29.4 (#241)

Math benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
OTIS Mock AIME 2024-202573.3%81.1%
LMArena Math14651317
FrontierMath (Tiers 1-3)—20%
FrontierMath Tier 4—2.4%
ProofBench—12%
Omni-MATH—54.6%
MATH Level 5—95.2%
FrontierMath (Feb 2025 set)—8.3%
FrontierMath Tier 4 (v1)—2.1%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), GPT-5 Nano: 35.9 (#178)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
GPQA Diamond75.8%69.4%
SimpleQA Verified10.4%11.7%
Vectara Hallucination Rate7.4%10.5%
LMArena Expert14651321
MMLU-Pro—77.8%
GPQA (HELM)—67.9%

Multimodal Gemma 4 31B IT leads

Gemma 4 31B IT: 41.6 (#34), GPT-5 Nano: 31.3 (#108)

Multimodal benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
LMArena Vision12771159
VPCT—37.2%
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), GPT-5 Nano: 45.3 (#172)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
LMArena Non-English14311313
LMArena Chinese14761356
LMArena Russian14601296
LMArena Spanish14441360
LMArena French1435—
LMArena German—1327
LMArena Japanese—1226
LMArena Korean—1269

Instruction Following Too close to call

Gemma 4 31B IT: 75.5 (#61), GPT-5 Nano: 75.0 (#79)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
LMArena Instruction Following14331306
IFEval—93.2%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), GPT-5 Nano: 31.3 (#281)

Long Context benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
LMArena Longer Query14461312
Fiction.LiveBench—44.4%

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), GPT-5 Nano: 39.1 (#249)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGPT-5 Nano
LMArena Text14431320
LMArena Creative Writing14151249
EQ-Bench Creative Writing1368705
LMArena Multi-Turn14521311
WildBench—80.6%
EQ-Bench 41120—

Frequently asked questions

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

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

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

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

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper