GPT-5.4 mini vs Gemini 3.1 Pro Preview: cost

GPT-5.4 mini: ✓ verified 2026-12-05 · Official pricing ↗
Gemini 3.1 Pro Preview: ✓ verified 2026-12-05 · Official pricing ↗
Synced 2026-12-05 13:00 UTC · Method

For a typical support chatbot, Gemini 3.1 Pro Preview costs about 3.25× as much as GPT-5.4 mini ($1,080 vs $332 per month). Price is only one factor: test both on your own prompts before switching.

Monthly cost by workload

Estimated monthly cost by workload (USD)
Scenario (per month)GPT-5.4 miniGemini 3.1 Pro Preview
Customer support chatbot
5,000 req/day · 1,200 in · 400 out · cache 60%
$332$1,080
RAG over documents
2,000 req/day · 8,000 in · 600 out · cache 30%
$425$1,133
Coding agent
1,500 req/day · 25,000 in · 2,000 out · cache 80%
$641$1,710
Deep reasoning
800 req/day · 3,000 in · 6,000 out · cache 20%
$692$1,872
Batch processing
50,000 req/day · 1,500 in · 150 out · Batch
$1,350$3,600
GPT-5.4 mini vs Gemini 3.1 Pro Preview: prices and limits
FieldGPT-5.4 miniGemini 3.1 Pro Preview
Input /1M$0.75$2.00
Output /1M$4.50$12.00
Cached /1M$0.075$0.20
Batch input /1M$0.375$1.00
Batch output /1M$2.25$6.00
Context window400,0001,048,576
Max input272,0001,048,576
Max output128,00065,536

Where the prices differ

Which one to pick

Pick GPT-5.4 mini when cost per request dominates: high-volume chatbots, classification, extraction, or anything you can run through a Batch API ($0.375 input per 1M in this site's data). Gemini 3.1 Pro Preview costs more but offers a larger context window (1,048,576 tokens); choose it when that outweighs the price, and test both on your real prompts before committing.

Add a third model or change the workload in the compare tool, or open the model pages: GPT-5.4 mini, Gemini 3.1 Pro Preview.

FAQ

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

GPT-5.4 mini. For the support-chatbot scenario it costs $332 per month against $1,080 for Gemini 3.1 Pro Preview, which costs about 3.25× as much; on input tokens the gap is 2.67× and on output 2.67×.

What do 1M output tokens cost on GPT-5.4 mini and Gemini 3.1 Pro Preview?

GPT-5.4 mini: $4.50 per 1M output tokens ($0.75 input). Gemini 3.1 Pro Preview: $12.00 per 1M output ($2.00 input). Prices are refreshed every 4 hours (the OpenAI, Anthropic and Google official pricing pages are usually checked once a day); see each model page for cache, batch and long-context rates.

Which has the larger context window?

Gemini 3.1 Pro Preview, with 1,048,576 tokens against 400,000 for GPT-5.4 mini. Prompts near the limit cost more in absolute terms, so check the long-context rates on the model pages.