Head to head · November 2026
Claude Sonnet 5 vs Gemini 3.1 Pro Preview API pricing
Gemini 3.1 Pro Preview costs 1.4 times less per token at an 80/20 mix. Input costs 1.6x more on Claude Sonnet 5. Output costs 1.3x more on Claude Sonnet 5.
Anthropic
Claude Sonnet 5
Daily coding in Claude Code and other coding agents.
- Vendor
- Anthropic
- Type
- Frontier
- SayGM in / out
- $1.96 / $9.79
- OpenRouter in / out
- $2.11 / $10.55
- Blended price
- $3.523
- Per 100M tokens
- $352
- Output share of bill
- 56%
- Difference
- 7% lower
Gemini 3.1 Pro Preview
Long context, multimodal input, document analysis.
- Vendor
- Type
- Frontier
- SayGM in / out
- $1.22 / $7.29
- OpenRouter in / out
- $2.11 / $12.66
- Blended price
- $2.431
- Per 100M tokens
- $243
- Output share of bill
- 60%
- Difference
- 42% lower
Blended price, per 100M tokens and output share assume 80% input and 20% output tokens. Difference is the SayGM blended price against OpenRouter's, fee included.
§ 01
Monthly bill at three usage levels
Both models on SayGM. The bars show how the price ratio turns into dollars as volume grows.
- Claude Sonnet 5 on SayGM
- Gemini 3.1 Pro Preview on SayGM
Show data as a table
| Claude Sonnet 5 on SayGM | Gemini 3.1 Pro Preview on SayGM | |
|---|---|---|
| Side project (5M in · 1M out) | $20 | $13 |
| Production app (50M in · 15M out) | $245 | $170 |
| High volume (500M in · 100M out) | $1,957 | $1,337 |
§ 02
Verdict
A common pattern is to send routine requests to Gemini 3.1 Pro Preview and escalate to Claude Sonnet 5 on failure or low confidence. On one key, that is a model and endpoint change per request rather than a second provider account.
§ 03
Per-token prices
OpenRouter figures include its 5.5% top-up fee.
| Model | SayGMin / out | OpenRouterin / out | Difference |
|---|---|---|---|
| Claude Sonnet 5Anthropic | $1.96 / $9.79 | $2.11 / $10.55 | 7% lower |
| Gemini 3.1 Pro PreviewGoogle | $1.22 / $7.29 | $2.11 / $12.66 | 42% lower |
Difference compares blended prices, assuming 80% input and 20% output tokens, with OpenRouter's fee included.
§ 04
Claude Sonnet 5 vs Gemini 3.1 Pro Preview questions
Which is cheaper, Claude Sonnet 5 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview is about 1.4 times cheaper than Claude Sonnet 5 at an 80/20 input to output mix on SayGM, as of November 2026.
How much do Claude Sonnet 5 and Gemini 3.1 Pro Preview cost on OpenRouter?
Including the 5.5 percent top-up fee, Claude Sonnet 5 costs $2.11 input and $11 output per million tokens, and Gemini 3.1 Pro Preview costs $2.11 and $13.
Can I use Claude Sonnet 5 and Gemini 3.1 Pro Preview with one API key?
Yes. SayGM serves both through their native APIs on a single key, so simple tasks can go to Gemini 3.1 Pro Preview and hard ones to Claude Sonnet 5, or both can run in a cascade model.
§ 05