Pricing comparison

GPT-5.4 nano vs Gemini 3.1 Flash-Lite (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 nano

Input
$0.20 / 1M
Output
$1.25 / 1M
Cached input
$0.020 / 1M
Context
400K
Max output
128K

Google

Gemini 3.1 Flash-Lite (preview)

Input
$0.25 / 1M
Output
$1.50 / 1M
Cached input
$0.025 / 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.4 nanoGemini 3.1 Flash-Lite (preview)Winner
Short prompt100 / 200$0.0003$0.0003GPT-5.4 nano
Typical request1,000 / 2,000$0.0027$0.0033GPT-5.4 nano
Long document10,000 / 5,000$0.0083$0.0100GPT-5.4 nano
Large prompt100,000 / 10,000$0.0325$0.0400GPT-5.4 nano

Monthly bill at scale

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

TrafficReq / monthGPT-5.4 nanoGemini 3.1 Flash-Lite (preview)Delta
Small SaaS1,000$2.70$3.25GPT-5.4 nano -$0.55
Growing product10,000$27.00$32.50GPT-5.4 nano -$5.50
Heavy usage100,000$270.00$325.00GPT-5.4 nano -$55.00

Which should you use?

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

GPT-5.4 nano 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: Gemini 3.1 Flash-Lite (preview) holds 1M of input vs 400K on the other side. If you regularly push past the smaller ceiling, the comparison ends there.

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 nano

$0.0008

per request

Gemini 3.1 Flash-Lite (preview)

$0.0010

per request

GPT-5.4 nano is $0.0002 cheaper per request (17.5% 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 nano or Gemini 3.1 Flash-Lite (preview)?
On a typical 1,000-input / 2,000-output request, GPT-5.4 nano costs ~$0.0027 vs ~$0.0033 on Gemini 3.1 Flash-Lite (preview). 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 nano charges $0.20 per 1M input tokens and $1.25 per 1M output tokens. Gemini 3.1 Flash-Lite (preview) charges $0.25 / $1.50 per 1M.
Which has the bigger context window?
Gemini 3.1 Flash-Lite (preview) is larger (1M) vs 400K on the other.
Is there a cached-input discount on either?
GPT-5.4 nano caches at $0.020 per 1M (90% off). Gemini 3.1 Flash-Lite (preview) caches at $0.025 per 1M (90% off). Workloads with repeated static prefixes see the biggest savings.
How fresh is this comparison?
GPT-5.4 nano was re-verified on 2026-04-06 and Gemini 3.1 Flash-Lite (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 nano verified 2026-04-06 · Gemini 3.1 Flash-Lite (preview) verified 2026-04-06. Rate cards at OpenAI and Google.