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

Thinking

Tool Use

Image Input

PDF Input

Technical Specifications

Context Window

1,000,000 tokens

Max Output

64,000 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$3

Non-Reasoning Output

$15

Cache Read Input

$0.30

Cache Write Input

$3.75

Tool Costs (per 1K calls)

Web Search

$10

Code Execution

$0.0694

Legacy

Made legacy on

Reason

Outdated model

Recommended Replacement

Claude Sonnet 4.6