GooglevsOpenAI·Updated Nov 2026
Gemini 1.5 Pro logovsGPT 5.1 Codex logo

Gemini 1.5 Pro vs GPT 5.1 Codex

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
Tie · $1.25/1M

Equal

Cheaper Output
Gemini 1.5 Pro logoGemini 1.5 Pro-50%

$5.00 vs $10.00 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
GPT 5.1 Codex logoGPT 5.1 Codex2×

400K vs 200K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
Gemini 1.5 Pro logoGemini 1.5 ProPending
GPT 5.1 Codex logoGPT 5.1 CodexPending
AA Engineering
Gemini 1.5 Pro logoGemini 1.5 ProPending
GPT 5.1 Codex logoGPT 5.1 CodexPending
Core Capability Profile
MetricGemini 1.5 ProGPT 5.1 Codex
ReasoningYesYes
Input Modalitiestext, imagetext, image
Tools & JSONToolsTools
Prompt Caching$0.00/1M$0.13/1M
Open-WeightProprietaryProprietary

Side-by-side specification matrix

USD ·
MetricGemini 1.5 Pro logoGemini 1.5 ProGPT 5.1 Codex logoGPT 5.1 CodexCompare
Input / 1M$1.25$1.25Equal
Output / 1M$5.00$10.00Gemini 1.5 Pro -50%
5m Cache Write / 1M$0.00$1.25Gemini 1.5 Pro -100%
1h Cache Write / 1M———
Cache Read$0.00$0.13Gemini 1.5 Pro -100%
Web Search / Call———
Context200K (200,000)400K (400,000)GPT 5.1 Codex 2×
Max Output32K (32,000)128K (128,000)GPT 5.1 Codex 4×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, imagetext, imageEqual
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIProprietary APIEqual

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with Gemini 1.5 Pro $159.75/mo ($1,917.00)
-40%
Gemini 1.5 Pro logoGemini 1.5 ProBest Value
$243.75/mo
In: $93.75
Cache: $0.00
Out: $150.00
Search: N/A
GPT 5.1 Codex logoGPT 5.1 Codex
$403.50/mo
In: $93.75
Cache: $9.75
Out: $300.00
Search: N/A

Frequently Asked Questions

Is Gemini 1.5 Pro or GPT 5.1 Codex cheaper per API token?

Both Gemini 1.5 Pro and GPT 5.1 Codex charge an identical $1.25 per 1M input tokens. For output tokens, Gemini 1.5 Pro costs 50% less ($5.00 vs $10.00 per 1M).

How do Gemini 1.5 Pro and GPT 5.1 Codex prompt caching discounts compare?

Gemini 1.5 Pro offers 100% cheaper cache reads at $0.00/1M compared to $0.13/1M for GPT 5.1 Codex. Gemini 1.5 Pro 5m write: $0.00/1M; GPT 5.1 Codex 5m write: $1.25/1M.

Which model has a larger context window: Gemini 1.5 Pro or GPT 5.1 Codex?

GPT 5.1 Codex provides a 2× larger context window (400K vs 200K tokens). For single-turn output generation, Gemini 1.5 Pro caps at 32K tokens and GPT 5.1 Codex caps at 128K tokens.

How do Gemini 1.5 Pro and GPT 5.1 Codex compare on benchmarks and capabilities?

Compare Gemini 1.5 Pro (Google) and GPT 5.1 Codex (OpenAI) across tool calling (yes vs yes) and reasoning support above.

Related Head-to-Head Matchups

Comparisons