LiteLLMLiteLLM/ MODELS

Claude Sonnet 4.5 API Pricing

By Anthropic · 10 providersclaude-sonnet-4-5Compare
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.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. Across 10 providers on LiteLLM, the input price ranges from $3.00 to $3.60. It has a 200,000-token context window and returns up to 64,000 tokens per response.

Prices updated Checked
Scheduled for deprecation: Anthropic lists November 30, 2026 as the deprecation date for claude-sonnet-4-5.

Claude Sonnet 4.5 pricing by provider

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

Claude Sonnet 4.5 prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
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 Bedrockbedrock/claude_platform/claude-sonnet-4-5$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––––
Perplexity Orchestratorperplexity_orchestrator/anthropic/claude-sonnet-4-5$3.00$15.00$0.30$3.75––200K
Snowflake Cortexsnowflake/claude-sonnet-4-5$3.00$15.00$0.30$3.75––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-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 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 cost calculator

At Anthropic'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.5 features

Input: text, image, pdf. Output: text.

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 $LITELLM_API_KEY" \
  -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. Across 10 providers on LiteLLM, the input price ranges from $3.00 to $3.60.

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 10 providers through LiteLLM: Anthropic, Amazon Bedrock, Azure AI Foundry, Databricks, GMI Cloud, Google Vertex AI, Perplexity, Perplexity Orchestrator, 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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. 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, Perplexity Orchestrator, Snowflake Cortex, Vercel AI Gateway.