← All models
Compare

Gemini 3.1 Pro vs GPT-5.1-Codex

Gemini 3.1 Pro (Google DeepMind) and GPT-5.1-Codex (OpenAI) compared on benchmarks, pricing, context window, and use-case rankings.

AttributeGemini 3.1 ProGoogle DeepMind · 3 in the newsGPT-5.1-CodexOpenAI · 2 in the news
Scores
Intelligence (ECI)155
Coding6551
Math7477
Reasoning & Knowledge9460
Agentic & Tools8350
Specifications
DeveloperGoogle DeepMindOpenAI
FamilyGeminiGPT
ReleasedFeb 19, 2026Nov 12, 2025
Parameters
AvailabilityAPI accessAPI access
Context window400K
Price — $/M input$1.25
Price — $/M output$10.00
Inputstext, image
Outputstext
Benchmarks
AIME 2024/202596%96%
APEX34%21%
ARC-AGI98%
ARC-AGI-277%
FrontierMath37%
FrontierMath Tier 417%
GPQA Diamond94%86%
GSO (code optimization)23%
Humanity's Last Exam46%23%
METR task horizon6.4 h
SimpleBench80%
SimpleQA Verified77%
SWE-bench Verified76%
Terminal-Bench80%58%
WebDev Arena14611331
WeirdML72%
LiveCodeBench85%
MMLU-Pro86%
SciCode40%
τ²-bench83%

Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.

Frequently asked questions

Which is better for coding, Gemini 3.1 Pro or GPT-5.1-Codex?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Gemini 3.1 Pro ranks higher — 65th vs 51th percentile among the models tracked on Model Beat.

Want a different match-up? Open the compare tool to add or swap models.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.