Anthropic
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%),...
| Specifications | |
|---|---|
| Provider | Anthropic |
| Input pricing | $3.00/M tokens |
| Output pricing | $15.00/M tokens |
| Context length | 1.0M tokens |
| Max output | 64K tokens |
| Input modalities | imagetextfile |
| Output modalities | text |
| Tokenizer | Claude |
| Knowledge cutoff | 2025-01-31 |
| Content moderated | Yes |
Supported Parameters
include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p