Gemini 3.1 Pro Preview vs GPT-5.4 Nano

Price, context window & benchmark comparison

G

Gemini 3.1 Pro Preview

Google
$2.00 / $12.00
Input / Output · per 1M tokens
VS
O

GPT-5.4 Nano

OpenAI
$0.20 / $1.25
Input / Output · per 1M tokens
Compare different models
G
O
Verdict: GPT-5.4 Nano is 9.7× cheaper than Gemini 3.1 Pro Preview on a typical 3:1 input/output mix. Gemini 3.1 Pro Preview scores higher on the Artificial Analysis Intelligence Index (29.7 vs 20.7). Gemini 3.1 Pro Preview has the larger context window (1M vs 400K).
Gemini 3.1 Pro PreviewGPT-5.4 Nano
Input price / 1M$2.00$0.20
Output price / 1M$12.00$1.25
Blended price (3:1)$4.50$0.46
Cached input / 1M$0.20$0.02
Context window1M400K
Max output66K128K
Intelligence index29.720.7
Coding index68.856.1
Providers
Best provider uptime (30m)
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-02-192026-03-17
Retirement

Cost calculator

FAQ

Which is cheaper, Gemini 3.1 Pro Preview or GPT-5.4 Nano?

GPT-5.4 Nano is 9.7× cheaper than Gemini 3.1 Pro Preview on a typical 3:1 input/output mix.

Gemini 3.1 Pro Preview vs GPT-5.4 Nano: which has a bigger context window?

Gemini 3.1 Pro Preview: 1,048,576 tokens. GPT-5.4 Nano: 400,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemini 3.1 Pro Preview ≈ $10,000, GPT-5.4 Nano ≈ $1,025.

More comparisons