← 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.

Claude Sonnet 5Anthropic · 3 in the newsGemini 3.1 ProGoogle DeepMind · 3 in the news
Scores
Intelligence (ECI)155
Coding9468
Math77
Reasoning & Knowledge8896
Agentic & Tools88
Specifications
DeveloperAnthropicGoogle DeepMind
FamilyClaudeGemini
ReleasedJun 30, 2026Feb 19, 2026
Parameters
AvailabilityAPI access
Context window1M
Price — $/M input$2.00
Price — $/M output$10.00
Inputstext, image, file
Outputstext
Benchmarks
GPQA Diamond91%94%
Humanity's Last Exam40%46%
SciCode54%
AIME 2024/202596%
APEX34%
ARC-AGI98%
ARC-AGI-277%
FrontierMath37%
FrontierMath Tier 417%
GSO (code optimization)23%
METR task horizon6.4 h
SimpleBench80%
SimpleQA Verified77%
SWE-bench Verified76%
Terminal-Bench80%
WebDev Arena1461
WeirdML72%

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, Claude Sonnet 5 or Gemini 3.1 Pro?

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