Pricing comparison

GPT-5.4 vs Gemini 3.1 Pro (preview)

Per-token pricing, full-workload cost ladders, and monthly volume projections. Numbers sourced directly from each provider's rate card.

OpenAI

GPT-5.4

Input
$2.50 / 1M
Output
$15.00 / 1M
Cached input
$0.250 / 1M
Context
1.1M
Max output
128K

Google

Gemini 3.1 Pro (preview)

Input
$2.00 / 1M
Output
$12.00 / 1M
Cached input
$0.200 / 1M
Context
1M
Max output
-

Cost per request

Four common workload shapes, input tokens and a 1:2 output ratio (a standard chat/completion pattern). Long-context surcharges apply automatically where the provider charges them.

ScenarioTokens (in / out)GPT-5.4Gemini 3.1 Pro (preview)Winner
Short prompt100 / 200$0.0033$0.0026Gemini 3.1 Pro (preview)
Typical request1,000 / 2,000$0.0325$0.0260Gemini 3.1 Pro (preview)
Long document10,000 / 5,000$0.1000$0.0800Gemini 3.1 Pro (preview)
Large prompt100,000 / 10,000$0.4000$0.3200Gemini 3.1 Pro (preview)

Monthly bill at scale

Projected monthly cost at typical request volume, assuming the "typical request" shape above (1k in, 2k out).

TrafficReq / monthGPT-5.4Gemini 3.1 Pro (preview)Delta
Small SaaS1,000$32.50$26.00Gemini 3.1 Pro (preview) -$6.50
Growing product10,000$325.00$260.00Gemini 3.1 Pro (preview) -$65.00
Heavy usage100,000$3,250$2,600Gemini 3.1 Pro (preview) -$650.00

Which should you use?

For the typical chat-shape request (~1k input, 2k output), Gemini 3.1 Pro (preview) comes out 25% cheaper. If you're picking one as the default, that's usually the right choice on cost alone.

Gemini 3.1 Pro (preview) wins on both sides of the bill - cheaper input and cheaper output. If the quality gap is in your favour, there's no cost argument for the other side.

Context window differs: GPT-5.4 holds 1.1M of input vs 1M on the other side. If you regularly push past the smaller ceiling, the comparison ends there.

Heads-up: Gemini 3.1 Pro (preview) applies a long-context surcharge above 200K input tokens ($4.00 input / $18.00 output per 1M). Workloads that push past that threshold pay roughly 2x the numbers above.

Live cost calculator

Type in any token counts - both prices update instantly. Uses base input/output rates (no cache discount, no long-context tier).

GPT-5.4

$0.0100

per request

Gemini 3.1 Pro (preview)

$0.0080

per request

Gemini 3.1 Pro (preview) is $0.0020 cheaper per request (20.0% less).

Try both in the estimator →

Drop your actual prompt in, tokens are counted with the provider's own tokenizer, and the dollar number matches what lands on your invoice.

Frequently asked

Which is cheaper, GPT-5.4 or Gemini 3.1 Pro (preview)?
On a typical 1,000-input / 2,000-output request, Gemini 3.1 Pro (preview) costs ~$0.0260 vs ~$0.0325 on GPT-5.4. Input or output rates can flip the answer for very lopsided workloads - see the cost ladder above.
What's the difference in per-token pricing?
GPT-5.4 charges $2.50 per 1M input tokens and $15.00 per 1M output tokens. Gemini 3.1 Pro (preview) charges $2.00 / $12.00 per 1M.
Which has the bigger context window?
GPT-5.4 is larger (1.1M) vs 1M on the other.
Is there a cached-input discount on either?
GPT-5.4 caches at $0.250 per 1M (90% off). Gemini 3.1 Pro (preview) caches at $0.200 per 1M (90% off). Workloads with repeated static prefixes see the biggest savings.
Does Gemini 3.1 Pro (preview) have a long-context surcharge?
Yes. Above 200K input tokens, Gemini 3.1 Pro (preview) bills at $4.00 input / $18.00 output per 1M instead of the standard rate.
How fresh is this comparison?
GPT-5.4 was re-verified on 2026-04-06 and Gemini 3.1 Pro (preview) on 2026-04-06 against each provider's published rate card. Calcis re-checks every row on a rolling schedule and re-deploys when a provider changes pricing.

GPT-5.4 verified 2026-04-06 · Gemini 3.1 Pro (preview) verified 2026-04-06. Rate cards at OpenAI and Google.