This model was retired on 2026-05-14. The pricing below is the last-known rate, kept for migration reference.

Claude Sonnet 4Deprecated

AnthropicReleasedMay 22, 2025KnowledgeMar 2025
VisionTool useReasoningPrompt cachingStructured output
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

last-known · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
Databricks$3.00$15.001
Gmi$3.00$15.001
Vercel AI Gateway$3.00$15.001
Vertex AI$3.00$15.001
OpenRouter$3.00$15.001

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00$15.00Jun 10Oct 16Feb 9Aug 26$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-4vercel_ai_gateway/anthropic/claude-sonnet-4vertex_ai/claude-sonnet-4anthropic/claude-sonnet-4

Frequently asked questions

Claude Sonnet 4 pricing, context and availability

Is Claude Sonnet 4 still available?

Claude Sonnet 4 was retired on 2026-05-14. The pricing on this page is the last-known rate, kept for migration reference.

How much did Claude Sonnet 4 cost?

Claude Sonnet 4's last-known pricing, before it was retired on 2026-05-14, was $3.00 per 1M input tokens and $15.00 per 1M output tokens.

What was the context window of Claude Sonnet 4?

Claude Sonnet 4 had a 1M token context window and could return up to 64K output tokens.

What could Claude Sonnet 4 do?

Claude Sonnet 4 supported 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