Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →Claude 3.5 Sonnet was the mid-sized model in Anthropic's Claude 3.5 family, first released on 20 June 2024 and upgraded on 22 October 2024. Enterprises adopted it because it balanced quality, speed and cost: it offered a 200,000-token context window at US$3 per million input tokens and US$15 per million output tokens, strong coding and document skills, and availability on Anthropic's API, Amazon Bedrock and Google Cloud Vertex AI. Anthropic retired both Claude 3.5 Sonnet versions on 28 October 2025, so this page explains what the model offered, what enterprises learned from it, and how to move to a current Claude model.
| Developer | Anthropic |
|---|---|
| Versions | claude-3-5-sonnet-20240620 (20 June 2024) and the upgraded claude-3-5-sonnet-20241022 (22 October 2024) |
| Context window | 200K tokens |
| API price at launch | US$3 per million input tokens, US$15 per million output tokens |
| Inputs | Text and images (charts, screenshots, scanned documents); PDF support was added to the API later in 2024 |
| Platforms | Claude.ai apps, Anthropic API, Amazon Bedrock, Google Cloud Vertex AI |
| Status | Retired on 28 October 2025 (both versions), according to Anthropic's model deprecation documentation |
Anthropic names its model sizes Haiku (smallest, fastest), Sonnet (middle) and Opus (largest). With Claude 3.5 Sonnet, the middle model outperformed the previous generation's largest model, Claude 3 Opus, on many of Anthropic's published evaluations while costing a fifth as much per token. That price-to-quality ratio is what "balanced" meant in practice, and it is why many companies made Sonnet their default production model.
A 200K-token window fits several hundred pages of text, so teams used it for contract review, policy question-answering and summarising long reports without splitting the input.
Claude 3.5 Sonnet was widely used for code generation, review and refactoring. The October 2024 upgrade improved its coding results further, and it was built into developer tools such as GitHub Copilot's model choices and AI code editors.
It could read charts, tables in screenshots and scanned forms, which helped with document extraction workflows.
Alongside the June release, Claude.ai introduced Artifacts, a side panel showing generated code, documents or diagrams that users could iterate on. Projects let teams store reference documents and instructions for repeated use.
With the October 2024 upgrade, Anthropic released "computer use" as a public beta: through the API, the model could look at screenshots and control a mouse and keyboard in a sandboxed environment. It was experimental, but it was an early step towards today's agents.
Anthropic's commercial terms state that inputs and outputs from its commercial products are not used to train models by default. In September 2024 it launched a Claude Enterprise plan with single sign-on, role-based permissions and audit logs.
Requests to a retired model ID fail, so existing applications must switch. Anthropic has released several newer Sonnet generations since; Claude 3.7 Sonnet (February 2025) added an extended thinking mode and was itself retired in February 2026. Check Anthropic's models overview for the current list and prices. A minimal call with the official Python SDK (pip install anthropic, with ANTHROPIC_API_KEY set) looks like this:
import anthropic
client = anthropic.Anthropic()
response = client.messages.create(
model="claude-sonnet-5-5", # a current Sonnet at the time of writing
max_tokens=16000,
messages=[{"role": "user", "content": "Summarise the attached policy in five bullet points."}],
)
for block in response.content:
if block.type == "text":
print(block.text)
Note that the response may contain several block types, so the loop prints only text blocks. When migrating, re-run your evaluation set, check output length and format, and review Anthropic's migration notes: newer models handle reasoning settings and some parameters differently from the Claude 3.5 generation.
No. Anthropic retired both Claude 3.5 Sonnet versions on 28 October 2025. Applications that used it need to switch to a current Claude model.
200,000 tokens, enough for several hundred pages of text in a single request.
On Anthropic's API it was priced at US$3 per million input tokens and US$15 per million output tokens. Cloud platforms such as Amazon Bedrock set their own pricing.
For how it compared with rivals at the time, see GPT-4o vs Claude 3.5 Sonnet and Claude 3.5 vs Gemini 2.5. Its successor is covered in Claude 3.7 Sonnet and hybrid reasoning, and the wider landscape in how GPT, Claude, Gemini and Mistral differ.