Comparison

Gemini 3.1 Pro Preview vs GPT-5.4 mini

Per input token, GPT-5.4 mini runs 63% cheaper than Gemini 3.1 Pro Preview. GPT-5.4 mini is 63% cheaper on output tokens.

FieldGemini 3.1 Pro Preview
GPT-5.4 mini
ProviderGoogleOpenAI
Context window400K
Max output128K
Input / 1M$2.00$0.7563% cheaper
Output / 1M$12.00$4.5063% cheaper
Cached input / 1M$0.20$0.07563% cheaper
Batch discount50%50%
Release date2026-03-17

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadGemini 3.1 Pro PreviewGPT-5.4 mini

Chatbot

800 input / 200 output tokens per request, 100,000 requests/month

$400.00$150.00cheaper

RAG pipeline

6,000 input / 700 output tokens per request, 30,000 requests/month

$612.00$229.50cheaper

Batch summarization

20,000 input / 1,500 output tokens per request, 5,000 requests/month

$290.00$108.75cheaper

Gemini 3.1 Pro Preview vs GPT-5.4 mini FAQ

Is Gemini 3.1 Pro Preview cheaper than GPT-5.4 mini?
Gemini 3.1 Pro Preview costs $2.00 per 1M input tokens versus $0.75 for GPT-5.4 mini — GPT-5.4 mini is 167% cheaper per input token.
Which is cheaper for output tokens, Gemini 3.1 Pro Preview or GPT-5.4 mini?
Gemini 3.1 Pro Preview charges $12.00 per 1M output tokens; GPT-5.4 mini charges $4.50 per 1M output tokens.
Do Gemini 3.1 Pro Preview and GPT-5.4 mini offer cache pricing?
Gemini 3.1 Pro Preview discounts cached input to $0.20 per 1M tokens. GPT-5.4 mini discounts cached input to $0.075 per 1M tokens.

Looking for another matchup? See all comparisons.