Skip to content
llmmodels

Gemini 2.5 Pro vs GPT-5.2 Codex

GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Gemini 2.5 Pro is about 1.4× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Pro has the larger context window (1M vs 400K).

SpecGemini 2.5 ProGPT-5.2 Codex
ProviderGoogle DeepMindOpenAI
ReleasedJun 17, 2025Dec 11, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M (better)400K
Max output64K125K (better)
Input price / 1M$1.25 (better)$1.75
Output price / 1M$10 (better)$14
Input modalitiestext, image, audio, video, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers31 (better)19
GPQA Diamond85.3%—
Humanity's Last Exam18.2%—
SWE-bench Verified57.6%—
Terminal-Bench32.6%66.5% (better)
Aider Polyglot76.9%—
WebDev Arena12261339 (better)
OTIS Mock AIME84.7%—
MATH Level 595.9%—
FrontierMath24.6%—
ARC-AGI-24.9%—
LiveBench82.3%—

Cost example

For a workload of 10M input + 2M output tokens per month: Gemini 2.5 Pro costs $32.50 and GPT-5.2 Codex costs $45.50 at list price (Google DeepMind / openrouter pricing).

About Gemini 2.5 Pro

Gemini 2.5 Pro is a proprietary reasoning llm from Google DeepMind, released Jun 17, 2025. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $1.25 per million input tokens and $10 per million output tokens. It is available from 31 API providers. Full Gemini 2.5 Pro specs →

About GPT-5.2 Codex

GPT-5.2 Codex is a proprietary reasoning llm from OpenAI, released Dec 11, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 19 API providers. Full GPT-5.2 Codex specs →

Compare other models

FAQ

Which is better, Gemini 2.5 Pro or GPT-5.2 Codex?

GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Gemini 2.5 Pro is about 1.4× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Pro has the larger context window (1M vs 400K).

Is Gemini 2.5 Pro cheaper than GPT-5.2 Codex?

Gemini 2.5 Pro costs $1.25 input / $10 output per 1M tokens; GPT-5.2 Codex costs $1.75 / $14. Gemini 2.5 Pro is cheaper overall.

Which has a bigger context window?

Gemini 2.5 Pro: 1,048,576 tokens. GPT-5.2 Codex: 400,000 tokens.

Are Gemini 2.5 Pro and GPT-5.2 Codex open source?

Gemini 2.5 Pro is proprietary; GPT-5.2 Codex is proprietary.