Claude Sonnet 4 is a significant upgrade to Sonnet 3.7, delivering superior performance in coding and reasoning with enhanced precision and control. Achieving a state-of-the-art 72.7% on SWE-bench, the model expertly balances advanced capability with computational efficiency. Key improvements include more reliable codebase navigation and complex instruction following, making it ideal for a wide range of applications, from routine coding to complex software development projects.
Pricing
Input Modalities
- Text
- Vision
Output Modalities
- Text
Capabilities
- Thinking
- Tools
- Tool calling
- Structured outputs
Providers
Anthropic claude-sonnet-4-20250514
Pricing$3$15
Cache Read$0.3/M tokens
Web Search$0.01/request
Cache Write 5 Minutes$3.75/M tokens
Cache Write 1 Hour$6/M tokens
Pricing$4$15
Cache Read$0.4/M tokens
Web Search$0.01/request
Cache Write 5 Minutes$5/M tokens
Cache Write 1 Hour$8/M tokens
Context1M
Max output64K
Latency2.1S
Throughput63.5TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
AWS claude-sonnet-4-20250514
Pricing$3$15
Cache Read$0.3/M tokens
Web Search$0.01/request
Cache Write 5 Minutes$3.75/M tokens
Cache Write 1 Hour$6/M tokens
Pricing$4$15
Cache Read$0.4/M tokens
Web Search$0.01/request
Cache Write 5 Minutes$5/M tokens
Cache Write 1 Hour$8/M tokens
Context1M
Max output64K
Latency2.5S
Throughput72.5TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Performance for claude-sonnet-4-0
Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).
Uptime
Loading...
Latency
Loading...
Throughput
Loading...
Try this model
Python