← All models

Claude Sonnet 4

Published Publisher Anthropicclaude-sonnet-4-20250514

Model positioning

Claude Sonnet 4 is a model in the Claude 4 series released by Anthropic on May 22, 2025, for coding, reasoning, and agent tasks, balancing capability and response speed. It offers both fast response and extended thinking modes. (anthropic.com)

Capabilities and uses

  • Supports understanding text and image inputs and generating text; it can be used for conversation, analysis, coding, and creative work. (anthropic.com)
  • Can be used for writing and modifying code, analyzing complex problems, and carrying out multistep tasks using tools. The model supports parallel tool use; when developers grant access to local files, it can also save and retrieve information through files to maintain task continuity. (anthropic.com)

Limitations and status

  • The model may produce incorrect or unreliable answers; users should verify important facts, code, and operation results.
  • The standard context window is 200,000 tokens, with a maximum output of 64,000 tokens per request; the previous 1 million-token context beta feature ended on April 30, 2026. (platform.claude.com)
  • Anthropic announced the model's deprecation on April 14, 2026, and retired it on the Claude API on June 15, 2026. Availability on other platforms must be verified separately. (platform.claude.com)

Pricing

The following are historical list prices from Anthropic's official price list for the Claude API, worldwide, with a context of no more than 200,000 tokens. Prices are in US dollars (USD), per million tokens; the model has been retired on the Claude API and these prices should not be regarded as a current offer for purchase. (www-cdn.anthropic.com)

Billing method Input Output
Standard $3 $15
Batch $1.50 $7.50

Under standard billing, prompt cache write prices are $3.75 per million write tokens for the 5-minute cache and $6 per million write tokens for the 1-hour cache; cache hits and refreshes are $0.30 per million tokens. Batch processing cache prices differ. The price list's effective date is May 27, 2026; date accessed: November 18, 2026. (www-cdn.anthropic.com)

Official sources