Comparing 2 models

Claude Sonnet 5 vs Gemini 3.1 Pro Preview

Facts first, then task-specific rankings. A highlighted cell is better only for that row, not universally.

metric
Model 1Claude Sonnet 5
Model 2Gemini 3.1 Pro Preview
Best for
Agentic Coding (#5)
Business Writing (#3)
Provider
anthropic
google
Context
1M
1.0MBest
Input / 1M
$2Best
$2Best
Output / 1M
$10Best
$12
Tool use
yesBest
yesBest
Vision
yesBest
yesBest
Reasoning
yesBest
yesBest
Open-weight
Released
Jun 30, 2026
Feb 19, 2026