Anthropic vs Google

Claude Sonnet 5 vs Gemini 3.1 Pro: pricing comparison

Claude Sonnet 5 costs 13% less than Gemini 3.1 Pro for a typical 1,000-input, 500-output request. Here is how the two compare on price, context and discounts.

Prices last updated:

Side-by-side prices

Claude Sonnet 5Gemini 3.1 Pro
ProviderAnthropicGoogle
Input per 1M tokens$2.00$2.00
Output per 1M tokens$10.00$12.00
Context window1M1.05M
Batch discount50% off50% off
Typical request (1,000 in / 500 out)$0.007$0.008
Monthly at 1,000 requests/day$210.00$240.00

Gemini 3.1 Pro: Price shown is for prompts up to 200K tokens; longer prompts are billed at $4 / $18.

Compare with your own numbers

Claude Sonnet 5 per request
$0.007
Per month
$210.00
Gemini 3.1 Pro per request
$0.008
Per month
$240.00

Cost by task

Cost per 1,000 requests at standard prices.
TaskTokens (in / out)Claude Sonnet 5Gemini 3.1 Pro
Short chat reply500 / 300$4.00$4.60
RAG answer6,000 / 600$18.00$19.20
Summarize a long document12,000 / 1,000$34.00$36.00
Output-heavy generation1,000 / 4,000$42.00$50.00

Output tokens usually dominate the bill — see input vs output token cost.

Frequently asked questions

Is Claude Sonnet 5 or Gemini 3.1 Pro cheaper?
Claude Sonnet 5 is cheaper for a typical request of 1,000 input and 500 output tokens: $0.007 versus $0.008 for Gemini 3.1 Pro, about 13% less.
What are the per-token prices of Claude Sonnet 5 and Gemini 3.1 Pro?
Claude Sonnet 5 costs $2.00 input and $10.00 output per million tokens. Gemini 3.1 Pro costs $2.00 input and $12.00 output per million tokens.
Which has the larger context window, Claude Sonnet 5 or Gemini 3.1 Pro?
Gemini 3.1 Pro has the larger context window: 1.05M tokens versus 1M for Claude Sonnet 5.

More comparisons

All comparisons →