Claude Sonnet 4 API Pricing
- Input / output
- $3.00 / $15.00 per 1M tokens
- Cache read
- $0.30 / 1M
- Context
- 200K tokens
- Max output
- 64K tokens
As of November 24, 2026, Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens from Databricks, the lowest of 4 providers, with cache reads at $0.30 and cache writes at $3.75 per 1M tokens. It has a 200,000-token context window and returns up to 64,000 tokens per response.
databricks/databricks-claude-sonnet-4.Claude Sonnet 4 pricing by provider
8 listings across 4 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 | Context |
|---|---|---|---|---|---|---|
| Databricks | databricks/databricks-claude-sonnet-4 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| Amazon Bedrocksnapshot 20250514 | anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| GMI Cloud | gmi/anthropic/claude-sonnet-4 | $3.00 | $15.00 | – | – | 400K |
| Vercel AI Gateway | vercel_ai_gateway/anthropic/claude-sonnet-4 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| Amazon BedrockAPAC cross-region, snapshot 20250514 | apac.anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| Amazon BedrockEU cross-region, snapshot 20250514 | eu.anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| Amazon BedrockGlobal cross-region, snapshot 20250514 | global.anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
| Amazon BedrockUS cross-region, snapshot 20250514 | us.anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 | $0.30 | $3.75 | 200K |
What Claude Sonnet 4 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Databricks | $13.50 |
| Amazon Bedrock | $13.50 |
| GMI Cloud | $13.50 |
| Vercel AI Gateway | $13.50 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Databricks | $33.00 |
| Amazon Bedrock | $33.00 |
| GMI Cloud | $33.00 |
| Vercel AI Gateway | $33.00 |
Claude Sonnet 4 cost calculator
At Databricks's price ($3.00 input, $15.00 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $105 a day, about $3,150 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0105
- Per day
- $105
- Per month (30 days)
- $3,150
Claude Sonnet 4 features
Input: text, image, pdf. Output: text.
- Function calling
- Structured output
- Image input
- PDF input
- Reasoning
- Prompt caching
- Computer use
Use Claude Sonnet 4 with LiteLLM
Call Claude Sonnet 4 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="databricks/databricks-claude-sonnet-4",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: claude-sonnet-4
litellm_params:
model: databricks/databricks-claude-sonnet-4
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "claude-sonnet-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'Claude Sonnet 4 FAQ
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens from Databricks, the lowest of 4 providers, with cache reads at $0.30 and cache writes at $3.75 per 1M tokens.
What is the context window of Claude Sonnet 4?
Claude Sonnet 4 has a 200,000-token context window and returns up to 64,000 tokens per response.
Which providers offer Claude Sonnet 4?
Claude Sonnet 4 is available from 4 providers through LiteLLM: Databricks, Amazon Bedrock, GMI Cloud and Vercel AI Gateway. The lowest price is on Databricks.
How do I call Claude Sonnet 4 with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="databricks/databricks-claude-sonnet-4", 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 4 support?
Claude Sonnet 4 supports function calling, structured output, image input, PDF input, reasoning, prompt caching and computer use.
When did LiteLLM add Claude Sonnet 4?
Claude Sonnet 4 was added to LiteLLM's model price file in May 2025.
Is Claude Sonnet 4 being deprecated?
Databricks deprecated databricks/databricks-claude-sonnet-4 on October 9, 2026.
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:
- www.databricks.com/product/pricing/proprietary-foundation-model-serving
- aws.amazon.com/bedrock/pricing/
LiteLLM docs: Databricks, Amazon Bedrock, GMI Cloud, Vercel AI Gateway.
Provider pages: Databricks, Amazon Bedrock, GMI Cloud, Vercel AI Gateway.