← All modelsRatings & Rankings
Output Cost
$15.0000
11/100
Key Specifications
Context Window1M
Max Output64K
TokenizerClaude
Input Modalitiesimage, text, file
Output Modalitiestext
Pricing
Input (per M tokens)$3.0000per million tokens
Output (per M tokens)$15.0000per million tokens
Capabilities
✓Function calling
✗Structured outputs
✓Unmoderated
About
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%),...
Supported parameters
include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p