Analysis Summary
Claude Sonnet 4 is Anthropic's mid-tier flagship, released in May 2025. Its agentic index of 47.8 and coding index of 37.6 reflect strong performance on multi-step tool use and software engineering tasks. The ifbench score of 0.547 and lcr of 0.647 are among the better instruction-following and long-context reasoning scores in this batch, making it well-suited to client-facing content and document analysis. Vision and file input support add meaningful breadth.
For businesses, Claude Sonnet 4 is a strong fit for autonomous coding agents, long-document analysis, structured content generation, and customer-facing workflows where answer quality and instruction precision matter. The 1M token context window allows it to hold entire codebases or lengthy contracts in working memory. Its intelligence index of 28.9 places it just below the top frontier tier, but its agentic and instruction-following scores are competitive with models ranked higher on raw intelligence.
At $3.00 input and $15.00 output, it is expensive for high-volume use. The cost is best justified on high-value tasks where reliability, instruction precision, and Anthropic's safety posture are priorities. Teams already using Claude in production will find Sonnet 4 a natural upgrade for agentic and content workflows.
Assessed July 10, 2026
Editorial notes
Claude Sonnet 4 from Anthropic delivers strong coding, agentic, and instruction-following performance with a 1M token context window, vision support, and reliable tool use for client-facing business workflows.
Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?
DFO Verdict
Claude Sonnet 4 from Anthropic delivers strong coding, agentic, and instruction-following performance with a 1M token context window, vision support, and reliable tool use for client-facing business workflows.
Benchmark scores
Magenta = intelligence Ā· Ink = technical/agentic Ā· Cyan = content & long-context Ā· Grey = community benchmarks. Data: Artificial Analysis, Hugging Face.
28.9 Intelligence IndexĀ·37.6 Coding IndexĀ·47.8 Agentic IndexĀ·74.3 Math Index
How Anthropic: Claude Sonnet 4 compares
Anthropic: Claude Sonnet 4 ranks #98 of 393 AI models we track for overall intelligence, #64 of 157 for coding, #85 of 300 for agentic tasks. Its 1M-token context window is larger than 90% of the models we list. At $3.00 per million input tokens it is cheaper than 11% of comparable models.
Dark bar = input Ā· light bar = output, scaled to the priciest peer.
1M tokens ā 8 full-length novels or ~2,500 pages of business documents in a single request.
Strongest on content. The pulled-in intelligence corner is the trade-off, and if the shape matters more than the price, this is your model.
Compare shapes side-by-side āPricing
| Token Type | Cost per 1M tokens | Cost per 1K tokens |
|---|---|---|
| Input | $3.00 | $0.003000 |
| Output | $15.00 | $0.015000 |
What would Anthropic: Claude Sonnet 4 cost your business?
Pick the job that looks most like yours, then fine-tune with the sliders. Estimates update live.
A website chatbot handling around 100 customer conversations a day, a few short messages each.
Full calculator with 612 models ā Price Calculator
These numbers get smaller with the right architecture.
We route routine calls to cheap models and save Anthropic: Claude Sonnet 4 for the hard ones. Most clients cut their estimate by 60-80%.
Talk to our teamAbout Anthropic: Claude Sonnet 4
Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),..
Explore Related Models
Embed this ranking
Writing about this model? Add the badge to your site. It always shows the current rank and score, and links back to this page.
<a href="https://designforonline.com/ai-models/anthropic-claude-sonnet-4/"><img src="https://designforonline.com/?aiml_badge=anthropic-claude-sonnet-4&theme=dark" alt="Anthropic: Claude Sonnet 4, ranked #9 on the Design for Online AI Leaderboard" width="400" height="76"></a>
<a href="https://designforonline.com/ai-models/anthropic-claude-sonnet-4/"><img src="https://designforonline.com/?aiml_badge=anthropic-claude-sonnet-4&theme=light" alt="Anthropic: Claude Sonnet 4, ranked #9 on the Design for Online AI Leaderboard" width="400" height="76"></a>
Frequently asked questions about Anthropic: Claude Sonnet 4
How much does Anthropic: Claude Sonnet 4 cost?
Anthropic: Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens.
What is the context window of Anthropic: Claude Sonnet 4?
Anthropic: Claude Sonnet 4 has a context window of 1,000,000 tokens (1M).
Is Anthropic: Claude Sonnet 4 good for coding?
On our coding benchmark index, Anthropic: Claude Sonnet 4 ranks #64 of 157 models, placing it in the broader range of the field for code generation and debugging.
What can Anthropic: Claude Sonnet 4 do?
Anthropic: Claude Sonnet 4 supports image/vision input, tool use, and function calling.
Who created Anthropic: Claude Sonnet 4?
Anthropic: Claude Sonnet 4 is developed by Anthropic and was released on May 22, 2025.
Data sourced from the OpenRouter API, Artificial Analysis, the Hugging Face Open LLM Leaderboard and our own internal testing. Scores are editorially curated by our team.
Last updated: July 19, 2026 8:38 pm