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

anthropic
claude-sonnet-4
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
7
Performance (TPS)
Tokens per second
653.27 tokens/s

Category Scores

Benchmark Tests

View Other Benchmarks
AIME
40.7
Mathematics
AA Coding Index
41.1
Programming
AAII
45.7
General
AA Math Index
67.0
Mathematics
GPQA
75.4
STEM (Physics, Chemistry, Biology)
HLE
4.0
General Knowledge
LiveCodeBench
44.9
Programming
MATH-500
93.4
Mathematics
MMLU-Pro
83.7
General Knowledge
MMMU
74.4
General Knowledge
SciCode
37.3
Scientific

Code Examples

Integration samples and API usage