Claude Sonnet 5 API cost calculator
Claude Sonnet 5 (Anthropic) is priced at $2 per million input tokens, $0.2 for cached input, and $10 per million output tokens — half that through the Batch API. Verified 2026-09-17 against Anthropic's pricing page.
Launched at an introductory $2/$10 per million tokens; Anthropic canceled the planned September 2026 increase to $3/$15, so the launch price is now the standard price.
What Claude Sonnet 5 costs for common workloads
| Workload | Per request | Per day | Per month |
|---|---|---|---|
| Support chatbotShort turns with a reused system prompt — 3k in, 400 out, 60% cached. | $0.0068 | $33.80 | $1,014 |
| RAG over documentsRetrieved context dominates — 12k in, 500 out, 30% cached. | $0.023 | $33.78 | $1,013 |
| Coding agentGrowing context every turn — 20k in, 1.5k out, 80% cached. | $0.026 | $78.60 | $2,358 |
| Batch classificationTiny prompts at volume through the Batch API — 800 in, 20 out. | $0.0009 | $180 | $5,400 |
Its blast radius when an agent loops
The coding-agent workload above at 30 requests a minute — $47.16 an hour — priced at each point a team usually finds out:
Hourly alert
$47.16
Next morning
$1,132
After a weekend
$2,830
Monthly invoice
$33,955