← Back to all models

Claude Sonnet 4

claude-sonnet-4

Claude Sonnet 4 significantly improves on Sonnet 3.7's industry-leading capabilities, excelling in coding with a state-of-the-art 72.7% on SWE-bench. The model balances performance and efficiency for internal and external use cases, with enhanced steerability for greater control over implementations. While not matching Opus 4 in most domains, it delivers an optimal mix of capability and practicality.

Available at 12 Providers

Provider Source Input Price ($/1M) Output Price ($/1M) Description Free
vercel vercel Input: $3.00 Output: $15.00 Claude Sonnet 4 significantly improves on Sonnet 3.7's industry-leading capabilities, excelling in coding with a state-of-the-art 72.7% on SWE-bench. The model balances performance and efficiency for internal and external use cases, with enhanced steerability for greater control over implementations. While not matching Opus 4 in most domains, it delivers an optimal mix of capability and practicality.
poe poe Input: $2.60 Output: $13.00 Claude Sonnet 4 from Anthropic, supports customizable thinking budget (up to 30k tokens) and 1m context window. To instruct the bot to use more thinking effort, add --thinking_budget and a number ranging from 0 to 30,768 to the end of your message.
githubcopilot models-dev Input: $0.00 Output: $0.00 Provider: GitHub Copilot, Context: 128000, Output Limit: 16000
cortecs models-dev Input: $3.31 Output: $16.54 Provider: Cortecs, Context: 200000, Output Limit: 64000
helicone models-dev Input: $3.00 Output: $15.00 Provider: Helicone, Context: 200000, Output Limit: 64000
opencode models-dev Input: $3.00 Output: $15.00 Provider: OpenCode Zen, Context: 1000000, Output Limit: 64000
fastrouter models-dev Input: $3.00 Output: $15.00 Provider: FastRouter, Context: 200000, Output Limit: 64000
cloudflareaigateway models-dev Input: $3.00 Output: $15.00 Provider: Cloudflare AI Gateway, Context: 200000, Output Limit: 64000
zenmux models-dev Input: $3.00 Output: $15.00 Provider: ZenMux, Context: 1000000, Output Limit: 64000
requesty models-dev Input: $3.00 Output: $15.00 Provider: Requesty, Context: 200000, Output Limit: 64000
vertex litellm Input: $3.00 Output: $15.00 Source: vertex, Context: 1000000
openrouter openrouter Input: $3.00 Output: $15.00 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%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error rates in agent-driven workflows, and increased reliability in following intricate instructions. Sonnet 4 is optimized for practical everyday use, providing advanced reasoning capabilities while maintaining efficiency and responsiveness in diverse internal and external scenarios. Read more at the [blog post here](https://www.anthropic.com/news/claude-4) Context: 1000000