All LLM prices / Anthropic
claude-sonnet-5 price per 1M tokens
claude-sonnet-5 costs $2.00 per 1M input tokens and $10.00 per 1M output tokens, and $0.20 per 1M cached input tokens read.
| Per 1M tokens | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
What a call costs
A typical agent step of 20,000 input and 1,500 output tokens costs $0.055 on claude-sonnet-5, so 10,000 of them a month is $550.00. Serving the repeated part of the prompt from cache cuts the input side to $0.20 per 1M, after a one-time write at $2.50.
claude-sonnet-5 on other providers
| Listed as | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| aihubmix/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| anthropic.claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| apac.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 |
| au.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 |
| azure_ai/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| bedrock/claude_platform/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| bedrock/us-gov-east-1/anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 |
| bedrock/us-gov-west-1/anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 |
| deepinfra/anthropic/claude-sonnet-5 | $2.00 | $10.00 | — | — |
| eu.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 |
| github_copilot/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| global.anthropic.claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| jp.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 |
| openrouter/anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
| perplexity/anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | — |
| us-gov.anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 |
| us.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 |
| vertex_ai/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 |
Price history
No change to the listed rates since this log began on 2026-10-04.
Price a call with the free API
No key, no account. It uses this same table, and with "usage_shape": "openai" it takes the cached tokens out of prompt_tokens first, so they aren't billed twice.
curl -s https://api.aight.studio/api/cost \
-H 'content-type: application/json' \
-d '{"model": "claude-sonnet-5", "input_tokens": 20000, "output_tokens": 1500, "cache_read_tokens": 12000}'
Returns cost_usd, a breakdown per token type, the rates per 1M, and when the table last changed. Rates only: GET https://api.aight.studio/api/pricing?models=a,b. Rate-limited per client; an unknown model is a 404, never $0. Full API docs.
pip install aight && aight-collect --report prices your Claude Code, Codex or Gemini CLI history locally with no account.