anthropic

Anthropic: Claude Sonnet 4

Claude Sonnet 4 from Anthropic is an advanced AI capable of processing text, images, and files, with a context length of up to one million tokens, making it versatile for complex tasks. It supports reasoning and tools integration, enhancing its utility in problem-solving scenarios where structured output is not required. This model should be considered by those needing a robust solution that can handle diverse input modalities, but who may also require a cost-effective option within the budget of $3.0 per million input tokens and $15.0 per million output tokens. With a blended benchmark score of 57.8 across five independent evaluations, it offers solid performance for a variety of applications, making it a strong contender in the market.

Quality Score
96/100
price + capability + benchmarks
Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Context Window
1,000,000
tokens

Benchmark results

Independent, published benchmarks. Blended score 57.8 across 5 benchmarks, last refreshed 2026-08-13. How scoring works →

BenchmarkMeasuresScore
Aider Polyglot code editing across languages 64.9
AI Index broad capability composite 42.9
AI Index Coding software engineering tasks 62.0
AI Index Agentic multi-step tool-using tasks 29.0
EQ-Bench emotional understanding in dialogue 66.6
Model ID
anthropic/claude-sonnet-4
Vendor
anthropic
Released
May 2025
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
yes

What it costs in practice

Computed from the current $3.00/M input and $15.00/M output rates. Run your own numbers →

JobTokensCost
Summarize a 50-page report 30k in / 1.5k out $0.11
Classify 1,000 customer emails 500k in / 50k out $2.25
A month of a busy support chatbot 5M in / 2M out $45.00

Similar models

Quick answers

How much does Anthropic: Claude Sonnet 4 cost?
$3.00 per million input tokens and $15.00 per million output tokens.
What is Anthropic: Claude Sonnet 4's context window?
1,000,000 tokens, roughly 1,500 pages of text in a single request.
Does Anthropic: Claude Sonnet 4 support tool calling?
It supports tool calling, a reasoning mode.
Can Anthropic: Claude Sonnet 4 process images?
Yes, it accepts image input.