Claude Sonnet 4

anthropic

The first Claude 4 Sonnet model, offering a strong balance of intelligence and speed with extended thinking capabilities. Sonnet 4 handles complex coding, analysis, and reasoning tasks with 1M context window (beta) and 64K output. Superseded by Sonnet 4.5 which brings improved nuance and performance.

Try Now

Capabilities

Tool Use

PDF Input

Extended Thinking

Image Input

Example Use Cases

Balanced professional task

Complex coding with moderate budget

Need thinking mode for analysis

Technical Specifications

Context Window

1,000,000 tokens

Max Output

64,000 tokens

Cache Miss Cost

$3 per 1M tokens

Non-Reasoning Cost

$15 per 1M tokens

Cache Read Cost

$0.30 per 1M tokens

Cache Write Cost

$3.75 per 1M tokens

Web Search Cost

$10 per 1K calls

Code Execution Cost

$0.0694 per 1K calls

⚠️ Legacy

Made legacy on

Reason

Outdated model

Recommended Replacement

Claude Sonnet 4.6