Model Comparison

Gemma 4 31B (Reasoning)
vs. GPT-5.4 mini (medium)

Comparing 2 AI models · 7 benchmarks · Google, OpenAI

Recommended Pick

Google logo Gemma 4 31B (Reasoning) 11 metric wins

Strongest on: Input price, Output price, TTFT

Lowest Price

Google logo

Gemma 4 31B (Reasoning)

$0.00/1M input price

Best Reasoning

Google logo

Gemma 4 31B (Reasoning)

45.9 reasoning score

Blends available reasoning benchmarks

Best for Coding

Google logo

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.

Live compare

Response Face-Off

Run one prompt through the selected models and compare response quality with live speed and cost context.

Google logo

Gemma 4 31B (Reasoning)

Google

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting
OpenAI logo

GPT-5.4 mini (medium)

OpenAI

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting

Which answer was more useful?

AI Chat

Chat with 80+ models

Inference API

EU-hosted inference

Full Comparison

Metric
Top Pick
Google logo Gemma 4 31B (Reasoning)
Google
OpenAI logo GPT-5.4 mini (medium)
OpenAI
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 GoogleOpenAI
Release Date Apr 2, 2026Mar 17, 2026
Performance & Speed
Throughput 35.2 tok/s177.9 tok/s
TTFT 973ms5156ms
Latency 50258ms5156ms
Composite Indices
Value Score 100.0
Reasoning Score 45.943.1
Intelligence 29.429.8
Coding 38.737.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

Google logo

Gemma 4 31B (Reasoning)

  • Cost-sensitive applications
  • High-volume processing
  • Complex reasoning tasks
  • Research & analysis
  • Code generation
  • Software development
OpenAI logo

GPT-5.4 mini (medium)

  • General-purpose AI
  • Versatile applications