Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free trial
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • LLM cost calculator
  • Token counter
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Benchmarks
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)

Claude Sonnet 5 vs Gemini 3.1 Pro

At a glance

Anthropic's fifth-generation Sonnet — near-Opus intelligence at Sonnet speed and price.

801M ctx$2.00/$10.00 per M#26/92

Google's frontier model with a large leap in core reasoning.

861.0M ctx$2.00/$12.00 per M#10/92
Agent Demos
All agent demos

No shared agent demos for these models yet.

AI Output
All AI outputs

No captured outputs for these models yet.

Benchmarks
See rankings
Reasoning
CI 72.7-84.7
CodingInsufficient data
AgenticInsufficient data
Sources:Epoch ECI·Epoch AI·OpenRouter· as of 2026-07-10
Cheaper11%
Capability
CapabilityECI80.1
Reasoning & Knowledge
Graduate Science90.5%Expert-Level—Factual Recall25.0%
Math
Competition Math94.7%Research Math—
Coding
Real-World Coding—
Agentic
Terminal Tasks—Novel Reasoning—Task Horizon—
Reasoning
Sources:Epoch ECI·Epoch AI·Provider·OpenRouter· as of 2026-07-10
Smarter8%
Capability
CapabilityECI8%86.4
Reasoning & Knowledge
Graduate Science4%94.1%Expert-Level46.4%Factual Recall209%77.3%
Math
Competition Math1%95.6%Research Math36.9%
Coding
Real-World Coding80.6%
Agentic
Terminal Tasks80.2%Novel Reasoning77.1%Task Horizon6.4h
Specs
1M
Context
128K
Max output
Jun 2026
Released
1.0M
Context
66K
Max output
Feb 2026
Released
Capabilities
Vision
Audio
Reasoning
Vision
Audio
Reasoning
Pricing
Live pricing, shown before you run
Input$2.00/M tokens
Output17%$10.00/M tokens
Cache read$0.20/M tokens
Cache write$2.50/M tokens
Web search29%$0.01/search
Live pricing, shown before you run
Input$2.00/M tokens
Output$12.00/M tokens
Reasoning$12.00/M tokens
Cache read$0.20/M tokens
Cache write85%$0.38/M tokens
Image input$2.00/M tokens
Audio input$2.00/M tokens
Web search$0.01/search
Chat with Claude Sonnet 5Go to model
Chat with Gemini 3.1 ProGo to model
Frequently Asked Questions: Claude Sonnet 5 vs Gemini 3.1 Pro▼

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

▼

Based on the Capability Index, Gemini 3.1 Pro scores higher (86.4 vs 80.1). However, "better" depends on your use case — pricing, speed, context window, and specific capability needs all matter.

Which is cheaper, Claude Sonnet 5 or Gemini 3.1 Pro?

▼

Claude Sonnet 5 has a lower blended cost. Claude Sonnet 5: $2.00 input / $10.00 output. Gemini 3.1 Pro: $2.00 input / $12.00 output.

Which has a larger context window, Claude Sonnet 5 or Gemini 3.1 Pro?

▼

Gemini 3.1 Pro has a larger context window: Claude Sonnet 5 supports 1M tokens vs Gemini 3.1 Pro at 1M tokens.

Do both Claude Sonnet 5 and Gemini 3.1 Pro support vision?

▼

Yes, both Claude Sonnet 5 and Gemini 3.1 Pro support vision/image input.

What are the key differences between Claude Sonnet 5 and Gemini 3.1 Pro?

▼

Key differences: Gemini 3.1 Pro has a notably higher capability index (6.3 point gap). Compare full specs on this page.

Which model should I choose for my use case?

▼

If cost is your priority, choose the cheaper option. If you need the highest intelligence for complex tasks, pick the higher-scoring model. For long documents or codebases, choose the larger context window. You can try both Claude Sonnet 5 and Gemini 3.1 Pro for free on idapt.app to see which performs better for your specific needs.

Open in App