← All models
Compare

Gemini 3.1 Pro vs GPT-5 nano

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

AttributeGemini 3.1 ProGoogle DeepMind · 3 in the newsGPT-5 nanoOpenAI
Scores
Intelligence (ECI)155141
Coding6528
Math7413
Reasoning & Knowledge947
Agentic & Tools8311
Specifications
DeveloperGoogle DeepMindOpenAI
FamilyGeminiGPT
ReleasedFeb 19, 2026Aug 7, 2025
Parameters
AvailabilityAPI accessAPI access
Context window400K
Price — $/M input$0.05
Price — $/M output$0.40
Inputstext, image, file
Outputstext
Benchmarks
AIME 2024/202596%81%
APEX34%
ARC-AGI98%21%
ARC-AGI-277%3%
FrontierMath37%8%
FrontierMath Tier 417%2%
GPQA Diamond94%69%
GSO (code optimization)23%
Humanity's Last Exam46%8%
METR task horizon6.4 h
SimpleBench80%
SimpleQA Verified77%12%
SWE-bench Verified76%
Terminal-Bench80%22%
WebDev Arena1461
WeirdML72%38%
LiveCodeBench79%
MATH Level 595%
MMLU-Pro78%
SciCode37%
τ²-bench37%

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

Is Gemini 3.1 Pro better than GPT-5 nano?

On Epoch AI's Capabilities Index, Gemini 3.1 Pro scores higher (155) than GPT-5 nano (141). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.

Which is better for coding, Gemini 3.1 Pro or GPT-5 nano?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Gemini 3.1 Pro ranks higher — 65th vs 28th 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.