Context
1M
Max output
64K
Serving providers
5
Cheapest input
$3.00 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing detail

cost beyond the standard rate · source: models.dev
Long context (>200K)
$6.00 / $22.50
input / output · per 1M

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
DatabricksCheapest$3.00$15.001
ComponentUnitStandardBatchCached
Text input/1M tok$3.00
Text output/1M tok$15.00
Gmi$3.00$15.001
OpenRouter$3.00$15.001
Vercel AI Gateway$3.00$15.001
Vertex AI$3.00$15.001

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00$15.00Jun 10Oct 16Dec 2Jun 22$15.00$3.00

Cost calculator

estimate your monthly spend on this model
$1,800
estimated / month

Model IDs

copy the exact identifier for your platform
databricks/databricks-claude-sonnet-4gmi/anthropic/claude-sonnet-4openrouter/anthropic/claude-sonnet-4vercel_ai_gateway/anthropic/claude-sonnet-4vertex_ai/claude-sonnet-4

Frequently asked questions

Claude Sonnet 4 pricing, context and availability

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens at its cheapest provider via Databricks. Across 5 serving providers, input prices range from $3.00 to $3.00 per 1M tokens.

What is the context window of Claude Sonnet 4?

Claude Sonnet 4 accepts up to 1M tokens of context and can return up to 64K output tokens.

Which providers serve Claude Sonnet 4?

Claude Sonnet 4 is available from 5 serving providers, each with its own pricing and model ID. Databricks is currently the cheapest.

What can Claude Sonnet 4 do?

Claude Sonnet 4 supports image input (vision), tool use, reasoning, prompt caching and structured output.

Other Anthropic models

compare pricing across the Anthropic lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI