Comparison
Claude Sonnet 5 vs Gemini 3.1 Pro Preview
Claude Sonnet 5 and Gemini 3.1 Pro Preview charge the same per input token. Output pricing favors Claude Sonnet 5, 17% less per token than Gemini 3.1 Pro Preview.
| Field | Claude Sonnet 5 | Gemini 3.1 Pro Preview |
|---|---|---|
| Provider | Anthropic | |
| Context window | 1M | — |
| Max output | 128K | — |
| Input / 1M | $2.00 | $2.00 |
| Output / 1M | $10.0017% cheaper | $12.00 |
| Cached input / 1M | $0.20 | $0.20 |
| Batch discount | 50% | 50% |
| Release date | — | — |
Worked cost examples
Estimated monthly cost on three common usage shapes
| Workload | Claude Sonnet 5 | Gemini 3.1 Pro Preview |
|---|---|---|
Chatbot 800 input / 200 output tokens per request, 100,000 requests/month | $360.00cheaper | $400.00 |
RAG pipeline 6,000 input / 700 output tokens per request, 30,000 requests/month | $570.00cheaper | $612.00 |
Batch summarization 20,000 input / 1,500 output tokens per request, 5,000 requests/month | $275.00cheaper | $290.00 |
Claude Sonnet 5 vs Gemini 3.1 Pro Preview FAQ
- Is Claude Sonnet 5 cheaper than Gemini 3.1 Pro Preview?
- Claude Sonnet 5 and Gemini 3.1 Pro Preview cost the same per input token: $2.00 per 1M tokens.
- Which is cheaper for output tokens, Claude Sonnet 5 or Gemini 3.1 Pro Preview?
- Claude Sonnet 5 charges $10.00 per 1M output tokens; Gemini 3.1 Pro Preview charges $12.00 per 1M output tokens.
- Do Claude Sonnet 5 and Gemini 3.1 Pro Preview offer cache pricing?
- Claude Sonnet 5 discounts cached input to $0.20 per 1M tokens. Gemini 3.1 Pro Preview discounts cached input to $0.20 per 1M tokens.
Looking for another matchup? See all comparisons.