Comparing 2 models

Claude Sonnet 4.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 4.5
Model 2Gemini 3.1 Pro Preview
Best for
Tool & Function Calling (#2)
Chat & Roleplay (#2)
Provider
anthropic
google
Context
1M
1.0MBest
Input / 1M
$3
$2Best
Output / 1M
$15
$12Best
Tool use
yesBest
yesBest
Vision
yesBest
yesBest
Reasoning
yesBest
yesBest
Open-weight
Released
Jan 15, 2025
Feb 18, 2026