Gemini 3.1 Pro vs GPT-5.1 Codex High: Specs & Benchmark Comparison

CharacteristicGemini 3.1 ProGPT-5.1 Codex High
CompanyGoogleOpenAI
Release DateFebruary 19, 2026November 11, 2025
Parameters
MultimodalYesYes
Context (input)1.0M400K
Context (output)66K128K
Input Price / 1M$2.50$1.25
Output Price / 1M$15.00$10.00
Average Score0.81.0

Verdict

Gemini 3.1 Pro leads in 2 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: Gemini 3.1 Pro — 0.8, GPT-5.1 Codex High — 1.0.

API Cost

GPT-5.1 Codex High is 1.6x cheaper: input $1.25/1M vs $2.50/1M tokens.

Context Window

Gemini 3.1 Pro supports a larger context: 1M vs 400K tokens.

Recency

Gemini 3.1 Pro is newer: released 2/19/2026 vs 11/11/2025.

More About These Models

Related Comparisons

Frequently Asked Questions

Which is better for coding — Gemini 3.1 Pro or GPT-5.1 Codex High?
Direct comparison on the SWE-Bench benchmark is not available. We recommend reviewing other metrics on the comparison page.
Which model is cheaper — Gemini 3.1 Pro or GPT-5.1 Codex High?
GPT-5.1 Codex High is cheaper for input: $1.25 per 1M tokens vs $2.50.
Which has a larger context window — Gemini 3.1 Pro or GPT-5.1 Codex High?
Gemini 3.1 Pro supports a larger context: 1,048,576 tokens vs 400,000.

The Gemini 3.1 Pro and GPT-5.1 Codex High comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the Gemini 3.1 Pro or GPT-5.1 Codex High page. See also the complete list of AI model comparisons.