Last verified
RETIRED JUN 15 2026200KTEXT + VISIONPROMPT CACHING

Claude Sonnet 4 API Pricing

Claude Sonnet 4 was retired by Anthropic on June 15, 2026 - the claude-sonnet-4-20250514 model id no longer answers. Anthropic names Claude Sonnet 4.6 as the replacement. Its last listed rates were $3.00/M input and $15.00/M output, with cache hits at $0.30/M, kept here for invoice checks and migration math. Checked against Anthropic's model deprecations page.

Archived input - per 1M tokens
$3.00/M
Source Anthropic deprecated
Archived output - per 1M tokens
$15.00/M
Use for invoice checks deprecated
Cached input - 90% off
$0.30/M
Cache reads -90%
Effective - agentic blend
$2.05/M
92/8 split - 82% cache
§ 01 / TERMINAL

Run the numbers.

Archive calculator pre-loaded with Claude Sonnet 4 rates. Tweak spend, output mix, or cache hit rate to compare historical bills with current replacements.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
—
Words equivalent (English)
—
Effective rate
—
Open full calculator (all models · share URL · CSV) →
§ 02 / SCENARIOS

Real-world presets.

§ 03 / TOKENIZER

Paste text. See tokens. See cost.

What's a token →
Estimate · anthropic-bpe-estimate · ≈3.5 chars/token Auto-counts as you type

This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.

Characters 312
Words 47
Tokens (estimated) 89 tokens
Cost as input · uncached $0.00027 USD
Cost as output · uncached $0.00134 USD
Cost as cached input $0.00003 USD
§ 04 / SHELF

Up against the shelf.

All models →
Model Input /M Output /M Effective blended Context Best for
Claude Sonnet 4 Current $3.00 cache $0.30 $15.00 $2.05 agentic 92/8 200K Production Claude agents
Claude Sonnet 4.6 $3.00 cache $0.30 $15.00 $2.05 same 1M Production Claude agents
Claude Sonnet 4.5 $3.00 cache $0.30 $15.00 $2.05 deprecated · same 200K Production Claude agents
Claude Haiku 4.5 $1.00 cache $0.10 $5.00 $0.682 −3.0× 200K Low-latency Claude workloads
Claude Opus 4.7 $5.00 cache $0.50 $25.00 $3.41 +67% 1M Frontier reasoning and hard code
GPT-5.4 $2.50 cache $0.25 $15.00 $1.80 −12% 1.05M OpenAI production apps
Gemini 3.8 Flash $0.75 cache $0.075 $3.75 $0.481 −4.3× · promo 1M Gemini long-context work
DeepSeek V4 Pro $1.32 cache $0.044 $3.96 $0.569 −3.6× 1M Low-cost reasoning and coding
§ 05 / DEEP LINKS

Specific scenarios.

All calculators →

Frequently asked.

Short answers for teams checking old Claude Sonnet 4 costs or migrating archive workloads.

Q · 01 Can I still call Claude Sonnet 4? +
No. Anthropic retired claude-sonnet-4-20250514 on June 15, 2026, and requests to it now fail. Anthropic names Claude Sonnet 4.6 as the replacement. The rates on this page are the last ones Anthropic listed, kept for reading old invoices and for estimating a migration.
Q · 02 What replaced Claude Sonnet 4? +
Anthropic lists claude-sonnet-4-6 as the recommended replacement in its model deprecations page.
Q · 03 How much did Claude Sonnet 4 cost? +
Claude Sonnet 4 is archived at $3/M input and $15/M output.
Q · 04 Does this archive include prompt caching? +
Cache-hit input is archived at $0.3/M, matching Anthropic's 10% cache-read multiplier on this price tier.
Q · 05 Can I use this for new production routing? +
Use the archive for cost history, not fresh routing decisions. Compare the current Claude rows in the shelf before starting new workloads.
Q · 06 Why keep a page for a retired model? +
Retired-model pages help teams reconcile historical spend, understand migration economics, and answer old search demand without pretending the model is current.