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%),...
Anthropic: Claude Sonnet 4 — Anthropic. Context window 200,000 tokens. API pricing (per 1M tokens): Input $3, Output $15. License: Proprietary. LMArena 1,339. GPQA Diamond 66.7%.
| Provider | Anthropic |
|---|---|
| API model ID | anthropic/claude-sonnet-4 |
| Tier | Frontier |
| Context window | 200,000 tokens |
| Max output | 64,000 tokens |
| License | Proprietary |
| API pricing (per 1M tokens) · Input | $3 |
| API pricing (per 1M tokens) · Output | $15 |
| LMArena | 1,339 (claude-sonnet-4-20250514) |
| GPQA Diamond | 66.7% |
LMArena (CC-BY 4.0, best reasoning setting, 2026-10-02) · GPQA Diamond: Epoch AI (CC-BY 4.0)
Compare in the full catalog