Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with improvements across sy…
Model details →Anthropic: Claude Sonnet 4.5 vs Google: Gemini 3.1 Pro Preview
Google: Gemini 3.1 Pro Preview wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation …
Model details →Side-by-side comparison
| Capability | Anthropic: Claude Sonnet 4.5 | Google: Gemini 3.1 Pro Preview | 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 |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $3.00 | $2.00 | 🏆 Google: Gemini 3.1 Pro Preview |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $15.00 | $12.00 | 🏆 Google: Gemini 3.1 Pro Preview |
| 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 4.5 better than Google: Gemini 3.1 Pro Preview?
Google: Gemini 3.1 Pro Preview wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Anthropic: Claude Sonnet 4.5 and Google: Gemini 3.1 Pro Preview?
Input: $3.00 vs $2.00 per 1M tokens. Output: $15.00 vs $12.00 per 1M tokens.
What context windows do Anthropic: Claude Sonnet 4.5 and Google: Gemini 3.1 Pro Preview support?
Anthropic: Claude Sonnet 4.5 supports up to 1M tokens. Google: Gemini 3.1 Pro Preview supports up to 1.0M tokens.
Do both Anthropic: Claude Sonnet 4.5 and Google: Gemini 3.1 Pro Preview support tool calling?
Anthropic: Claude Sonnet 4.5: yes. Google: Gemini 3.1 Pro Preview: yes.