All Models
Claude Sonnet 4
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%),...
Available Providers (13)
| Provider | Model ID | Input Cost | Output Cost | Context | Max Output | Docs |
|---|---|---|---|---|---|---|
| | claude-sonnet-4 | $0.00/MTok | $0.00/MTok | 216K | 16K | |
| | anthropic/claude-sonnet-4 | $2.60/MTok | $13.00/MTok | 983.0K | 64K | |
| | claude-sonnet-4-20250514 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | anthropic/claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | anthropic/claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 1M | 64K | |
| | claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 1M | 64K | |
| | anthropic.claude-sonnet-4-20250514-v1:0 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | claude-sonnet-4@20250514 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | anthropic/claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | anthropic/claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | anthropic/claude-sonnet-4 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | claude-sonnet-4-20250514 | $3.00/MTok | $15.00/MTok | 200K | 64K | |
| | claude-sonnet-4 | $3.31/MTok | $16.54/MTok | 200K | 64K |
Capabilities
Reasoning
Tool Calling
Attachments
Open Weights
Structured Output