About Claude Sonnet
Claude Sonnet is Anthropic's middle line, built to balance speed and intelligence. It covers everyday coding, bug fixes, documents, slides and spreadsheets, and agent work that doesn't need Opus-level judgment. It reads text and images and replies in text. Claude Sonnet 5.5 is the current version.
History
Claude 3 Sonnet arrived with the Claude 3 family in March 2024. Claude 3.5 Sonnet (June 2024) outperformed Claude 3 Opus, and an upgraded snapshot in October 2024 introduced computer use in beta. Claude 3.7 Sonnet (February 2025) was Anthropic's first hybrid reasoning model and launched together with Claude Code. Claude Sonnet 4 (May 2025) and Sonnet 4.5 (September 2025) pushed agentic coding and computer use further. Sonnet 4.6 (February 2026) brought the 1M-token context window to the line. Claude Sonnet 5 (June 2026) narrowed the gap to Opus, and Sonnet 5.5 (September 28, 2026) is the second model of the Claude 5.5 family. Sonnet 3 through Sonnet 4 are retired. Sonnet 4.5 is deprecated and retires on November 30, 2026; see model deprecations.
Where you can use it
Sonnet is available on every Claude plan, including Free (plan table). Recent versions launched as the default model on the Free and Pro plans. Developers can use it on the Claude API, Amazon Bedrock, Google Cloud, Microsoft Foundry and Claude Platform on AWS, and in Claude Code.
How to prompt Claude Sonnet
- 01
Match effort to the job
Sonnet 5.5 defaults to
highon the API and to medium in the Claude apps. Usemediumorlowfor chat and well-specified tasks, andhighfor longer or harder agent work. - 02
Say how far it should go
Sonnet 5.5 tends to add tests, docs and small files. If you only want the requested change, say: stop and report when the asked-for work is done and checked, and suggest extras at the end.
- 03
Ask for ideas when you want ideas
Open-ended requests can lead it to start building. If you want options or a plan first, say so and ask it not to change anything until you approve.
- 04
Ask it to verify code changes
At low effort it can skip checks. Ask it to run the project's tests, type-checker or build before calling a change done.
- 05
Tell it to search for things that change
It sometimes answers from training data when a search would catch changes. Remove lines like minimize tool calls, and ask it to search for specifics that may have changed, such as what is allowed or required.
Anatomy of a great prompt
<context>
{{background}}
</context>
<task>
{{task}}
</task>
Output: {{format}}.{{#if scope}}
Scope: {{scope}}. When this is done and checked, stop and report; mention any extra improvements at the end instead of making them.{{/if}}{{#if examples}}
<examples>
{{examples}}
</examples>{{/if}}