← All models
Compare

Claude Sonnet 5 vs Gemini 3.1 Pro

Claude Sonnet 5 (Anthropic) and Gemini 3.1 Pro (Google DeepMind) compared on benchmarks, pricing, context window, and use-case rankings.

AttributeClaude Sonnet 5Anthropic · 3 in the newsGemini 3.1 ProGoogle DeepMind · 3 in the news
Scores
Intelligence (ECI)156155
Coding7959
Math7071
Reasoning & Knowledge5993
Agentic & Tools6479
Specifications
DeveloperAnthropicGoogle DeepMind
FamilyClaudeGemini
ReleasedJun 30, 2026Feb 19, 2026
Parameters
AvailabilityAPI accessAPI access
Context window1M
Price — $/M input$2.00
Price — $/M output$10.00
Inputstext, image, file
Outputstext
Benchmarks
AIME 2024/202595%96%
APEX33%34%
GPQA Diamond91%94%
GSO (code optimization)37%23%
Humanity's Last Exam41%46%
SciCode54%
SimpleBench61%80%
SimpleQA Verified25%77%
WebDev Arena15441461
WeirdML69%72%
ARC-AGI98%
ARC-AGI-277%
FrontierMath37%
FrontierMath Tier 417%
METR task horizon6.4 h
SWE-bench Verified76%
Terminal-Bench80%

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 Claude Sonnet 5 better than Gemini 3.1 Pro?

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

Which is better for coding, Claude Sonnet 5 or Gemini 3.1 Pro?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Claude Sonnet 5 ranks higher — 79th vs 59th 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.