Anthropic: Claude Sonnet 4 API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Anthropic: Claude Sonnet 4 | Anthropic | $3.00 | $15.00 | 1,000,000 (1M) | image, text, filetext |
Capabilities
Context window
1,000,000 (1M)
Max output
64,000 (64K)
Input modalities
image, text, file
Output modalities
text
Supported parameters
include_reasoning
max_tokens
reasoning
stop
temperature
tool_choice
tools
top_k
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| Anthropic: Claude Sonnet 4.5 | $3.00 | $15.00 | 1,000,000 (1M) | text, image, filetext |
| Anthropic: Claude Sonnet 4.6 | $3.00 | $15.00 | 1,000,000 (1M) | text, image, filetext |
| Anthropic: Claude Opus 4.6 (batch) | $2.50 | $12.50 | 1,000,000 (1M) | text, image, filetext |
| Anthropic: Claude Opus 4.7 (batch) | $2.50 | $12.50 | 1,000,000 (1M) | text, image, filetext |
| Anthropic: Claude Opus 4.8 (batch) | $2.50 | $12.50 | 1,000,000 (1M) | text, image, filetext |
| Claude Opus 5 (batch) | $2.50 | $12.50 | 1,000,000 (1M) | text, image, filetext |
| Anthropic: Claude Opus 4.5 (batch) | $2.50 | $12.50 | 200,000 (200K) | file, image, texttext |
| Anthropic Claude Sonnet Latest | $2.00 | $10.00 | 1,000,000 (1M) | text, image, filetext |