Anthropic: Claude Sonnet 4.6
anthropic/claude-sonnet-4.6About
Claude Sonnet 4.6 is Anthropic's most capable Sonnet-class model, with strong performance across coding, agents, and professional work. It scores 79.6% on SWE-bench Verified, 59.1% on Terminal-Bench 2.0, and 72.5% on OSWorld-Verified, all improvements over Sonnet 4.5. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and computer use for web QA and workflow automation. Anthropic reports improved resistance to prompt injection over Sonnet 4.5. The model supports a 1M-token context window with up to 128K tokens of output, and accepts text and image input.
Capabilities
- Context Length
- 1M
- Max Output
- 128K
- Reasoning
- Yes
- In
- text, image
- Out
- text
Benchmarks
View leaderboardReasoning & Knowledge
Coding & Agentic
Source: Artificial Analysis
Pricing
Full pricing| Type | Price / 1M tokens |
|---|---|
| Input | $3.00 |
| Output | $15.00 |
| Cache Read | $0.30 |
| Cache Write | $3.75 |
| Web Search | $0.01 / call |
Anthropic-compatible · Model ID anthropic/claude-sonnet-4.6
curl https://api.elliotgate.com/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-4.6",
"messages": [{"role": "user", "content": "Hello!"}]
}'OFTEN COMPARED
Claude Sonnet 4.6 comparisons
Decide which model wins on the dimensions that matter for your workload — context, benchmarks, pricing, or serving latency.
Claude Sonnet 4.6 vs GPT-5 Codex
Claude Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs GPT-5 Chat
Claude Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs GPT-5
Two near-tied composite scores hide very different shapes.
See full comparison →Claude Sonnet 4.6 vs GPT-5.4 Nano
Claude Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs Qwen3.5 397B A17B
Claude Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs Qwen3.6 27B
Claude Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs DeepSeek: DeepSeek V4 Flash
V4 Flash actually beats Sonnet 4.
See full comparison →Claude Sonnet 4.6 vs GLM 5 Turbo
At first glance GLM 5 Turbo edges Claude Sonnet 4.
See full comparison →