Claude Sonnet 4

Retired

RETIRED June 15, 2026 on Anthropic-operated platforms (deprecated April 14, 2026); the pricing page states it is still served on Bedrock and Google Cloud. Recommended replacement claude-sonnet-4-6. API ID claude-sonnet-4-20250514. PRICE CONFIRMED FIRST-PARTY 2026-07-29 against platform.claude.com/docs/en/about-claude/pricing.md, whose model-pricing table retains retired models with their rates and labels this row '(retired, except on Bedrock and Google Cloud)': $3 in / $15 out, 5m cache write $3.75, 1h cache write $6, cache hits & refreshes $0.30/MTok — unchanged to the cent. Batch $1.50/$7.50. Snapshot 20250514 implies May 14, 2025 release. Separate open item, NOT about price: context_window and max_output_tokens are absent from current official tables and are therefore left null.

Claude Sonnet 4 by Anthropic costs $3 per 1M input tokens and $15 per 1M output tokens ($6/1M blended). It has been retired (shut down 15 Jun 2026); the recommended migration is Claude Sonnet 4.6.

Last verified: 13 Aug 2026 · sourced from official provider documentation

Lifecycle warning

This model has been retired. Scheduled shutdown: 15 Jun 2026. Recommended migration: Claude Sonnet 4.6.

Read the Claude Sonnet 4 migration guide → replacement & cheapest alternatives

Provider
Anthropic
Status
Retired
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Cached input
$0.3 / 1M tokens
Blended price
$6 / 1M tokens
Context window
Max output
Modality
text, image, vision
Open weights
No — API only
Knowledge cutoff
Released
API string
claude-sonnet-4-20250514

Source: Anthropic official documentation ↗

FAQ

Claude Sonnet 4 — questions & answers

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 is priced at $3 per 1M input tokens and $15 per 1M output tokens ($6/1M blended at a 3:1 input-to-output ratio), with cached input at $0.3 per 1M tokens.

Is Claude Sonnet 4 still available?

Claude Sonnet 4 has been retired and is no longer available. Its scheduled shutdown date is 15 Jun 2026. The recommended migration is Claude Sonnet 4.6.

Does Claude Sonnet 4 support image or vision input?

Yes — Claude Sonnet 4 accepts image input. Listed modalities: text, image, vision.

Can I self-host Claude Sonnet 4?

No — Claude Sonnet 4 is proprietary. Its weights are not publicly released, so it is available only through Anthropic's API (or hosted partners), not for self-hosting.

What is the API model string for Claude Sonnet 4?

The API model identifier for Claude Sonnet 4 is "claude-sonnet-4-20250514" when calling Anthropic's API.