Model Comparison
Gemma 4 31B (Reasoning)
vs. GPT-5.4 mini (medium)
Comparing 2 AI models · 7 benchmarks · Google, OpenAI
Recommended Pick
Strongest on: Input price, Output price, TTFT
Lowest Price
Gemma 4 31B (Reasoning)
$0.00/1M input price
Best Reasoning
Gemma 4 31B (Reasoning)
45.9 reasoning score
Blends available reasoning benchmarks
Best for Coding
Gemma 4 31B (Reasoning)
38.7 coding index
Composite Indices
Higher is better; speed and price are normalized
Standard Benchmarks
Only benchmarks with data are shown
Differences That Matter
Price gap
Gemma 4 31B (Reasoning) is ∞x cheaper on input tokens than GPT-5.4 mini (medium).
Speed gap
GPT-5.4 mini (medium) generates about 5.0x as many tokens per second as Gemma 4 31B (Reasoning).
Reasoning gap
Gemma 4 31B (Reasoning) leads GPT-5.4 mini (medium) by 2.9 points on reasoning.
Coding gap
Gemma 4 31B (Reasoning) leads GPT-5.4 mini (medium) by 1.2 points on coding.
Top-pick rationale
Gemma 4 31B (Reasoning) wins 11 measurable categories, including Input price, Output price, TTFT, Reasoning.
Response Face-Off
Run one prompt through the selected models and compare response quality with live speed and cost context.
Gemma 4 31B (Reasoning)
TTFT
—
Time
—
tok/s
—
Tokens
—
Cost
—
GPT-5.4 mini (medium)
OpenAI
TTFT
—
Time
—
tok/s
—
Tokens
—
Cost
—
Which answer was more useful?
Full Comparison
| Metric | Top Pick Go Gemma 4 31B (Reasoning) | Op GPT-5.4 mini (medium) |
|---|---|---|
| Pricing per 1M tokens | ||
| Input Cost | $0.00/1M | $0.75/1M |
| Output Cost | $0.00/1M | $4.50/1M |
| Blended (3:1) | — | $1.69/1M |
| Specifications | ||
| Organization | OpenAI | |
| Release Date | Apr 2, 2026 | Mar 17, 2026 |
| Performance & Speed | ||
| Throughput | 35.2 tok/s | 177.9 tok/s |
| TTFT | 973ms | 5156ms |
| Latency | 50258ms | 5156ms |
| Composite Indices | ||
| Value Score | — | 100.0 |
| Reasoning Score | 45.9 | 43.1 |
| Intelligence | 29.4 | 29.8 |
| Coding | 38.7 | 37.5 |
| Standard Benchmarks | ||
| GPQA | 85.7% | 82.3% |
| HLE | 22.7% | 17.1% |
| SciCode | 43.4% | 44.2% |
| LCR | 62.0% | 61.3% |
| IFBench | 75.6% | 64.8% |
| TAU-bench v2 | 59.9% | 36.5% |
| TerminalBench Hard | 36.4% | 34.1% |
Key Takeaways
Gemma 4 31B (Reasoning) offers the best value at $0.00/1M, making it ideal for high-volume applications and cost-conscious projects.
Gemma 4 31B (Reasoning) has the strongest reasoning profile with a 45.9 reasoning score, combining the available reasoning-heavy benchmarks.
Gemma 4 31B (Reasoning) reaches a 38.7 coding index, making it the top choice for software development and code generation tasks.
All models support context windows of ∞+ tokens, suitable for processing lengthy documents and maintaining extended conversations.
When to Choose Each Model
Gemma 4 31B (Reasoning)
- Cost-sensitive applications
- High-volume processing
- Complex reasoning tasks
- Research & analysis
- Code generation
- Software development
GPT-5.4 mini (medium)
- General-purpose AI
- Versatile applications