LiteLLMModels

Claude Sonnet 4.1 API Pricing

As of October 10, 2026, Claude Sonnet 4.1 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Databricks, 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 databricks/databricks-claude-sonnet-4-1Prices updated Checked
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
1
Added to LiteLLM
December 2025

Claude Sonnet 4.1 pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readCache writeContext
Databricksdatabricks/databricks-claude-sonnet-4-1$3.00$15.00$0.30$3.75200K

What Claude Sonnet 4.1 costs in practice

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

Databricks$13.50

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

Databricks$33.00

Claude Sonnet 4.1 features

Use Claude Sonnet 4.1 with LiteLLM

Call Claude Sonnet 4.1 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="databricks/databricks-claude-sonnet-4-1",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: claude-sonnet-4-1
    litellm_params:
      model: databricks/databricks-claude-sonnet-4-1
      # credentials: see the provider's LiteLLM docs page
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-1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Claude Sonnet 4.1 FAQ

How much does Claude Sonnet 4.1 cost?

Claude Sonnet 4.1 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on Databricks, with cache reads at $0.30 and cache writes at $3.75 per 1M tokens.

What is the context window of Claude Sonnet 4.1?

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

Which providers offer Claude Sonnet 4.1?

Claude Sonnet 4.1 is available from Databricks through LiteLLM, using the model name databricks/databricks-claude-sonnet-4-1.

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

Use the LiteLLM Python SDK with model="databricks/databricks-claude-sonnet-4-1", 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.1 support?

Claude Sonnet 4.1 supports function calling, reasoning and prompt caching.

When did LiteLLM add Claude Sonnet 4.1?

Claude Sonnet 4.1 was added to LiteLLM's model price file in December 2025.

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: Databricks.

Provider pages: Databricks.