Claude Sonnet 4
All models
AnthropicAnthropicClaude

Claude Sonnet 4

1M context$3.00/M input$15.00/M output

Claude Sonnet 4 is an AI model from Anthropic built for agent workflows, with support for image, text, file input and text output. 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%),...

What is Claude Sonnet 4?

Claude Sonnet 4 is an AI model from Anthropic that Agent Mag tracks for pricing, context window, modalities, benchmarks, and API compatibility. Builders can use this page to compare Claude Sonnet 4 against other models for agent workflows and production deployments.

Model ID

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%),...

Modalities
Input
imagetextfile
Output
text
Supported Parameters
include_reasoningmax_tokensreasoningstoptemperaturetool_choicetoolstop_ktop_p

Related content