Claude Sonnet 4

Anthropicbalanced

Anthropic's balanced model with excellent coding and reasoning. Best price-to-performance ratio.

Context Window

200K

tokens

Max Output

16K

tokens

Input Price

$3

per 1M tokens

Output Price

$15

per 1M tokens

Speed

95

tokens/sec

Released

May 2025

2025-05-22

Blended Cost

$9.00

per 1M tokens

Value Score

9.8

quality per $

Capabilities

ChatVisionCode GenerationFunction Calling

Benchmarks

Quality Index
88
MMLU Pro
89.5
HumanEval (Coding)
93.7
MATH
81.2
Arena ELO
1320

About Claude Sonnet 4

Claude Sonnet 4 is a balanced AI model by Anthropic, released on May 22, 2025. It supports a context window of 200K tokens and can generate up to 16K output tokens.

At $3 per million input tokens and $15 per million output tokens, its blended cost of $9.00/1M tokens places it in the premium pricing tier. Its value score of 9.8 reflects the balance of quality and cost.

Using Claude Sonnet 4 with Swfte

Access Claude Sonnet 4 through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try Claude Sonnet 4 in our AI Playground before integrating.