#1 India's Top IT Training Institute
×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
Mentors

Mentors

Meet the industry experts who train and guide you through your course.

Read More →
Free Resources

Free Resources

Free tutorials, interview questions, tools and calculators to help you learn.

Explore →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →

Claude 3.5 Sonnet: Balanced AI for Enterprise Use

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.

Claude Sonnet

Key facts

DeveloperAnthropic
Versionsclaude-3-5-sonnet-20240620 (20 June 2024) and the upgraded claude-3-5-sonnet-20241022 (22 October 2024)
Context window200K tokens
API price at launchUS$3 per million input tokens, US$15 per million output tokens
InputsText and images (charts, screenshots, scanned documents); PDF support was added to the API later in 2024
PlatformsClaude.ai apps, Anthropic API, Amazon Bedrock, Google Cloud Vertex AI
StatusRetired on 28 October 2025 (both versions), according to Anthropic's model deprecation documentation

Where it sat in the Claude lineup

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.

What made it attractive for enterprise use

Long documents

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.

Coding

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.

Vision

It could read charts, tables in screenshots and scanned forms, which helped with document extraction workflows.

Artifacts and Projects

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.

Computer use (beta)

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.

Data handling

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.

Lessons enterprises took from it

  • Pin a model version, but plan for retirement. Dated model IDs keep behaviour stable, yet every model is eventually retired. Teams that kept the model name in configuration, with an evaluation set to test a replacement, migrated easily; teams that hard-coded it scrambled.
  • Measure on your own tasks. Published benchmarks indicated general capability, but the decision to deploy came from testing real documents, tickets and code.
  • Keep a human check where errors are costly. Like every LLM, it could produce confident mistakes, so legal, financial and customer-facing outputs still needed review.
  • Watch cost per task, not per token. A cheaper model that needs more retries can cost more overall.

Moving to a current Claude model

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.

FAQs

Is Claude 3.5 Sonnet still available?

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.

What was the context window of Claude 3.5 Sonnet?

200,000 tokens, enough for several hundred pages of text in a single request.

How much did Claude 3.5 Sonnet cost?

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.

Placed Students

Our Clients

Partners

...