Anthropic logo

Anthropic: Claude Sonnet 4: Pricing, Context Window & Benchmarks

by Anthropic

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%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error rates in agent-driven workflows, and increased reliability in following intricate instructions. Sonnet 4 is optimized for practical everyday use, providing advanced reasoning capabilities while maintaining efficiency and responsiveness in diverse internal and external scenarios. Read more at the [blog post here](https://www.anthropic.com/news/claude-4)

Chat with Anthropic: Claude Sonnet 4
Input Price
$3.00/1M tokens
Output Price
$15.00/1M tokens
Context Window
1,000,000 tokens
Modalities
image, text, file

What you can do with Anthropic: Claude Sonnet 4

Everyday Q&A and clear explanations

Writing help (emails, posts, summaries)

Idea generation and brainstorming

Learning support with step-by-step guidance

Benchmarks not available

This model isn't listed on Artificial Analysis yet. Showing OpenRouter specs below.

Metric Value
Provider Anthropic
Context Window 1,000,000 tokens
Input Price $3.00/1M tokens
Output Price $15.00/1M tokens
Release Date May 22, 2025
Modalities image, text, file
Capabilities Function Calling, Vision

Compare Anthropic: Claude Sonnet 4 to other models

See how it stacks up on price, quality, and overall performance.

Frequently asked questions

What is Anthropic: Claude Sonnet 4 good for?

Use Anthropic: Claude Sonnet 4 for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.

How much does Anthropic: Claude Sonnet 4 cost?

Pricing is based on usage. Current rates are $3.00/1M tokens for input and $15.00/1M tokens for output.

Can I try Anthropic: Claude Sonnet 4 for free?

Yes. You can start a chat instantly and test the model before deciding on a plan.

Does Anthropic: Claude Sonnet 4 support images or audio?

Anthropic: Claude Sonnet 4 can understand images.

Pricing, context, and capability data are sourced from OpenRouter.