Skip to main content
RetiredANAnthropic/ 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%),...

Model information

Released
2025-05-22
Context window
1M
Max output
64K
Weights
Closed

Modalities

Input
DocumentImageText
Output
Text

Identity

Version
claude-sonnet-4
Knowledge cutoff
2025-01-31

Capabilities

ReasoningTemperatureTool call

Providers

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

FAQ