Model comparison · Updated 17 Aug 2026

Claude Sonnet 5 vs Gemini 3.1 Pro Preview

Claude Sonnet 5 and Gemini 3.1 Pro Preview cost the same on input, $2.00 per 1M tokens. Gemini 3.1 Pro Preview has the larger context window (1.05M against 1M tokens). For a support chatbot at 10,000 chats a day, the standard-tier bill is about $1,800 a month for Claude Sonnet 5 and $1,980 for Gemini 3.1 Pro Preview.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Claude Sonnet 5 vs Gemini 3.1 Pro Preview”. Retrieved 17 Aug 2026. https://modelsatlas.com/compare/anthropic/claude-sonnet-5/vs/google/gemini-3-1-pro-preview

Model A

Claude Sonnet 5

by Anthropic · weights not marked open · GRIDE5

Input / 1M
$2.00
asserted Vendor states
Source
docs.anthropic.com/en/docs/about-claude/pricing
Retrieved
17 Aug 2026
Output / 1M$10.00
Context1M
vs

Model B

Gemini 3.1 Pro Preview

by Google · weights not marked open · GRIDE5

Input / 1M
$2.00
observed We measured
Source
Our catalogue
Retrieved
17 Aug 2026
Output / 1M$12.00
Context1.05M

Key numbers

Standard tier · highlighted = better

Claude Sonnet 5
Gemini 3.1 Pro Preview
Input / 1M tokens
$2.00
$2.00
Output / 1M tokens
$10.00
$12.00
Batch input / output
$1.00 / $5.00
$1.00 / $6.00
Context window
1,000,000
1,048,576
Input types
Not disclosed
Not disclosed
Weights
Not marked open
Not marked open
Tiers listed
batch, standard
batch, standard
Prices checked
2026-08-17
2026-08-17

What it costs for real workloads

Monthly, standard tier, 30 days

Support chatbot10k chats/day · 1.5k in, 300 out
$1,800/mo
$1,980/mo
RAG over documents2k queries/day · 12k in, 500 out
$1,740/mo
$1,800/mo
Coding agent300 tasks/day · 60k in, 8k out
$1,800/mo
$1,944/mo

Claude Sonnet 5   Gemini 3.1 Pro Preview · Derived from the standard-tier prices above, input and output tokens per request as stated, 30 days. Excludes caching discounts and batch. Try your own numbers.

On the atlas

Price band (A–H) × context band (1–6)

Same square. Claude Sonnet 5 and Gemini 3.1 Pro Preview share E5.

Same square as Claude Sonnet 5: Gemini 2.5 Pro Preview 06-05 ($1.25), Grok 4.3 ($1.25), Muse Spark 1.1 ($1.25). Open E5

AFreeB<$0.10C$0.10–0.30D$0.30–1E$1–3F$3–10G$10–30H$30+1<32K232–128K3128–256K4256K–1M51M6>1MINPUT PRICE PER 1M TOKENS →CONTEXT WINDOW ↑ · position within a square follows the real valueClaude Sonnet 5.5 · E5Gemini 3.1 Pro Preview Custom Tools · E5GPT-4.1 · E5Qwen3.8 2.4T A95B · E5Gemini 3.5 Flash · E5Claude Sonnet 5Claude Sonnet 5Gemini 3.1 Pro PreviewGemini 3.1 Pro Preview
Claude Sonnet 5Gemini 3.1 Pro PreviewNearest neighboursOpen weights
View the map as a table (1 squares)

Capabilities side by side

Only what our records list

Claude Sonnet 5
Gemini 3.1 Pro Preview
Vision input
Not disclosed
Not disclosed
Audio input
Not disclosed
Not disclosed
Open weights
Not marked open
Not marked open
Batch tier
Supported
Supported
Free tier
Not listed
Not listed
Thinking tier
Not listed
Not listed

Neither record lists input types, so we do not claim any.

Which should you choose?

Editorial

Choose Claude Sonnet 5 if…

  • output dominates your bill: $10.00 per 1M output against $12.00

Choose Gemini 3.1 Pro Preview if…

  • your prompts are long: it takes 1,048,576 tokens against 1,000,000

Each reason is a fact from the tables above. Picking between them is our judgement, and we do not benchmark quality: price and context are what we can measure, so test both on your own prompts before you commit.

Questions

Is Claude Sonnet 5 better than Gemini 3.1 Pro Preview?
We do not benchmark quality, so we cannot say. On the recorded numbers: Claude Sonnet 5 and Gemini 3.1 Pro Preview cost the same on input, $2.00 per 1M tokens. Gemini 3.1 Pro Preview has the larger context window (1.05M against 1M tokens). For a support chatbot at 10,000 chats a day, the standard-tier bill is about $1,800 a month for Claude Sonnet 5 and $1,980 for Gemini 3.1 Pro Preview. Which is better for you depends on your task; test both on your own prompts.
Which is cheaper, Claude Sonnet 5 or Gemini 3.1 Pro Preview?
They cost the same on input, $2.00 per 1M tokens. Output is $10.00 for Claude Sonnet 5 and $12.00 for Gemini 3.1 Pro Preview.
How much does each cost per 1M tokens?
Claude Sonnet 5: $2.00 input and $10.00 output. Gemini 3.1 Pro Preview: $2.00 input and $12.00 output. Standard tier, USD.
Which has the larger context window?
Gemini 3.1 Pro Preview, with 1,048,576 tokens. Claude Sonnet 5 has 1,000,000 tokens.
Do both offer batch pricing?
Claude Sonnet 5 lists a batch tier, at 50% of its standard price. Gemini 3.1 Pro Preview lists a batch tier, at 50% of its standard price.
Can both read images or audio?
Input types recorded for Claude Sonnet 5: none recorded. For Gemini 3.1 Pro Preview: none recorded. Where a record lists none we say so rather than guess; check each vendor's documentation before relying on a capability.
Is either model open-weight?
Claude Sonnet 5: not marked open-weight in our records. Gemini 3.1 Pro Preview: not marked open-weight in our records.
What would each cost for a support chatbot?
At 10,000 chats a day, 1,500 input and 300 output tokens each, 30 days, standard tier: about $1,800 a month for Claude Sonnet 5 and $1,980 for Gemini 3.1 Pro Preview. This is our calculation from the listed prices, not a quote.

About the two models

Claude Sonnet 5

By Anthropic. $2.00 input and $10.00 output per 1M tokens, 1M context, atlas square E5. Tiers listed: batch, standard.

Full specs & pricing →

Gemini 3.1 Pro Preview

By Google. $2.00 input and $12.00 output per 1M tokens, 1.05M context, atlas square E5. Tiers listed: batch, standard.

Full specs & pricing →

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.