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).
Last checked Verified
More from Anthropic
Claude Opus 4.8
$5.00 /1M in
$25.00 /1M out
Hard reasoning, Agents, Coding
Claude Opus 4.7
$5.00 /1M in
$25.00 /1M out
Hard reasoning, Agents
Claude Sonnet 4.6
$3.00 /1M in
$15.00 /1M out
Coding, Agents, Production
Claude Haiku 4.5
$1.00 /1M in
$5.00 /1M out
Fast, Extraction, Routing