Anthropic: Claude Sonnet 4.6 vs Google: Gemini 3.1 Pro Preview Custom Tools
Side-by-side comparison of Anthropic: Claude Sonnet 4.6 and Google: Gemini 3.1 Pro Preview Custom Tools. Compare pricing, context window, capabilities, and find out which is better for your workflow.
Verdict
moderate confidenceGoogle: Gemini 3.1 Pro Preview Custom Tools leads overall
Google: Gemini 3.1 Pro Preview Custom Tools leads in price and capabilities, making it the stronger choice for most workflows. Anthropic: Claude Sonnet 4.6 remains competitive with advantages in max output.
Best for with Anthropic: Claude Sonnet 4.6
Best for with Google: Gemini 3.1 Pro Preview Custom Tools
Side-by-side
Technical specifications
| Anthropic: Claude Sonnet 4.6 | Google: Gemini 3.1 Pro Preview Custom Tools | |
|---|---|---|
| Provider | Anthropic | |
| Input price | $3/M | $2/M |
| Output price | $15/M | $12/M |
| Context window | 1.0M | 1.0M |
| Max output | 128K | 66K |
| Capabilities | Tool useVisionReasoning | Tool useVisionAudioReasoning |
| Released | Feb 17, 2026 | Feb 25, 2026 |
Scoring breakdown
How each dimension compares
Price
Google: Gemini 3.1 Pro Preview Custom Tools leadsAnthropic: Claude Sonnet 4.6
$15/M tokens
Google: Gemini 3.1 Pro Preview Custom Tools
$12/M tokens
Context Window
Anthropic: Claude Sonnet 4.6
1.0M tokens
Google: Gemini 3.1 Pro Preview Custom Tools
1.0M tokens
Capabilities
Google: Gemini 3.1 Pro Preview Custom Tools leadsAnthropic: Claude Sonnet 4.6
3/4
Google: Gemini 3.1 Pro Preview Custom Tools
4/4
Max Output
Anthropic: Claude Sonnet 4.6 leadsAnthropic: Claude Sonnet 4.6
128K tokens
Google: Gemini 3.1 Pro Preview Custom Tools
66K tokens
Recency
Anthropic: Claude Sonnet 4.6
Feb 2026
Google: Gemini 3.1 Pro Preview Custom Tools
Feb 2026
Related comparisons
Anthropic: Claude Opus 4.5 vs Google: Gemini 3.1 Pro Preview Custom Tools
flagship tier · Cross-provider
Anthropic: Claude Opus 4.6 vs Google: Gemini 3.1 Pro Preview Custom Tools
flagship tier · Cross-provider
Anthropic: Claude Sonnet 4.6 vs Google: Gemini 3.1 Pro Preview
flagship tier · Cross-provider
Anthropic: Claude Sonnet 4.6 vs Google: Nano Banana Pro (Gemini 3 Pro Image Preview)
flagship tier · Cross-provider