GPT-5.4 vs Gemini 3.1 Pro.

A direct API cost comparison: headline rates, the per-call math on a typical workload, and which one to pick beyond price.

GPT-5.4

OpenAI
$0.0112
1,500 in × $2.50 + 500 out × $15.00 per million

Gemini 3.1 Pro

Google
$0.0090
1,500 in × $2.00 + 500 out × $12.00 per million

Which is cheaper: GPT-5.4 or Gemini 3.1 Pro?

On a standard 1,500-input / 500-output call, Gemini 3.1 Pro is about 20% cheaper — $0.0090 versus $0.0112 per call. At 10,000 calls a month that is roughly $90.00 vs $112.50.

Output tokens cost several times more than input on both models, so the more your workload leans toward long generated answers, the more the output rate dominates the bill.

Side-by-side specifications

MetricGPT-5.4Gemini 3.1 Pro
VendorOpenAIGoogle
Input price / M tokens$2.50$2.00
Output price / M tokens$15.00$12.00
Context window1M1M
Cost per typical call$0.0112$0.0090
Cost per 10,000 calls$112.50$90.00

When to pick which

Beyond the per-token math, tokenizer efficiency on non-English text and your own quality evals can shift the real cost. Price your actual prompt in the language you serve with the calculator before committing.

Prompt caching and batching

Both providers support prompt caching (cached input bills at roughly 10% of the standard rate) and batch processing (about 50% off for 24-hour-tolerant jobs). If one model lets you cache a larger static prefix in your setup, it can become cheaper in practice even when its headline rate is higher.

The bottom line

Gemini 3.1 Pro wins on raw price for a typical workload. Pick GPT-5.4 only when its quality, context, or tokenizer advantages on your specific task outweigh the difference.

FAQ

Is GPT-5.4 or Gemini 3.1 Pro cheaper?

Gemini 3.1 Pro — about 20% cheaper on a typical 1,500-input / 500-output call ($0.0090 vs $0.0112).

What does each cost per million tokens?

GPT-5.4: $2.50 input / $15.00 output. Gemini 3.1 Pro: $2.00 input / $12.00 output.

Which should I choose for output-heavy generation?

The one with the lower output rate, since generation is output-bound: Gemini 3.1 Pro ($12.00/M output).

Other comparisons

explore more
all pairs

All Comparisons

Every model matchup
flagship

GPT-5.5 vs Claude Opus 4.8

$5/$30 vs $5/$25
cheapest

DeepSeek V3.2 vs Gemini 2.5 Flash-Lite

$0.14/$0.28 vs $0.10/$0.40