Model comparison

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

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 32.1 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.2

Rank #85 Confirmed

gpt-oss-20b OpenAI

32.1

Rank #249 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.7 to 35.8.
  • 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.232.1
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: 41.9 (#98), gpt-oss-20b: 37.1 (#185)

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

Agentic & Tool Use Not comparable

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

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

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 26.4 (#119), gpt-oss-20b: 18.8 (#251)

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.81
NYT Connections (extended)70.6%—
Thematic Generalization53%—
Surface Evolver Bench30.6%—

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 41.3 (#72), gpt-oss-20b: 37.6 (#93)

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

Knowledge Gemma 4 31B IT leads

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

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.0 (#32), gpt-oss-20b: —

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

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 54.0 (#52), gpt-oss-20b: 42.4 (#192)

Multilingual benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Non-English14311269
LMArena Chinese14781311
LMArena Russian14621279
LMArena Spanish14431267
LMArena French1436—
LMArena German—1249
LMArena Japanese—1245
LMArena Korean—1239

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.6 (#58), gpt-oss-20b: 62.0 (#235)

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 (#67), gpt-oss-20b: 37.9 (#203)

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

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.7 (#92), gpt-oss-20b: 35.8 (#260)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITgpt-oss-20b
LMArena Text14431288
LMArena Creative Writing14161201
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.2 to 32.1 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: 41.9 versus 37.1 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