Claude Sonnet 4.5 (2025-09-29) vs Gemini 3.1 Pro preview
Claude Sonnet 4.5 (2025-09-29) vs Gemini 3.1 Pro preview: Gemini 3.1 Pro preview is cheaper by 33% on average. Claude Sonnet 4.5 (2025-09-29) from Anthropic (200,000-token context, reasoning, tool calls) vs. Gemini 3.1 Pro preview from Google Vertex AI (1,048,576-token context, reasoning, tool calls). Use Agent Command Center to A/B both in shadow mode and pick the winner per workload.
Live workload comparison
Same workload run through both models. The cheaper one is highlighted.
strategy: cost-optimized
primary:
model: gemini-3-1-pro-preview
provider: vertex-ai
fallback:
model: claude-sonnet-4-5-20250929
provider: anthropic
shadow: { sample_rate: 0.05 } # mirror 5% of traffic to compare quality live| Claude Sonnet 4.5 (2025-09-29) | Gemini 3.1 Pro preview | |
|---|---|---|
| Input price | $3.00/M | $2.00/M |
| Output price | $15.00/M | $12.00/M |
| Context window | 200,000 | 1,048,576 |
| Max output | 64,000 | 65,536 |
| Function calling | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio input | — | ✓ |
| Reasoning | ✓ | ✓ |
| Prompt caching | ✓ | ✓ |
| Structured output | ✓ | ✓ |
| Pricing verified | May 12, 2026 | May 12, 2026 |
Benchmark comparison
Side-by-side public benchmark scores. Greener bar = winner.