Anthropic: Claude Sonnet 4
Claude Sonnet 4 is Anthropic's mid-tier text and vision model, accepting image, text, and file inputs with a 1,000,000-token context window and up to 64,000 tokens of output per response. It supports tool use and reasoning, which makes it usable for agentic workflows and multi-step tasks. Structured output support is not confirmed in available specifications. At $3.00 per million input tokens and $15.00 per million output tokens, it sits in a competitive range for capable hosted models, though the output cost is notable for high-volume use. Its blended benchmark score of 66.7 spans only three benchmarks, so performance claims should be treated as preliminary rather than well-established. Teams doing code generation, document analysis, or reasoning-heavy workflows on moderate budgets are the clearest candidates, but buyers needing structured output guarantees or broader benchmark validation should compare alternatives before committing.
- Model ID
- anthropic/claude-sonnet-4
- Vendor
- anthropic
- Tokenizer
- Claude
- Input Modalities
- image, text, file
- Output Modalities
- text
- Max Output
- 64,000 tokens
- Tool Calling
- ✓ supported
- Structured Output
- not supported
- Reasoning Mode
- ✓ supported
- Vision
- ✓ accepts images
- Audio
- no
- Moderated
- no
Category rankings
Where Anthropic: Claude Sonnet 4 places across the 17 categories it ranks in. How we rank →
| # | Category | Score |
|---|---|---|
| #12 | Long-Context Q&AAgents · of 25 ranked | 151 |
| #14 | Legal ResearchProfessional · of 25 ranked | 162 |
| #14 | Scientific ResearchProfessional · of 25 ranked | 162 |
| #14 | Fiction CollaboratorPersonal · of 25 ranked | 162 |
| #14 | Literature ReviewResearch · of 25 ranked | 162 |
| #15 | Long-Document SummarizationWriting · of 25 ranked | 156 |
| #15 | History TutoringEducation · of 25 ranked | 140 |
| #16 | Creative WritingWriting · of 25 ranked | 150 |
| #16 | Screenwriting & DialogWriting · of 25 ranked | 150 |
| #16 | Academic WritingWriting · of 25 ranked | 150 |
| #16 | Legal DraftingProfessional · of 25 ranked | 150 |
| #16 | OKRs & Strategic PlanningBusiness · of 25 ranked | 150 |
| #16 | Math ProofsResearch · of 25 ranked | 150 |
| #20 | Transcript CleanupWriting · of 25 ranked | 139 |
| #21 | Character RoleplayPersonal · of 25 ranked | 144 |
| #25 | Contract ReviewProfessional · of 25 ranked | 164 |
| #25 | Physics TutoringEducation · of 25 ranked | 139 |