Anthropic: Claude Sonnet 4

Anthropic: Claude Sonnet 4

anthropic · Released May 22, 2025
Intelligence #57 / 688
64.9 our score
Speed #253 / 314
51.7 tok/s
Input Price #611 / 688
$3.00 per 1M tokens
Output Price #617 / 688
$15.00 per 1M tokens
Context #93 / 688
1M tokens

Analysis Summary

Claude Sonnet 4 is Anthropic's balanced model for reasoning, coding, and agentic workflows. It combines strong coding performance with a high agentic result, a 1M-token context window, vision, file input, tool use, and function calling. Instruction following and long-context results support careful production writing as well as technical work.

For Design for Online, it fits software engineering, codebase maintenance, autonomous task execution, long-document analysis, SEO strategy, and customer-facing content where consistency matters. The main limitation is cost, especially for output-heavy campaigns and routine transformations. It is also an earlier Sonnet generation, so newer benchmarked family models should receive preference when capability and pricing are comparable.

Adopt it for high-value client workflows, with a cheaper model handling volume operations.

Assessed August 9, 2026

Editorial notes

Claude Sonnet 4 combines strong coding and agentic performance with a million-token context, vision, file handling, and reliable instruction following. Its premium pricing favours complex engineering and client-facing work over bulk automation.

Rankings consider pricing, capabilities, benchmarks, and real-world applicability and are refreshed as new models launch. Feedback?

DFO Verdict

Claude Sonnet 4 combines strong coding and agentic performance with a million-token context, vision, file handling, and reliable instruction following. Its premium pricing favours complex engineering and client-facing work over bulk automation.

#57 of 688 overall Up 10 this week

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 #126 of 420 AI models we track for overall intelligence, #91 of 193 for coding, #23 of 175 for agentic tasks. Its 1M-token context window is larger than 86% 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 92% of models #57
Speed: faster than 19% of models #253
Price: cheaper than 11% of models #611
Context: larger than 86% of models #93
worst in fieldmedianbest in field
Price vs frontier peers · $ per 1M tokens
Anthropic: Claude Sonnet 4 $3.00 in $15.00 out
Claude Opus 5 $5.00 in $25.00 out
Qwen: Qwen3.8 Max $2.00 in $6.00 out
Anthropic: Claude Fable 5 $10.00 in $50.00 out

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

Context window vs peers · tokens
Anthropic: Claude Sonnet 4 1M

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

Intelligence4.7Technical5.3Value6.3Content8.7
Performance profile

Strongest on business fit. 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 688 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%),..

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 #91 of 193 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.

© 2026 Design for Online Ltd. Registered in England and Wales No. 10328553. VAT Registered. Design for Online® and Forerunner® are registered trademarks.