Head to head · October 2026
Claude Sonnet 5 vs Gemini 3.1 Pro Preview API pricing
Gemini 3.1 Pro Preview costs 1.2 times less per token at an 80/20 mix. Input costs 1.3x more on Claude Sonnet 5. Output costs 1.1x more on Claude Sonnet 5.
Anthropic
Claude Sonnet 5
Daily coding in Cursor, Cline and Claude Code.
- Vendor
- Anthropic
- Type
- Frontier
- SayGM in / out
- $1.78 / $8.89
- OpenRouter in / out
- $2.11 / $10.55
- Blended, 80/20
- $3.202
- Per 100M tokens
- $320
- Output share of bill
- 56%
- SayGM vs OpenRouter
- 16% lower
Gemini 3.1 Pro Preview
Long context, multimodal input, document analysis.
- Vendor
- Type
- Frontier
- SayGM in / out
- $1.39 / $8.34
- OpenRouter in / out
- $2.11 / $12.66
- Blended, 80/20
- $2.780
- Per 100M tokens
- $278
- Output share of bill
- 60%
- SayGM vs OpenRouter
- 34% lower
§ 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) | $18 | $15 |
| Production app (50M in · 15M out) | $222 | $195 |
| High volume (500M in · 100M out) | $1,779 | $1,529 |
§ 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 name 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, fee incl. | SayGM vs OpenRouter80/20 blend |
|---|---|---|---|
| Claude Sonnet 5Anthropic | $1.78 / $8.89 | $2.11 / $10.55 | 16% lower |
| Gemini 3.1 Pro PreviewGoogle | $1.39 / $8.34 | $2.11 / $12.66 | 34% lower |
§ 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.2 times cheaper than Claude Sonnet 5 at an 80/20 input to output mix on SayGM, as of October 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