Claude Sonnet 4.6, released February 17, 2026, combines frontier-level coding performance with a 1M token context window at the same pricing as its predecessor. It has since been superseded in Anthropic's lineup by Sonnet 5.5 (September 28, 2026) but remains available on the Claude API with no announced retirement date.
Why It's in Adopt
At its April 2026 release, Claude Sonnet 4.6 became the default model in Claude Code, and early testing showed users preferred it over Sonnet 4.5 roughly 70% of the time for coding tasks. Key improvements over the previous generation:
- Better context reading: More effectively reads and understands large amounts of code before modifying it — reducing the "AI trashes your file" problem in long sessions
- Less code duplication: Consolidates shared logic rather than repeating it across files
- Stronger prompt injection resistance: A major safety improvement for agentic use cases where the model is acting autonomously on your behalf
- Computer use: Major improvements in GUI automation (clicking, typing, navigating browsers)
- 1M token context window: Feed in entire codebases or massive documentation sets
Status (October 2026)
Sonnet 4.6 is no longer Anthropic's flagship: the Claude 5 generation (Sonnet 5, Sonnet 5.5 on September 28, 2026) has taken over as the default Sonnet-tier offering, and Sonnet 5.5 runs 30% faster at up to 30% lower cost for most work. Anthropic has not announced a retirement date for Sonnet 4.6 on the API, so existing integrations remain safe. GitHub Copilot retired Sonnet 4.6 on September 1, 2026 (annual-plan individual subscribers excepted). Anthropic also halved Sonnet 5.5 cache-read pricing to $0.10/M tokens in October 2026, widening the cost gap in favor of migrating.
Performance
- Tops or ties on SWE-bench Verified (real GitHub issue resolution)
- Matches Claude Opus 4.6 on OfficeQA (enterprise document comprehension)
- Preferred over Opus 4.5 in Claude Code agentic workflows 59% of the time despite lower cost
How to Access It
- Claude.ai — the default free and paid model
- Anthropic API —
claude-sonnet-4-6model ID - Amazon Bedrock and Google Vertex AI for enterprise access
- Claude Code CLI — no longer the default; the Claude 5 generation is now default (see Opus 5 default rollout, July 2026)
Key Characteristics
| Property | Value |
|---|---|
| License | Proprietary |
| Context window | 1,000,000 tokens (1M, beta) |
| Pricing | $3/M input, $15/M output |
| Provider | Anthropic |
| API model ID | claude-sonnet-4-6 |
Cost-Saving Features
- Prompt caching: Up to 90% cost reduction on repeated context (great for long agentic sessions)
- Batch processing: 50% cost reduction for non-real-time tasks