Author's Description
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%),...
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
Anthropic's Claude Sonnet 4 demonstrates a balanced performance profile, excelling in several key areas while maintaining competitive response times. It performs among models with competitive response times, ranking in the 45th percentile for speed. However, its pricing tends to be at premium levels, placing it in the 12th percentile. A standout feature is its exceptional reliability, achieving a 100% success rate across all benchmarks, indicating minimal technical failures. Sonnet 4 exhibits remarkable accuracy in specialized tasks, achieving perfect scores in both Hallucinations (100%) and Ethics (100%), indicating strong adherence to factual integrity and ethical principles. It also shows high proficiency in General Knowledge (99.8%), Coding (93.0%), and Mathematics (93.0%), with its SWE-bench performance of 72.7% further solidifying its coding prowess. While its Instruction Following (66.0%) and Reasoning (88.0%) scores are solid, they represent areas with potential for further enhancement compared to its top-tier accuracy in other domains. Its efficiency is notable in Hallucinations, where it is the most accurate model at its price point and among models of similar speed.
Model Pricing
Current Pricing
| Feature | Price (per 1M tokens) |
|---|---|
| Prompt | $3 |
| Completion | $15 |
| Input Cache Read | $0.3 |
| Input Cache Write | $3.75 |
| Web Search | $10000 |
Price History
Available Endpoints
| Provider | Endpoint Name | Context Length | Pricing (Input) | Pricing (Output) |
|---|---|---|---|---|
|
Google
|
Google | anthropic/claude-4-sonnet-20250522 | 1M | $3 / 1M tokens | $15 / 1M tokens |
|
Google
|
Google | anthropic/claude-4-sonnet-20250522 | 1M | $3 / 1M tokens | $15 / 1M tokens |
|
Amazon Bedrock
|
Amazon Bedrock | anthropic/claude-4-sonnet-20250522 | 200K | $3 / 1M tokens | $15 / 1M tokens |
|
Anthropic
|
Anthropic | anthropic/claude-4-sonnet-20250522 | 1M | $3 / 1M tokens | $15 / 1M tokens |
|
Google
|
Google | anthropic/claude-4-sonnet-20250522 | 1M | $3 / 1M tokens | $15 / 1M tokens |
|
Amazon Bedrock
|
Amazon Bedrock | anthropic/claude-4-sonnet-20250522 | 200K | $3 / 1M tokens | $15 / 1M tokens |
Benchmark Results
| Benchmark | Category | Reasoning | Strategy | Free | Executions | Accuracy | Cost | Duration |
|---|
Other Models by anthropic
|
|
Released | Params | Context |
|
Speed | Ability | Cost |
|---|---|---|---|---|---|---|---|
| Anthropic: Claude Opus 4.7 (Fast) | May 12, 2026 | — | 1M |
Image input
File input
Text input
Text output
|
— | — | +$$$$$ |
| Anthropic: Claude Opus 4.7 Unavailable | Apr 16, 2026 | — | 1M |
Image input
Text input
Text output
|
★★★★ | ★★★★★ | +$$$$$ |
| Anthropic: Claude Opus 4.7 | Apr 16, 2026 | — | 1M |
Image input
File input
Text input
Text output
|
★★★★ | ★★★★★ | +$$$$$ |
| Anthropic: Claude Opus 4.6 (Fast) | Apr 07, 2026 | — | 1M |
Image input
File input
Text input
Text output
|
— | — | +$$$$$ |
| Anthropic: Claude Sonnet 4.6 | Feb 17, 2026 | — | 1M |
Image input
File input
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| Anthropic: Claude Opus 4.6 | Feb 04, 2026 | — | 1M |
Image input
File input
Text input
Text output
|
★★★ | ★★★★★ | +$$$$$ |
| Anthropic: Claude Opus 4.5 | Nov 24, 2025 | — | 200K |
Image input
File input
Text input
Text output
|
★★★ | ★★★★★ | +$$$$$ |
| Anthropic: Claude Haiku 4.5 | Oct 15, 2025 | — | 200K |
Image input
File input
Text input
Text output
|
★★★★ | ★★★★ | $$$$ |
| Anthropic: Claude Haiku 4.5 Unavailable | Oct 14, 2025 | — | 200K |
Image input
Text input
Text output
|
— | — | $$$$$ |
| Anthropic: Claude Sonnet 4.5 | Sep 29, 2025 | — | 1M |
Image input
File input
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
| Anthropic: Claude Opus 4.1 | Aug 05, 2025 | — | 200K |
Image input
File input
Text input
Text output
|
★★★ | ★★★★ | +$$$$$ |
| Anthropic: Claude Opus 4 | May 22, 2025 | — | 200K |
Image input
File input
Text input
Text output
|
★★ | ★★★★ | +$$$$$ |
| Anthropic: Claude 3.7 Sonnet Unavailable | Feb 24, 2025 | — | 200K |
Image input
File input
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
| Anthropic: Claude 3.5 Haiku | Nov 03, 2024 | — | 200K |
Image input
Text input
Text output
|
★★★★ | ★★★ | $$$$ |
| Anthropic: Claude 3.5 Haiku (2024-10-22) Unavailable | Nov 03, 2024 | — | 200K |
Image input
File input
Text input
Text output
|
★★★★ | ★★★ | $$$$ |
| Anthropic: Claude 3.5 Sonnet Unavailable | Oct 21, 2024 | ~400B | 200K |
Image input
File input
Text input
Text output
|
★★★ | ★★★★ | +$$$$$ |
| Anthropic: Claude 3.5 Sonnet (2024-06-20) Unavailable | Jun 19, 2024 | ~400B | 200K |
Image input
File input
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| Anthropic: Claude 3 Haiku | Mar 12, 2024 | ~20B | 200K |
Image input
Text input
Text output
|
★★★★★ | ★★ | $$$ |
| Anthropic: Claude 3 Sonnet Unavailable | Mar 04, 2024 | ~200B | 200K |
Image input
Text input
Text output
|
★★★★ | ★★★★ | $$$$$ |
| Anthropic: Claude 3 Opus Unavailable | Mar 04, 2024 | ~2T | 200K |
Image input
Text input
Text output
|
★★★ | ★★★ | +$$$$$ |
| Anthropic: Claude v2 Unavailable | Nov 21, 2023 | 137B | 200K |
Text input
Text output
|
★★ | ★★★ | +$$$$$ |
| Anthropic: Claude v2.1 Unavailable | Nov 21, 2023 | 137B | 200K |
Text input
Text output
|
★★★ | ★★★ | +$$$$$ |
| Anthropic: Claude v2.0 Unavailable | Jul 27, 2023 | 137B | 100K |
Text input
Text output
|
★★★ | ★★★ | +$$$$$ |