Anthropic/ Claude
Claude Sonnet 4
anthropic/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%),...
Released
2025-05-22
Context window
1M
Max output
64K
Weights
Closed
Modalities
Input
ImageTextDocument
Output
Text
Identity
- Version
- claude-sonnet-4
- Knowledge cutoff
- 2025-01-31
Providers
| Provider | Provider model ID | Protocol | Context | Max output | Input | Output | Capabilities | Notes | Pricing | Streaming |
|---|---|---|---|---|---|---|---|---|---|---|
| OpenRouter | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | Moderated | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| Poe | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $2.6/M · cache read $0.26/M output $13/M · cache write $3.2/M | Yes |
| FastRouter | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| ZenMux | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| OrcaRouter | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| Requesty | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| Kilo Gateway | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| Vercel AI Gateway | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
| Cloudflare AI Gateway | anthropic/claude-sonnet-4 | openai_chat | 1M | 64K | ImageTextDocument | Text | ReasoningTool callTemperature | - | input $3/M · cache read $0.3/M output $15/M · cache write $3.75/M | Yes |
Capabilities
ReasoningTool callTemperature