Claude 4 Sonnet
The Anthropic sweet spot — Opus-class coding at a fraction of the price.
At a glance
- Context window
- 500k tokens
- Max output
- 16k tokens
- Input price
- $3.00 / 1M tokens
- Output price
- $15.00 / 1M tokens
- Time to first token
- 0.85s
- Input modalities
- text, image
- Output modalities
- text
- License
- Proprietary
- Provider
- Anthropic
Benchmark scores
Public scores from each provider; bars compare this model against the leader in each benchmark.
- Best $/HumanEval ratio
- Fast
- 500k context
- Behind Opus on hardest reasoning
- Production coding tools
- Long-context RAG
- Tool use
Models you should also evaluate
Anthropic’s 2026 flagship — best-in-class on code and long-horizon agents.
The model that made coding agents viable — still a top pick.
OpenAI’s 2026 flagship — strongest at reasoning, coding and tool use.
More from Anthropic
Anthropic’s 2026 flagship — best-in-class on code and long-horizon agents.
The model that made coding agents viable — still a top pick.
Fast + cheap with a huge context — great for RAG and classification.
Claude 4 Sonnet vs… popular head-to-heads
One-click matchups against the models people compare Claude 4 Sonnet with most.
Claude 4 Sonnet — frequently asked questions
Need help choosing between models?
Compare every option in one sortable table — intelligence, speed and price on a single page.