Comparison

Gemini 3.1 Pro Preview vs GPT-4o

Gemini 3.1 Pro Preview costs 20% less per input token than GPT-4o. Output pricing favors GPT-4o, 17% less per token than Gemini 3.1 Pro Preview.

FieldGemini 3.1 Pro Preview
GPT-4o
Legacy
ProviderGoogleOpenAI
Context window128K
Max output
Input / 1M$2.0020% cheaper$2.50
Output / 1M$12.00$10.0017% cheaper
Cached input / 1M$0.2084% cheaper$1.25
Batch discount50%
Release date

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadGemini 3.1 Pro PreviewGPT-4o

Chatbot

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

$400.00$400.00

RAG pipeline

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

$612.00cheaper$660.00

Batch summarization

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

$290.00cheaper$325.00

Gemini 3.1 Pro Preview vs GPT-4o FAQ

Is Gemini 3.1 Pro Preview cheaper than GPT-4o?
Gemini 3.1 Pro Preview costs $2.00 per 1M input tokens versus $2.50 for GPT-4o — Gemini 3.1 Pro Preview is 20% cheaper per input token.
Which is cheaper for output tokens, Gemini 3.1 Pro Preview or GPT-4o?
Gemini 3.1 Pro Preview charges $12.00 per 1M output tokens; GPT-4o charges $10.00 per 1M output tokens.
Do Gemini 3.1 Pro Preview and GPT-4o offer cache pricing?
Gemini 3.1 Pro Preview discounts cached input to $0.20 per 1M tokens. GPT-4o discounts cached input to $1.25 per 1M tokens.

Looking for another matchup? See all comparisons.