Claude Sonnet 5 API cost calculator

Anthropic's balanced Claude model, using its current limited-time first-party API price.

Model ID
claude-sonnet-5
Effective
2026-07-31
Checked
2026-07-31
Pricing verified against the official source on Jul 31, 2026.

Describe your workload

USD per 1M tokens
Input
$2.00
Cached
$0.2
Output
$10.00
Verified
$174.75per month
Per request$0.0117
Per day$5.83

Monthly breakdown

Standard input$52.50
Cached input$2.25
Output$120.00

Excludes platform fees, taxes, tools, storage, and provider-specific tier rules.

How the estimate is calculated

Standard input tokens are billed at $2.00 per million, cached input at $0.20 per million, and output tokens at $10.00 per million.

monthly cost = 30 × requests/day × (input cost + cached input cost + output cost)

What this estimate excludes

Provider account tiers, regional taxes, tool calls, storage, fine-tuning, data transfer, and other product-specific charges are excluded unless explicitly represented in the calculator.

Pricing notes

  • This limited-time price ends August 31, 2026; Anthropic lists $3 input, $0.30 cache reads, and $15 output from September 1, 2026.
  • Cache writes, Batch discounts, US-only inference surcharges, and third-party cloud premiums are excluded.