Anthropic: Claude Sonnet 4

Anthropic: Claude Sonnet 4

anthropic · Released May 22, 2025
Intelligence #9 / 612
82.0 our score
Speed #232 / 287
51.7 tok/s
Input Price #546 / 612
$3.00 per 1M tokens
Output Price #553 / 612
$15.00 per 1M tokens
Context #63 / 612
1M tokens

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.

#9 of 612 overall

Benchmark scores

GPQA Diamond 77.7%
HLE 9.6%
MMLU Pro 84.2%
MATH 500 99.1%
AIME 77.3%
AIME 2025 74.3%
SciCode 40%
LiveCodeBench 65.5%
TerminalBench Hard 31.1%
τ²-Bench 64.6%
IFBench 54.7%
LCR 64.7%

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.

Position in the field
Intelligence: smarter than 99% of models #9
Speed: faster than 19% of models #232
Price: cheaper than 11% of models #546
Context: larger than 90% of models #63
worst in fieldmedianbest in field
Price vs frontier peers Ā· $ per 1M tokens
Anthropic: Claude Sonnet 4 $3.00 in $15.00 out
Anthropic: Claude Fable 5 $10.00 in $50.00 out
Anthropic: Claude Opus 4.8 $5.00 in $25.00 out
Google: Gemini 3.1 Pro Preview $2.00 in $12.00 out

Dark bar = input Ā· light bar = output, scaled to the priciest peer.

Context window vs peers Ā· tokens

1M tokens ā‰ˆ 8 full-length novels or ~2,500 pages of business documents in a single request.

Intelligence4.7Technical5.3Value6.3Content6.8
Performance profile

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.

3,000
One request is one message, email, draft or automation call.
1,200 tokens

$0/mo Anthropic: Claude Sonnet 4

Full calculator with 612 models → Price Calculator

DFO AI AUTOMATION

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 team

About 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%),..

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.

Anthropic: Claude Sonnet 4 rank badge, Dark
<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>
Anthropic: Claude Sonnet 4 rank badge, Light
<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.