Model Comparison

GPT-5.4 nano (medium)
vs. Gemini 3.1 Pro Preview

Comparing 2 AI models · 7 benchmarks · OpenAI, Google

Recommended Pick

Google logo Gemini 3.1 Pro Preview 10 metric wins

Strongest on: Reasoning, Intelligence, Coding

Best Value

OpenAI logo

GPT-5.4 nano (medium)

100.0 value score

43.0 reasoning / $0.46/1M

Lowest Price

OpenAI logo

GPT-5.4 nano (medium)

$0.20/1M input price

Best Reasoning

Google logo

Gemini 3.1 Pro Preview

65.3 reasoning score

Blends available reasoning benchmarks

Best for Coding

Google logo

Gemini 3.1 Pro Preview

55.5 coding index

Composite Indices

Higher is better; speed and price are normalized

Standard Benchmarks

Only benchmarks with data are shown

Differences That Matter

Best value

GPT-5.4 nano (medium) has the strongest quality-to-price mix at 100.0 out of 100 value points.

Price gap

GPT-5.4 nano (medium) is 10x cheaper on input tokens than Gemini 3.1 Pro Preview.

Speed gap

GPT-5.4 nano (medium) generates about 1.2x as many tokens per second as Gemini 3.1 Pro Preview.

Reasoning gap

Gemini 3.1 Pro Preview leads GPT-5.4 nano (medium) by 22.4 points on reasoning.

Coding gap

Gemini 3.1 Pro Preview leads GPT-5.4 nano (medium) by 20.5 points on coding.

Live compare

Response Face-Off

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

OpenAI logo

GPT-5.4 nano (medium)

OpenAI

Waiting

TTFT

Time

tok/s

Tokens

Cost

Waiting
Google logo

Gemini 3.1 Pro Preview

Google

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
OpenAI logo GPT-5.4 nano (medium)
OpenAI
Top Pick
Google logo Gemini 3.1 Pro Preview
Google
Pricing per 1M tokens
Input Cost $0.20/1M$2.00/1M
Output Cost $1.25/1M$12.00/1M
Blended (3:1) $0.46/1M$4.50/1M
Specifications
Organization OpenAIGoogle
Release Date Mar 17, 2026Feb 19, 2026
Performance & Speed
Throughput 161.4 tok/s134.8 tok/s
TTFT 3858ms28648ms
Latency 3858ms28648ms
Composite Indices
Value Score 100.015.6
Reasoning Score 43.065.3
Intelligence 38.157.2
Coding 35.055.5
Standard Benchmarks
GPQA 76.1%94.1%
HLE 14.7%44.7%
SciCode 38.4%58.9%
LCR 57.3%72.7%
IFBench 64.4%77.1%
TAU-bench v2 52.6%95.6%
TerminalBench Hard 33.3%53.8%

Key Takeaways

GPT-5.4 nano (medium) offers the best value at $0.20/1M, making it ideal for high-volume applications and cost-conscious projects.

Gemini 3.1 Pro Preview has the strongest reasoning profile with a 65.3 reasoning score, combining the available reasoning-heavy benchmarks.

Gemini 3.1 Pro Preview reaches a 55.5 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

OpenAI logo

GPT-5.4 nano (medium)

  • Cost-sensitive applications
  • High-volume processing
Google logo

Gemini 3.1 Pro Preview

  • Complex reasoning tasks
  • Research & analysis
  • Code generation
  • Software development