Comparison

Claude Sonnet 5 vs Gemini 3.5 Flash

Per input token, Gemini 3.5 Flash runs 25% cheaper than Claude Sonnet 5. On generated (output) tokens, Claude Sonnet 5 costs 10% more than Gemini 3.5 Flash. Gemini 3.5 Flash accepts more context per request than Claude Sonnet 5.

FieldClaude Sonnet 5
Gemini 3.5 Flash
ProviderAnthropicGoogle
Context window1M1M
Max output128K65.5K
Input / 1M$2.00$1.5025% cheaper
Output / 1M$10.00$9.0010% cheaper
Cached input / 1M$0.20$0.1525% cheaper
Batch discount50%50%
Release date

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadClaude Sonnet 5Gemini 3.5 Flash

Chatbot

800 input / 200 output tokens per request, 100,000 requests/month

$360.00$300.00cheaper

RAG pipeline

6,000 input / 700 output tokens per request, 30,000 requests/month

$570.00$459.00cheaper

Batch summarization

20,000 input / 1,500 output tokens per request, 5,000 requests/month

$275.00$217.50cheaper

Claude Sonnet 5 vs Gemini 3.5 Flash FAQ

Is Claude Sonnet 5 cheaper than Gemini 3.5 Flash?
Claude Sonnet 5 costs $2.00 per 1M input tokens versus $1.50 for Gemini 3.5 Flash — Gemini 3.5 Flash is 33% cheaper per input token.
Which is cheaper for output tokens, Claude Sonnet 5 or Gemini 3.5 Flash?
Claude Sonnet 5 charges $10.00 per 1M output tokens; Gemini 3.5 Flash charges $9.00 per 1M output tokens.
Which has the larger context window, Claude Sonnet 5 or Gemini 3.5 Flash?
Gemini 3.5 Flash does, with a 1,048,576-token context window.
Do Claude Sonnet 5 and Gemini 3.5 Flash offer cache pricing?
Claude Sonnet 5 discounts cached input to $0.20 per 1M tokens. Gemini 3.5 Flash discounts cached input to $0.15 per 1M tokens.

Looking for another matchup? See all comparisons.