Claude Sonnet 4.5 API Pricing

Short answer

Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens (cached input $0.30/1M). Context window: 1M. Last verified 2026-06-17 from platform.claude.com. Confidence: Verified.

Claude Sonnet 4.5 is the previous Sonnet generation, still active at the same $3/$15 rates.

Input
$3.00 /1M
Output
$15.00 /1M
Cached input
$0.30 /1M
Input pricing$3.00
Cached input$0.30
Output pricing$15.00

Limits & capabilities

Context window1M
Max output64K
Modalitytext + vision/PDF input, text output
ChannelClaude API
ProviderAnthropic

Best for

CodingAgents
Batch $1.50/$7.50. On Bedrock only via the legacy integration (verify before use).

More from Anthropic

Related comparisons