GooglevsOpenAI·Updated Nov 2026
Gemini 2.5 Pro logovsGPT 5 Codex logo

Gemini 2.5 Pro vs GPT 5 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
Tie · $10.00/1M

Equal

AA Intelligence / AA Engineering
Reasoning

—

Context Window
Gemini 2.5 Pro logoGemini 2.5 Pro2.6×

1.05M vs 400K 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 2.5 Pro logoGemini 2.5 ProPending
GPT 5 Codex logoGPT 5 CodexPending
AA Engineering
Gemini 2.5 Pro logoGemini 2.5 ProPending
GPT 5 Codex logoGPT 5 CodexPending
Core Capability Profile
MetricGemini 2.5 ProGPT 5 Codex
ReasoningYesYes
Input Modalitiestext, imagetext
Tools & JSONToolsTools
Prompt Caching$0.13/1M$0.13/1M
Open-WeightProprietaryProprietary

Side-by-side specification matrix

USD ·
MetricGemini 2.5 Pro logoGemini 2.5 ProGPT 5 Codex logoGPT 5 CodexCompare
Input / 1M$1.25$1.25Equal
Output / 1M$10.00$10.00Equal
5m Cache Write / 1M$0.38$1.25Gemini 2.5 Pro -70%
1h Cache Write / 1M———
Cache Read$0.13$0.13Gemini 2.5 Pro -3.8%
Web Search / Call———
Context1.05M (1,048,576)400K (400,000)Gemini 2.5 Pro 2.6×
Max Output66K (65,536)128K (128,000)GPT 5 Codex 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, imagetextGemini 2.5 Pro
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 2.5 Pro $0.38/mo ($4.50)
-0.1%
Gemini 2.5 Pro logoGemini 2.5 ProBest Value
$403.13/mo
In: $93.75
Cache: $9.38
Out: $300.00
Search: N/A
GPT 5 Codex logoGPT 5 Codex
$403.50/mo
In: $93.75
Cache: $9.75
Out: $300.00
Search: N/A

Frequently Asked Questions

Is Gemini 2.5 Pro or GPT 5 Codex cheaper per API token?

Both Gemini 2.5 Pro and GPT 5 Codex charge an identical $1.25 per 1M input tokens. Output pricing is also tied at $10.00 per 1M tokens.

How do Gemini 2.5 Pro and GPT 5 Codex prompt caching discounts compare?

Gemini 2.5 Pro offers 3.8% cheaper cache reads at $0.13/1M compared to $0.13/1M for GPT 5 Codex. Gemini 2.5 Pro 5m write: $0.38/1M; GPT 5 Codex 5m write: $1.25/1M.

Which model has a larger context window: Gemini 2.5 Pro or GPT 5 Codex?

Gemini 2.5 Pro provides a 2.6× larger context window (1.05M vs 400K tokens). For single-turn output generation, Gemini 2.5 Pro caps at 66K tokens and GPT 5 Codex caps at 128K tokens.

How do Gemini 2.5 Pro and GPT 5 Codex compare on benchmarks and capabilities?

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

Related Head-to-Head Matchups

Comparisons