Claude Sonnet 4.5 (latest) vs Gemini 3.1 Pro Preview
30-second takeaway
- Gemini 3.1 Pro Preview has the cheaper input: $2 vs $3 (per 1M tokens, 33% less)
- Gemini 3.1 Pro Preview has the larger context: 1.049M vs 200K tokens
| Claude Sonnet 4.5 (latest) Anthropic | Gemini 3.1 Pro Preview OpenCode | |
|---|---|---|
| Input | $3 | $2 |
| Output | $15 | $12 |
| Context | 200K | 1.049M |
More specs (max output / capabilities)
| max output | 64,000 | 65,536 |
| Reasoning | ✓ Yes | ✓ Yes |
| Tool calls | ✓ Yes | ✓ Yes |
| Open weights | — No | — No |
Prices are official/data-source rates (per 1M tokens), not what relays actually charge — relay prices vary with discounts and group multipliers. See methodology.