anthropic
Anthropic: Claude Sonnet 4.6
Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with...
Quality Score
100/100
price + capability + benchmarks
Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Context Window
1,000,000
tokens
- Model ID
- anthropic/claude-sonnet-4.6
- Vendor
- anthropic
- Tokenizer
- Claude
- Input Modalities
- text, image, file
- Output Modalities
- text
- Max Output
- 128,000 tokens
- Tool Calling
- ✓ supported
- Structured Output
- ✓ supported
- Reasoning Mode
- ✓ supported
- Vision
- ✓ accepts images
- Audio
- no
- Moderated
- yes
Strong choice for
Code
SQL Generation
Writing correct, performant SQL from natural-language prompts.
Code
Code Review
Spotting bugs, security issues, and style problems in pull requests.
Code
Code Refactoring
Safely restructuring an existing codebase across many files.
Code
Bug Fixing
Diagnosing root cause and producing a working patch.
Code
Unit Test Generation
Generating thorough test suites for existing functions.
Code
Code Documentation
Writing clear docstrings and READMEs that match the code.
Similar models
anthropic
Anthropic: Claude Haiku 4.5
$1.00 in / $5.00 out
200,000 ctx
100
anthropic
Anthropic: Claude Sonnet 4.5
$3.00 in / $15.00 out
1,000,000 ctx
100
anthropic
Anthropic: Claude Sonnet 4
$3.00 in / $15.00 out
1,000,000 ctx
96
anthropic
Anthropic: Claude Opus 4.8
$5.00 in / $25.00 out
1,000,000 ctx
95
anthropic
Anthropic: Claude Opus 4.7
$5.00 in / $25.00 out
1,000,000 ctx
95
anthropic
Anthropic: Claude Opus 4.6
$5.00 in / $25.00 out
1,000,000 ctx
95