Skip to content
llmmodels

Gemini 2.5 Pro vs GPT-5.1 Codex Max

GPT-5.1 Codex Max wins 1 of 1 benchmarks both models report. Gemini 2.5 Pro has the larger context window (1M vs 400K).

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

Cost example

For a workload of 10M input + 2M output tokens per month: Gemini 2.5 Pro costs $32.50 and GPT-5.1 Codex Max costs $32.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.1 Codex Max

GPT-5.1 Codex Max is a proprietary reasoning llm from OpenAI, released Nov 13, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.25 per million input tokens and $10 per million output tokens. It is available from 14 API providers. Full GPT-5.1 Codex Max specs →

Compare other models

FAQ

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

GPT-5.1 Codex Max wins 1 of 1 benchmarks both models report. Gemini 2.5 Pro has the larger context window (1M vs 400K).

Which has a bigger context window?

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

Are Gemini 2.5 Pro and GPT-5.1 Codex Max open source?

Gemini 2.5 Pro is proprietary; GPT-5.1 Codex Max is proprietary.