Claude Sonnet 5 API Pricing
- Input / output
- $2.00 / $10.00 per 1M tokens
- Cache read
- $0.20 / 1M
- Context
- 1M tokens
- Max output
- 128K tokens
As of November 24, 2026, Claude Sonnet 5 costs $2.00 per 1M input tokens and $10.00 per 1M output tokens on Anthropic, with cache reads at $0.20 and cache writes at $2.50 per 1M tokens. Across 15 providers on LiteLLM, the input price ranges from $2.00 to $3.00. It has a 1,000,000-token context window and returns up to 128,000 tokens per response.
Claude Sonnet 5 pricing by provider
29 listings across 15 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| Anthropic | claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | $1.00 | $5.00 | 1M |
| AIHubMix | aihubmix/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| Amazon Bedrock | anthropic.claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| Amazon Bedrock | bedrock/claude_platform/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | $1.00 | $5.00 | 1M |
| Amazon Bedrock | bedrock/mantle/anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon Bedrock Mantle | bedrock_mantle/anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Azure AI Foundry | azure_ai/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| Databricks | databricks/databricks-claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| DeepInfra | deepinfra/anthropic/claude-sonnet-5 | $3.00 | $15.00 | – | – | – | – | 1M |
| GitHub Copilot | github_copilot/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 200K |
| Google Vertex AI | vertex_ai/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | $1.00 | $5.00 | 1M |
| Google Vertex AI | vertex_ai/claude-sonnet-5@default | $2.00 | $10.00 | $0.20 | $2.50 | $1.00 | $5.00 | 1M |
| Hostinger Router | hostinger_router/claude-sonnet-5 | $2.64 | $13.20 | $0.264 | $3.30 | – | – | 1M |
| Kyma API | kyma/claude-sonnet-5 | $2.70 | $13.50 | $0.27 | – | – | – | 1M |
| Perplexity | perplexity/anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | – | – | – | – |
| Perplexity Orchestrator | perplexity_orchestrator/anthropic/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| Replicate | replicate/anthropic/claude-sonnet-5 | $2.00 | $10.00 | – | – | – | – | – |
| Snowflake Cortex | snowflake/claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | – |
| Amazon BedrockAPAC cross-region | apac.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon BedrockAustralia cross-region | au.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon Bedrockus-gov-east-1 | bedrock/us-gov-east-1/anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 | – | – | 1M |
| Amazon Bedrockus-gov-west-1 | bedrock/us-gov-west-1/anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 | – | – | 1M |
| Amazon BedrockEU cross-region | eu.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon BedrockGlobal cross-region | global.anthropic.claude-sonnet-5 | $2.00 | $10.00 | $0.20 | $2.50 | – | – | 1M |
| Amazon BedrockIndia cross-region | in.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
Show 4 more listings
| Provider | Model name in LiteLLM | Input | Output | Cache read | Cache write | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|---|---|
| Amazon BedrockJapan cross-region | jp.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon BedrockUS GovCloud cross-region | us-gov.anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 | – | – | 1M |
| Amazon BedrockUS cross-region | us.anthropic.claude-sonnet-5 | $2.20 | $11.00 | $0.22 | $2.75 | – | – | 1M |
| Amazon Bedrock Mantleus-gov-west-1 | bedrock_mantle/us-gov-west-1/anthropic.claude-sonnet-5 | $2.40 | $12.00 | $0.24 | $3.00 | – | – | 1M |
Other Claude Sonnet 5 prices on Anthropic
| Cache write, 1 hour | $4.00 per 1M tokens |
| Web search | $10.00 per 1K searches |
What Claude Sonnet 5 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Anthropic | $9.00 |
| Databricks | $9.00 |
| AIHubMix | $9.00 |
| Amazon Bedrock | $9.00 |
| Anthropic batch | $4.50 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Anthropic | $22.00 |
| Databricks | $22.00 |
| AIHubMix | $22.00 |
| Amazon Bedrock | $22.00 |
Claude Sonnet 5 cost calculator
At Anthropic's price ($2.00 input, $10.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $70.00 a day, about $2,100 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.007
- Per day
- $70.00
- Per month (30 days)
- $2,100
Claude Sonnet 5 features
Input: text, image, pdf. Output: text.
- Function calling
- Parallel tool calls
- Structured output
- Image input
- PDF input
- Reasoning
- Prompt caching
- Web search
- Computer use
Use Claude Sonnet 5 with LiteLLM
Call Claude Sonnet 5 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="claude-sonnet-5",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: claude-sonnet-5
litellm_params:
model: claude-sonnet-5
api_key: os.environ/ANTHROPIC_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "Hello!"}]
}'Claude Sonnet 5 FAQ
How much does Claude Sonnet 5 cost?
Claude Sonnet 5 costs $2.00 per 1M input tokens and $10.00 per 1M output tokens on Anthropic, with cache reads at $0.20 and cache writes at $2.50 per 1M tokens. Batch requests cost $1.00 per 1M input tokens and $5.00 per 1M output tokens. Across 15 providers on LiteLLM, the input price ranges from $2.00 to $3.00.
What is the context window of Claude Sonnet 5?
Claude Sonnet 5 has a 1,000,000-token context window and returns up to 128,000 tokens per response.
Which providers offer Claude Sonnet 5?
Claude Sonnet 5 is available from 15 providers through LiteLLM: Anthropic, AIHubMix, Amazon Bedrock, Amazon Bedrock Mantle, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI, Hostinger Router, Kyma API and Perplexity and 3 more. The lowest price is on Databricks.
How do I call Claude Sonnet 5 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="claude-sonnet-5", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Claude Sonnet 5 support?
Claude Sonnet 5 supports function calling, parallel tool calls, structured output, image input, PDF input, reasoning, prompt caching, web search and computer use.
When did LiteLLM add Claude Sonnet 5?
Claude Sonnet 5 was added to LiteLLM's model price file on June 30, 2026.
Compare Claude Sonnet 5
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
- platform.claude.com/docs/en/about-claude/pricing
- aihubmix.com/api/v1/models
- pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockFoundationModels/current/index.json
- platform.claude.com/docs/en/about-claude/pricing#claude-platform-on-aws-pricing
LiteLLM docs: Anthropic, AIHubMix, Amazon Bedrock, Azure AI Foundry, Databricks, DeepInfra.
Provider pages: Anthropic, AIHubMix, Amazon Bedrock, Amazon Bedrock Mantle, Azure AI Foundry, Databricks, DeepInfra, GitHub Copilot, Google Vertex AI, Hostinger Router, Kyma API, Perplexity.