Anthropic: Claude Sonnet 4

anthropic/claude-sonnet-4

Description

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.

How this model compares

Overall covers the full catalog. By plan covers only models available on that tier (same rules as available models in your list). Position on min–average–max. Prices use the higher of prompt or completion per token, shown per 1M tokens.

Price (per 1M tokens)

Min
Max
This model
336 models in this groupPrice (per 1M tokens)
Min
$0.04
Avg
$12.385886
Max
$750.00
This model: $15.00 / 1M tokens

Context length (tokens)

Min
Max
This model
336 models in this groupContext length (tokens)
Min
4,095 tokens
Avg
382,115.467 tokens
Max
10,000,000 tokens
This model: 1,000,000 tokens

Capabilities

text+image+file->textContext: 1,000,000 tokens
Input:
ImageTextFile
Output:
Text
    Anthropic: Claude Sonnet 4