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.devLong 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 provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DatabricksCheapest | $3.00 | $15.00 | 1 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Gmi | $3.00 | $15.00 | 1 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| OpenRouter | $3.00 | $15.00 | 1 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Vercel AI Gateway | $3.00 | $15.00 | 1 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Vertex AI | $3.00 | $15.00 | 1 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Cost calculator
estimate your monthly spend on this model$1,800
estimated / month
Model IDs
copy the exact identifier for your platformdatabricks/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 availabilityHow 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 lineupClaude Sonnet 4.5$3.00/1M · 8 providersClaude Haiku 4.5$1.00/1M · 7 providersClaude Opus 4.5$5.00/1M · 7 providersClaude Sonnet 4.6$3.00/1M · 6 providersClaude Opus 4.6$5.00/1M · 6 providersClaude Opus 4.1$15.00/1M · 6 providersClaude 3.7 Sonnet$3.00/1M · 5 providersClaude 3.5 Sonnet$3.00/1M · 5 providers
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