Samprix

Claude Sonnet 5 vs Gemini 2.5 Pro: API cost

Standard, cached and batch API prices for Claude Sonnet 5 (Anthropic) and Gemini 2.5 Pro (Google), and what each costs for your usage.

Prices last checked: how

Gemini 2.5 Pro is cheaper than Claude Sonnet 5 at standard rates, with 38% cheaper input and the same output price.

Your usage
Claude Sonnet 5 / month $156.00 $0.0052 per request
  • Input $60.00
  • Cached input $6.00
  • Output $90.00
Gemini 2.5 Pro / month $131.25 $0.0044 per request
  • Input $37.50
  • Cached input $3.75
  • Output $90.00
Gemini 2.5 Pro is cheaper for this usage by $24.75 a month (16% less).

How cost changes with reply length

  • Claude Sonnet 5
  • Gemini 2.5 Pro
$0$5$10$1502004006008001,000Output tokens per 1,000 input tokens
Cost of 1,000 requests with 1,000 input tokens each, at standard rates without caching. Hover or use the arrow keys to read values.
Show as a table
Output tokensClaude Sonnet 5Gemini 2.5 Pro
0$2.00$1.25
250$4.50$3.75
500$7.00$6.25
750$9.50$8.75
1,000$12.00$11.25

Price per million tokens

Token typeClaude Sonnet 5Gemini 2.5 Pro
Input$2$1.25
Cached input$0.20$0.125
Output$10$10
Batch input$1$0.625
Batch cached input$0.10$0.125
Batch output$5$5

Gemini 2.5 Pro: Prompts over 200K tokens are billed at a higher rate.

Standard rates in USD, before tax Claude API pricing Gemini API pricing

Monthly cost for typical workloads

WorkloadClaude Sonnet 5Gemini 2.5 Pro
Support chatbot
2,000 in / 300 out tokens, 1,000 requests a day, 50% cached
$156.00$131.25
Document summaries
10,000 in / 800 out tokens, 200 requests a day
$168.00$123.00
Tagging / classifying
400 in / 20 out tokens, 20,000 requests a day
$600.00$420.00
Standard rates in USD, before tax. A month is 30 days.

Or see Claude Sonnet 5 pricing, Gemini 2.5 Pro pricing, or compare any two models.

FAQ

Frequently asked questions

Is Claude Sonnet 5 cheaper than Gemini 2.5 Pro?

Gemini 2.5 Pro is cheaper than Claude Sonnet 5 at standard rates, with 38% cheaper input and the same output price. Based on standard API rates last checked on 28 Sept 2026.

How much do Claude Sonnet 5 and Gemini 2.5 Pro cost per million tokens?

Claude Sonnet 5: $2 per million input tokens and $10 per million output tokens. Gemini 2.5 Pro: $1.25 input and $10 output. These are standard rates in USD, before tax, from each provider’s own pricing page.

Which is cheaper with the Batch API?

Claude Sonnet 5’s batch rates are $1 input and $5 output per million tokens (50% off); Gemini 2.5 Pro’s batch rates are $0.625 input and $5 output per million tokens (50% off).

Does prompt caching change the comparison?

Claude Sonnet 5 charges $0.20 per million cached input tokens, against $2 for normal input; Gemini 2.5 Pro charges $0.125 per million cached input tokens, against $1.25 for normal input. Cache write and storage charges are extra and aren’t included here.

© 2026 Samprix. Not affiliated with OpenAI, Anthropic or Google.