LiteLLMModels

Claude Sonnet 4.5 API Pricing

As of October 10, 2026, Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Anthropic, 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.

By AnthropicModel ID claude-sonnet-4-5Prices updated Checked
Scheduled for deprecation: Anthropic lists November 30, 2026 as the deprecation date for claude-sonnet-4-5.
Input
$3.00 / 1M tokens
Output
$15.00 / 1M tokens
Cache read
$0.30 / 1M tokens
Context window
200,000 tokens
Max output
64,000 tokens
Providers
9
Added to LiteLLM
October 2025

Claude Sonnet 4.5 pricing by provider

22 listings across 9 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readCache writeBatch inBatch outContext
Anthropicclaude-sonnet-4-5$3.00$15.00$0.30$3.75$1.50$7.50200K
Anthropicsnapshot 20250929claude-sonnet-4-5-20250929$3.00$15.00$0.30$3.75$1.50$7.50200K
Amazon Bedrocksnapshot 20250929anthropic.claude-sonnet-4-5-20250929-v1:0$3.00$15.00$0.30$3.75$1.50$7.50200K
Amazon Bedrocksnapshot 20250929claude-sonnet-4-5-20250929-v1:0$3.00$15.00$0.30$3.75$1.50$7.50200K
Azure AI Foundryazure_ai/claude-sonnet-4-5$3.00$15.00$0.30$3.75––200K
Databricksdatabricks/databricks-claude-sonnet-4-5$3.00$15.00$0.30$3.75––200K
GMI Cloudgmi/anthropic/claude-sonnet-4.5$3.00$15.00––––400K
Google Vertex AIvertex_ai/claude-sonnet-4-5$3.00$15.00$0.30$3.75$1.50$7.50200K
Google Vertex AIvertex_ai/claude-sonnet-4-5@20250929$3.00$15.00$0.30$3.75$1.50$7.50200K
Perplexityperplexity/anthropic/claude-sonnet-4-5$3.00$15.00$0.30––––
Snowflake Cortexsnowflake/claude-sonnet-4-5$3.00$15.00$0.30–––200K
Vercel AI Gatewayvercel_ai_gateway/anthropic/claude-sonnet-4.5$3.00$15.00$0.30$3.75––1M
Amazon BedrockAustralia cross-region, snapshot 20250929au.anthropic.claude-sonnet-4-5-20250929-v1:0$3.30$16.50$0.33$4.125$1.65$8.25200K
Amazon Bedrockus-gov-east-1, snapshot 20250929bedrock/us-gov-east-1/anthropic.claude-sonnet-4-5-20250929-v1:0$3.60$18.00$0.36$4.50––200K
Amazon Bedrockus-gov-east-1, snapshot 20250929bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0$3.60$18.00$0.36$4.50––200K
Amazon Bedrockus-gov-west-1, snapshot 20250929bedrock/us-gov-west-1/anthropic.claude-sonnet-4-5-20250929-v1:0$3.60$18.00$0.36$4.50––200K
Amazon Bedrockus-gov-west-1, snapshot 20250929bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0$3.60$18.00$0.36$4.50––200K
Amazon BedrockEU cross-region, snapshot 20250929eu.anthropic.claude-sonnet-4-5-20250929-v1:0$3.30$16.50$0.33$4.125$1.65$8.25200K
Amazon BedrockGlobal cross-region, snapshot 20250929global.anthropic.claude-sonnet-4-5-20250929-v1:0$3.00$15.00$0.30$3.75$1.50$7.50200K
Amazon BedrockJapan cross-region, snapshot 20250929jp.anthropic.claude-sonnet-4-5-20250929-v1:0$3.30$16.50$0.33$4.125$1.65$8.25200K
Amazon BedrockUS GovCloud cross-region, snapshot 20250929us-gov.anthropic.claude-sonnet-4-5-20250929-v1:0$3.60$18.00$0.36$4.50––200K
Amazon BedrockUS cross-region, snapshot 20250929us.anthropic.claude-sonnet-4-5-20250929-v1:0$3.30$16.50$0.33$4.125$1.65$8.25200K

Other Claude Sonnet 4.5 prices on Anthropic

Cache write, 1 hour$6.00 per 1M tokens
Web search$10.00 per 1K searches

What Claude Sonnet 4.5 costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Anthropic$13.50
Databricks$13.50
Amazon Bedrock$13.50
Azure AI Foundry$13.50
Anthropic batch$6.75

100 long-document requests with 100,000 input and 2,000 output tokens each

Anthropic$33.00
Databricks$33.00
Amazon Bedrock$33.00
Azure AI Foundry$33.00

Claude Sonnet 4.5 features

Use Claude Sonnet 4.5 with LiteLLM

Call Claude Sonnet 4.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.

Python SDK
from litellm import completion

response = completion(
    model="claude-sonnet-4-5",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: claude-sonnet-4-5
    litellm_params:
      model: claude-sonnet-4-5
      api_key: os.environ/ANTHROPIC_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "claude-sonnet-4-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Sonnet 4.5 FAQ

How much does Claude Sonnet 4.5 cost?

Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Anthropic, with cache reads at $0.30 and cache writes at $3.75 per 1M tokens. Batch requests cost $1.50 per 1M input tokens and $7.50 per 1M output tokens.

What is the context window of Claude Sonnet 4.5?

Claude Sonnet 4.5 has a 200,000-token context window and returns up to 64,000 tokens per response.

Which providers offer Claude Sonnet 4.5?

Claude Sonnet 4.5 is available from 9 providers through LiteLLM: Anthropic, Amazon Bedrock, Azure AI Foundry, Databricks, GMI Cloud, Google Vertex AI, Perplexity, Snowflake Cortex and Vercel AI Gateway. The lowest price is on Databricks.

How do I call Claude Sonnet 4.5 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="claude-sonnet-4-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 4.5 support?

Claude Sonnet 4.5 supports function calling, structured output, image input, PDF input, reasoning, prompt caching, web search and computer use.

When did LiteLLM add Claude Sonnet 4.5?

Claude Sonnet 4.5 was added to LiteLLM's model price file in October 2025.

Is Claude Sonnet 4.5 being deprecated?

Anthropic lists a deprecation date of November 30, 2026 for claude-sonnet-4-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. Provider pricing pages:

LiteLLM docs: Anthropic, Amazon Bedrock, Azure AI Foundry, Databricks, GMI Cloud, Google Vertex AI.

Provider pages: Anthropic, Amazon Bedrock, Azure AI Foundry, Databricks, GMI Cloud, Google Vertex AI, Perplexity, Snowflake Cortex, Vercel AI Gateway.