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.7 Sonnet, released by Anthropic on 24 February 2025, was the first Claude model with hybrid reasoning: the same model could answer immediately in standard mode, or use extended thinking, working through a problem step by step before answering, with developers setting a token budget for that thinking. For enterprises this meant one model for both quick tasks and hard ones (complex code, multi-step analysis, agent workflows) without switching between a "fast" and a "reasoning" model. It kept Claude 3.5 Sonnet's price and 200K context. Anthropic has since retired it in favour of newer Claude models, so this page explains what it introduced and how its ideas carry forward.
| Developer | Anthropic |
|---|---|
| Released | 24 February 2025 (API model ID claude-3-7-sonnet-20250219) |
| Modes | Standard responses, or extended thinking with a configurable thinking budget |
| Context window | 200K tokens |
| API price | US$3 per million input tokens, US$15 per million output tokens (thinking tokens billed as output) |
| Platforms | Claude apps, Anthropic API, Amazon Bedrock, Google Cloud Vertex AI |
| Launched alongside | Claude Code, released as a research preview of Anthropic's command-line coding agent |
| Status | Retired; check Anthropic's model deprecations page for dates and recommended replacements |
Earlier in 2024–25, AI labs shipped separate reasoning models that always "think" before answering. They were better at maths and logic but slower and more expensive for simple requests. Claude 3.7 Sonnet combined both behaviours in one model:
budget_tokens to cap how much it may think, trading cost and latency for quality.The practical benefit is control. A support bot can answer FAQs in standard mode and switch on thinking only for a complex billing dispute; a coding assistant can think hard about a refactor but not about renaming a variable.
With the Anthropic Python SDK (pip install anthropic), extended thinking is one parameter. Use a current model ID from Anthropic's models overview, since 3.7 Sonnet no longer accepts requests:
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY
MODEL = "your-current-claude-model-id" # see Anthropic's models overview
response = client.messages.create(
model=MODEL,
max_tokens=16000,
thinking={"type": "enabled", "budget_tokens": 8000},
messages=[{"role": "user", "content":
"Our SaaS has 1,200 customers paying Rs 2,000/month and 3% monthly churn. "
"If we add 60 customers a month, what is the customer count after 12 months?"}],
)
for block in response.content:
if block.type == "thinking":
print("[thinking]", block.thinking[:200], "...")
elif block.type == "text":
print(block.text)
The response contains a thinking block followed by a text block with the answer. budget_tokens must be lower than max_tokens. Newer Claude models may offer additional or different thinking controls, so check the extended-thinking section of the current documentation when you migrate.
Claude 3.7 Sonnet was widely adopted in coding tools for multi-file changes, debugging and code review. Anthropic's launch post highlighted results on SWE-bench Verified, a benchmark of real GitHub issues, and it became a default model in several AI code editors.
With tool use, the model could plan a sequence of steps (query a database, call an API, check the result, try again) and reason between them. Claude Code, released the same day, applied this to software tasks in the terminal.
The 200K window plus extended thinking suited tasks such as comparing clauses across contracts, reconciling figures in financial reports or reviewing compliance documents, where step-by-step reasoning reduces missed details.
Questions that combine policy rules, account data and exceptions benefit from thinking mode, while routine queries stay fast and cheap in standard mode.
No. Anthropic has retired it. Applications should move to a current Claude model, which supports extended thinking as well.
Standard mode answers directly. Extended thinking lets the model reason step by step first, within a token budget you set, which improves results on complex problems at higher cost and latency.
For its predecessor, see Claude 3.5 Sonnet for enterprise use and GPT-4o vs Claude 3.5 Sonnet. Compare model families in how GPT, Claude, Gemini and Mistral differ, and build your own agents with an agent SDK guide.