Skip to content
llmmodels
Reasoning LLMReasoningTool callingStructured outputVisionDeprecated

Claude Sonnet 4

by Anthropic · May 22, 2025

Claude Sonnet 4 is a proprietary reasoning llm from Anthropic, released May 22, 2025. It has a 200K-token context window and accepts text, image, pdf input. API pricing starts at $2.70 per million input tokens and $13.50 per million output tokens. It is available from 7 API providers.

Provider
Anthropic
Released
May 22, 2025
Type
Reasoning LLM
Parameters
Undisclosed
Context window
200,000 tokens
Max output
64,000 tokens
Input
text, image, pdf
Output
text
Weights
Closed
License
Proprietary
Knowledge cutoff
Mar 31, 2025
Status
Deprecated

About Claude Sonnet 4

Balanced Claude model for coding, analysis, agent workflows, and cost control

Claude Sonnet 4 benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

Where to run Claude Sonnet 4 — API providers & pricing

ProviderInput $/1MOutput $/1MCached inputContext
Vertex(deprecated)$3$15$0.3200K
Databricks(deprecated)$3$15$0.3200K
SAP AI Core(deprecated)$3$15$0.3200K
Amazon Bedrock(deprecated)$3$15$0.3200K
Jiekou.AI(deprecated)$2.70$13.50—200K
Abacus(deprecated)$3$15—200K
Vertex (Anthropic)(deprecated)$3$15$0.3200K

Claude Sonnet 4 vs alternatives

Alternatives to Claude Sonnet 4
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
o3OpenAIApr 2025—200K$2$8147.0
GPT-5.2OpenAIDec 2025—400K$1.75$14154.5
Qwen3 MaxAlibaba (Qwen)Sep 2025—256K$1.20$6142.4
Pixtral Large (25.02)Mistral AIApr 2025—125K$2$6—
Sonar Pro SearchPerplexityOct 2025—200K$3$15—
Qwen3.7 MaxAlibaba (Qwen)May 2026—1M$2.50$7.50154.6
Perplexity Sonar Deep ResearchPerplexityFeb 2025—125K$2$8—
Claude Sonnet 4.5 (latest)AnthropicSep 2025—200K$3$15147.6

More models from Anthropic

All Anthropic models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Claude Opus 5.5Sep 2026—1M$4$20
Claude Sonnet 5.5Sep 2026—1M$2$10
Claude Fable 5.1Sep 2026—1M$10$50
Claude Fable 5.2Nov 2026—1M$8$40
Claude Opus 5Jul 2026—1M$5$25
Claude Fable 5Jun 2026—1M$10$50
Claude Opus 4.8May 2026—1M$5$25
Claude Haiku 5.5Oct 2026—1M$0.1$0.5

Frequently asked questions

Who made Claude Sonnet 4?

Claude Sonnet 4 was developed by Anthropic (United States). It was released on May 22, 2025.

What is the context window of Claude Sonnet 4?

Claude Sonnet 4 supports a context window of 200,000 tokens (200K) and can generate up to 64,000 output tokens per response.

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 costs $2.70 per 1M input tokens and $13.50 per 1M output tokens. Prices vary across the 7 providers that serve it.

Is Claude Sonnet 4 open source?

No. Claude Sonnet 4 is a proprietary model available only through its provider's API and apps.

How does Claude Sonnet 4 perform on benchmarks?

Claude Sonnet 4 scores 79.2% on GPQA Diamond, 7.8% on Humanity's Last Exam, 84.4% on MATH Level 5 and 71.1% on OTIS Mock AIME.

Where can I use Claude Sonnet 4?

Claude Sonnet 4 is available via 7 API providers.

Sources: models.dev. Last updated 2026-11-22.