Skip to main content
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

ProviderProvider model IDProtocolContextMax outputInputOutputCapabilitiesNotesPricingStreaming
OpenRouteranthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
Moderated
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
Poeanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $2.6/M · cache read $0.26/M
output $13/M · cache write $3.2/M
Yes
FastRouteranthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
ZenMuxanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
OrcaRouteranthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
Requestyanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
Kilo Gatewayanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
Vercel AI Gatewayanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes
Cloudflare AI Gatewayanthropic/claude-sonnet-4openai_chat1M64K
ImageTextDocument
Text
ReasoningTool callTemperature
-
input $3/M · cache read $0.3/M
output $15/M · cache write $3.75/M
Yes

Capabilities

ReasoningTool callTemperature

FAQ