Model comparison

Gemma 4 31B IT vs gpt-oss-20b

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 32.5 on the Noometry Index. gpt-oss-20b costs 4.2× less per token, which makes it the better buy when Gemma 4 31B IT's lead doesn't matter for your workload.

Last verified . 25 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

gpt-oss-20b OpenAI

32.5

Rank #255 Confirmed

Summary

  • They share 25 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and gpt-oss-20b 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 35.5.
  • The biggest single-benchmark swing is LMCA: 39.3% for Gemma 4 31B IT and 14.5% for gpt-oss-20b.
  • gpt-oss-20b is cheaper at $0.018 / $0.09 per million input/output tokens, against $0.09 / $0.34 for Gemma 4 31B IT.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 131K.

Side by side

Gemma 4 31B IT and gpt-oss-20b specifications
Gemma 4 31B ITgpt-oss-20b
ProviderGoogleOpenAI
Noometry Index43.532.5
Released2026-04-022025-08-05
WeightsOpenOpen
Context window262K131K
Max output33K16K
Input $ / M tokens$0.09$0.018
Output $ / M tokens$0.34$0.09
Results tracked3534

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-oss-20b: 37.6 (#192)

Coding benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
SciCode43.4%34.4%
WeirdML52.3%40.9%
LMArena Coding14591306
ALE-Bench925.5566.05
LMArena WebDev1366—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, gpt-oss-20b: 9.3 (#154)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
Terminal-Bench—3.4%

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), gpt-oss-20b: 19.3 (#261)

Reasoning benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
Kagi LLM Benchmark63.5%53.2%
CritPt1.4%1.4%
Chess Puzzles5%4%
LMArena Hard Prompts14481274
DTBench82.7%68%
LMCA39.3%14.5%
Epoch Capabilities Index142.74137.82
NYT Connections (extended)70.6%—
Thematic Generalization53%—
Surface Evolver Bench30.6%—

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), gpt-oss-20b: 39.4 (#103)

Math benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
OTIS Mock AIME 2024-202573.3%65.3%
LMArena Math14651317
Omni-MATH—56.5%

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), gpt-oss-20b: 34.6 (#195)

Knowledge benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
GPQA Diamond75.8%60.8%
LMArena Expert14651258
SimpleQA Verified10.4%—
MMLU-Pro—74%
Vectara Hallucination Rate7.4%—
GPQA (HELM)—59.4%

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), gpt-oss-20b: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Vision1277—
LMArena Document1425—

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), gpt-oss-20b: 42.2 (#197)

Multilingual benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Non-English14311268
LMArena Chinese14761314
LMArena Russian14601278
LMArena Spanish14441267
LMArena French1435—
LMArena German—1255
LMArena Japanese—1244
LMArena Korean—1236

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), gpt-oss-20b: 61.8 (#240)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Instruction Following14331236
IFEval—73.2%

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), gpt-oss-20b: 37.9 (#209)

Long Context benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Longer Query14461250

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), gpt-oss-20b: 35.5 (#265)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Text14431287
LMArena Creative Writing14151201
EQ-Bench Creative Writing1368666
LMArena Multi-Turn14521268
WildBench—73.7%
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than gpt-oss-20b?

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 32.5 on the Noometry Index. gpt-oss-20b costs 4.2× less per token, which makes it the better buy when Gemma 4 31B IT's lead doesn't matter for your workload.

Which is cheaper, Gemma 4 31B IT or gpt-oss-20b?

gpt-oss-20b is cheaper. It lists at $0.018 per million input tokens and $0.09 per million output tokens; Gemma 4 31B IT lists at $0.09 and $0.34.

Is Gemma 4 31B IT or gpt-oss-20b better for coding?

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

Which has the bigger context window?

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

How many benchmarks do Gemma 4 31B IT and gpt-oss-20b share?

25 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and gpt-oss-20b has 34.

Related comparisons

Go deeper