Anthropic's mid-size model with superior intelligence for high-volume uses in coding, in-depth research, agents, & more.
Anthropic's mid-size model with superior intelligence for high-volume uses in coding, in-depth research, agents, & more.
claude-4-sonnet
Ask me anything
Claude Sonnet 4 balances impressive performance for coding with the right speed and cost for high-volume use cases:
Characteristic | Claude Sonnet 4 | Claude Opus 4 |
---|---|---|
<Input / Output> token | Output: 64,000 tokens Max Tokens: 200,000 tokens | Output: 32,000 tokens Max Tokens: 200,000 tokens |
Preferred use case | Claude Sonnet 4 is Anthropic’s mid-size model with several major improvements—especially for coding. It is the ideal balance of performance and practicality for most internal and external use cases, including user-facing AI agents. The model is also more steerable than before, providing enhanced control over its eagerness to implement changes. - Coding - AI agents - Efficient research - Large-scale content | Claude Opus 4 is Anthropic’s most powerful model yet and the state-of-the-art coding model. It delivers sustained performance on long-running tasks that require focused effort and thousands of steps, significantly expanding what AI agents can solve. Claude Opus 4 is ideal for powering frontier agent products and features. - Advanced coding - AI agents - Agentic search and research - Long-horizon tasks and complex problem solving (virtual collaborator) - Content creation: Memory and context management |