claude-sonnet-4 by anthropic - AI Model Details, Pricing, and Performance Metrics

anthropic
claude-sonnet-4
Try
anthropic

claude-sonnet-4

completions
byanthropic

Our high-performance model with exceptional reasoning and efficiency

Released
May 22, 2025
Knowledge
Mar 1, 2025
License
Proprietary
Context
200K
Input
$3 / 1M tokens
Output
$15 / 1M tokens
Cached
$0.3 / 1M tokens
Cached Write
$3.75 / 1M tokens
Capabilities: tools
Accepts: text, image
Returns: text

Access claude-sonnet-4 through LangDB AI Gateway

Recommended

Integrate with anthropic's claude-sonnet-4 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Request Volume
Daily API requests
1
Performance (TPS)
Tokens per second
13.73 tokens/s

Category Scores

Benchmark Tests

View Other Benchmarks
HLE
9.6
General Knowledge
AIME
77.3
Mathematics
GPQA
77.7
STEM (Physics, Chemistry, Biology)
SciCode
40.0
Scientific
MATH-500
99.1
Mathematics
MMLU-Pro
84.2
General Knowledge
LiveCodeBench
65.5
Programming
AA Math Index
74.3
Mathematics
AA Coding Index
45.1
Programming
AAII
56.5
General

Code Examples

Integration samples and API usage