Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...
Model details →Anthropic: Claude Sonnet 5 vs Google: Gemini 3.1 Pro Preview Custom Tools
Anthropic: Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Custom Tools are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.
Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party...
Model details →Side-by-side comparison
| Capability | Anthropic: Claude Sonnet 5 | Google: Gemini 3.1 Pro Preview Custom Tools | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 1M | 1.0M | 🏆 Google: Gemini 3.1 Pro Preview Custom Tools |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $2.00 | $2.00 | Tie |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $10.00 | $12.00 | 🏆 Anthropic: Claude Sonnet 5 |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | Yes | Yes | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is Anthropic: Claude Sonnet 5 better than Google: Gemini 3.1 Pro Preview Custom Tools?
Anthropic: Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Custom Tools are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.
What's the price difference between Anthropic: Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Custom Tools?
Input: $2.00 vs $2.00 per 1M tokens. Output: $10.00 vs $12.00 per 1M tokens.
What context windows do Anthropic: Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Custom Tools support?
Anthropic: Claude Sonnet 5 supports up to 1M tokens. Google: Gemini 3.1 Pro Preview Custom Tools supports up to 1.0M tokens.
Do both Anthropic: Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Custom Tools support tool calling?
Anthropic: Claude Sonnet 5: yes. Google: Gemini 3.1 Pro Preview Custom Tools: yes.