Compare/Gemma 4 31B (Reasoning) vs gpt-oss-20b (high)

Gemma 4 31B (Reasoning)vsgpt-oss-20b (high)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Google

Gemma 4 31B (Reasoning)

Input
$0/M
Output
$0/M
Speed
35 tok/s
TTFT
0.93s
OpenAI

gpt-oss-20b (high)

Input
$0.05/M
Output
$0.2/M
Speed
185 tok/s
TTFT
0.48s

Winner by Category

Cheaper
Gemma 4 31B (Reasoning)
Faster (tok/s)
gpt-oss-20b (high)
Lower Latency
gpt-oss-20b (high)
Benchmarks (7-4)
Gemma 4 31B (Reasoning)

Pricing Comparison

MetricGemma 4 31B (Reasoning)gpt-oss-20b (high)
Input ($/M tokens)$0$0.05
Output ($/M tokens)$0$0.2
Cost for 1M input + 100K output tokens:
Gemma 4 31B (Reasoning)$0.00
gpt-oss-20b (high)$0.07

Speed Comparison

Output Speed (tokens/s) — higher is better
Gemma 4 31B (Reasoning)
35 tok/s
gpt-oss-20b (high)
185 tok/s
Time to First Token (seconds) — lower is better
Gemma 4 31B (Reasoning)
0.93s
gpt-oss-20b (high)
0.48s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
29.414.9
Coding Index
43.420.7
Math Index
89.3
GPQA Diamond
85.7%68.8%
MMLU-Pro
74.8%
LiveCodeBench
77.7%
AIME 2025
89.3%
MATH-500
Humanity's Last Exam
22.7%9.8%
SciCode
43.4%34.4%
IFBench
75.6%65.1%
TerminalBench
36.4%10.6%
Gemma 4 31B (Reasoning)7 wins
4 winsgpt-oss-20b (high)

Frequently Asked Questions

Which is cheaper, Gemma 4 31B (Reasoning) or gpt-oss-20b (high)?

Gemma 4 31B (Reasoning) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.00/M tokens vs $0.09/M for gpt-oss-20b (high).

Which model performs better on benchmarks?

Gemma 4 31B (Reasoning) wins 7 out of 12 benchmarks compared to 4 for gpt-oss-20b (high). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

gpt-oss-20b (high) generates tokens faster at 185 tok/s vs 35 tok/s. However, gpt-oss-20b (high) has lower time-to-first-token (0.48s vs 0.93s).

When should I use Gemma 4 31B (Reasoning) vs gpt-oss-20b (high)?

Choose based on your priorities: Gemma 4 31B (Reasoning) for lower cost, Gemma 4 31B (Reasoning) for stronger benchmark performance, and gpt-oss-20b (high) for faster generation. For latency-sensitive apps, check the TTFT comparison above.