Claude Sonnet 4

by Anthropic

Claude Sonnet 4 is a model from Anthropic, released on May 22, 2025. It has a 200K-token context window and can generate up to 64K output tokens. API pricing is $3 per 1M input tokens and $15 per 1M output tokens.

Claude Sonnet 4, part of the Claude 4 family, is a significant upgrade to Claude Sonnet 3.7. It excels in coding (72.7% on SWE-bench) and reasoning, responding more precisely to instructions. Sonnet 4 offers an optimal mix of capability and practicality, with enhanced steerability, and supports extended thinking with tool use.

Key specs

ProviderAnthropic
Release date2025-05-22
Licenseproprietary
Context window200K tokens
Max output64K tokens
Input price$3 / 1M tokens
Output price$15 / 1M tokens
Intelligence Score24.2
Coding index16.4

Quick answers

What is the context window of Claude Sonnet 4?

Claude Sonnet 4 has a context window of 200K tokens, with a maximum output of 64K tokens per response.

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 costs $3 per 1M input tokens and $15 per 1M output tokens through the API.

Is Claude Sonnet 4 open source?

No. Claude Sonnet 4 is a proprietary model from Anthropic (proprietary license).

When was Claude Sonnet 4 released?

Anthropic released Claude Sonnet 4 on May 22, 2025.

Compare on the AI leaderboard · All AI models

More models from Anthropic