Anthropic
Claude Sonnet 4 (latest)
Balanced Claude model for coding, analysis, agent workflows, and cost control
anthropic/claude-sonnet-4-0
Context
200K
Output
64K
Released
2025-05-22
Knowledge cutoff
2025-03-31
Types
InputTextImagePDF
OutputText
Reasoning
Supported
Tool use
Supported
Structured output
—
Attachments
Supported
Open weights
—
Provider pricing
No providers currently list this model.
Benchmarks
Aider Polyglot
61.3 · percent correct
SWE-Bench Pro
42.7 · resolve rate
From the same lab
Claude Haiku 5.5
anthropic/claude-haiku-5-5
Claude Sonnet 5.5
anthropic/claude-sonnet-5-5
Claude Opus 5.5
anthropic/claude-opus-5-5
Claude Fable 5.1
anthropic/claude-fable-5-1
Claude Opus 5
anthropic/claude-opus-5
Claude Sonnet 5
anthropic/claude-sonnet-5
Claude Fable 5
anthropic/claude-fable-5
Claude Mythos 5
anthropic/claude-mythos-5