Claude icon

Claude Sonnet 4.6

Sonnet 4.6Verified

Write better code and complete complex multi-step tasks at Opus-level intelligence — developers in Claude Code prefer Sonnet 4.6 over Sonnet 4.5 roughly 70% of the time Navigate spreadsheets, fill out multi-step web forms, and complete browser-based workflows with significantly improved computer use capabilities and stronger resistance to prompt injection attacks Process entire codebases, long contracts, or dozens of research papers in a single request with the new 1M token context window in beta

Reviewed by ToolWorthy Editors·updated 4 months ago

Pricing:From $10/per use
Visit Site
Newer version available·View latest
Jump to section

Featured alternatives

MakersClaw icon

MakersClaw

TypingMind icon

TypingMind

Doubao icon

Doubao

Z.ai icon

Z.ai

Slashy icon

Slashy

Odysseus icon

Odysseus

Pros & Cons

Editor-reviewed

Pros

  • Near Opus-level coding and reasoning at Sonnet pricing ($3/$15 per million tokens)
  • Major computer use improvements — significantly better performance on everyday office tasks
  • 1M token context window in beta for large codebase and document analysis
  • Major prompt injection resistance improvement vs Sonnet 4.5; performs similarly to Opus 4.6 in Anthropic safety evals
  • Now the default model on Claude.ai Free and Pro — no extra cost for existing users
  • Strong instruction following with fewer hallucinations across long agentic sessions

Cons

  • 1M token context window is still in beta — not yet production-ready for all use cases
  • Computer use still lags behind the most skilled humans on highly complex workflows
  • Extended thinking and compaction add latency for some real-time applications
  • Opus 4.6 remains the stronger choice for the deepest reasoning tasks (codebase refactoring, multi-agent coordination)

Overview

Claude Sonnet 4.6 is Anthropic's most capable Sonnet model to date, released on February 17, 2026. It closes the gap with Opus-tier performance across coding, computer use, and long-context reasoning — while keeping the same $3/$15 per million token pricing as Sonnet 4.5. For developers who previously needed to reach for an Opus-class model, Sonnet 4.6 now handles those workloads at a more practical price point. It also introduces a 1M token context window in beta and becomes the new default model on Claude.ai Free and Pro plans.

What's New

Coding: Closing the Gap with Opus

Claude Sonnet 4.6 delivers a significant jump in coding quality. In Claude Code, internal testing showed users preferred Sonnet 4.6 over Sonnet 4.5 roughly 70% of the time — and even preferred it over Opus 4.5 59% of the time. Developers report that Sonnet 4.6 reads context more effectively before modifying code, consolidates shared logic rather than duplicating it, and produces fewer false claims of success or hallucinations across long sessions.

On SWE-bench Verified, Sonnet 4.6 achieves 80.2% with a prompt modification (10-trial average per Anthropic's methodology), placing it among the top frontier models for real-world software engineering tasks. For Cursor, Replit, GitHub, and other agentic coding platforms, early evaluations confirm Sonnet 4.6 outperforms its predecessor on orchestration tasks, complex bug-fixing, and large codebase navigation.

Computer Use: Human-Level on Everyday Tasks

Anthropic first introduced computer use in October 2024. Sonnet 4.6 represents a major step forward on OSWorld, the standard benchmark for AI computer use that tests real software — Chrome, LibreOffice, VS Code, and more — without special APIs.

Early users report human-level capability on tasks like navigating complex spreadsheets or completing multi-step web forms across multiple browser tabs. Sonnet 4.6 also demonstrates major improvements in resisting prompt injection attacks (where malicious actors hide instructions in websites), performing similarly to Claude Opus 4.6 in safety evaluations.

1M Token Context Window (Beta)

Sonnet 4.6 introduces a 1 million token context window in beta — enough to hold entire codebases, lengthy legal contracts, or dozens of research papers in a single request. More importantly, Sonnet 4.6 reasons effectively across the full context, not just retrieving information but enabling long-horizon planning. This was demonstrated on Vending-Bench Arena, where Sonnet 4.6 developed a novel strategy: investing in capacity for the first ten simulated months, then pivoting sharply to profitability — and finishing well ahead of competing models.

Instruction Following & Reliability

Anthropic reports early users and partners found that Sonnet 4.6 requires fewer revision rounds to reach production quality. It is significantly less prone to overengineering and "laziness," and meaningfully better at following multi-step instructions without drift. Frontend outputs are notably more polished — multiple early access customers independently described visual outputs as having better layouts and design sensibility than previous models.

Extended Thinking & Context Compaction

On the Claude Developer Platform, Sonnet 4.6 supports both adaptive thinking and extended thinking. It also supports context compaction in beta, which automatically summarizes older context as conversations approach limits — increasing effective context length for long-running agentic tasks.

Pricing & Plans

Claude Sonnet 4.6 pricing remains unchanged from Sonnet 4.5:

Plan Price
API – Input $3 per million tokens
API – Output $15 per million tokens
Free (Claude.ai) Available — Sonnet 4.6 is now the default model
Pro (Claude.ai) Included — higher usage limits
Team / Enterprise Contact Anthropic for volume pricing

The free tier has been upgraded: it now includes file creation, connectors, skills, and compaction alongside Sonnet 4.6. For Claude in Excel users, MCP connectors are available on Pro, Max, Team, and Enterprise plans.

Note on 1M context pricing: The 1M token context window is in beta on the Claude Developer Platform only, and access depends on your organization's usage tier and custom limits. Input exceeding 200K tokens incurs long-context premium rates (approximately $6 input / $22.5 output per million tokens) instead of the standard $3/$15 rates.

Best For

  • Developers using Claude Code or API integrations who need near Opus-level code quality without Opus pricing
  • Teams automating enterprise software workflows with computer use (form filling, spreadsheet navigation, multi-tab browser tasks)
  • Researchers and analysts processing large document sets — contracts, papers, codebases — that require reasoning across the full context
  • Organizations building AI chatbot or agent products that previously required Opus for reliability
  • Frontend engineers who need polished UI/UX output with fewer revision cycles
  • Data and finance teams running complex multi-step reasoning tasks like document Q&A, contract routing, and CRM coordination

FAQ

How does Claude Sonnet 4.6 compare to Sonnet 4.5?

Sonnet 4.6 is a full upgrade over 4.5 across coding, computer use, long-context reasoning, agent planning, and design. In Claude Code, users preferred Sonnet 4.6 over Sonnet 4.5 roughly 70% of the time. Computer use on OSWorld shows consistent improvements. Pricing is unchanged at $3/$15 per million tokens.

Is the 1M token context window available to all users?

The 1M token context window is available in beta on the Claude Developer Platform (API) only, and requires your organization to have the appropriate usage tier or custom limits enabled. Input exceeding 200K tokens incurs long-context premium pricing (~$6/$22.5 per million tokens) rather than the standard $3/$15 rates. Anthropic recommends evaluating it for your use case before relying on it in production.

Can I use Claude Sonnet 4.6 for computer use tasks?

Yes. Sonnet 4.6 supports computer use and shows human-level capability on everyday tasks like spreadsheet navigation and multi-step web form completion. It also has significantly improved prompt injection resistance compared to Sonnet 4.5. See Anthropic's API docs for guidance on safe computer use deployments.

How does Sonnet 4.6 compare to AI code generator alternatives like GPT-5.3-Codex?

Both are strong options for agentic coding. Sonnet 4.6 achieves 80.2% on SWE-bench Verified (with prompt modification, per Anthropic) and is preferred by Claude Code users for consistency and instruction following. GPT-5.3-Codex targets computer-use tasks beyond coding. The best choice depends on your workflow and existing integrations.

When should I use Opus 4.6 instead of Sonnet 4.6?

Anthropic recommends Claude Opus 4.6 for tasks that demand the deepest reasoning — codebase refactoring, coordinating multiple agents in a workflow, and situations where getting it exactly right is paramount. For most coding, computer use, and long-context tasks, Sonnet 4.6 now approaches Opus-level performance at a lower cost.

Is Claude Sonnet 4.6 safe for enterprise use?

Anthropic ran extensive safety evaluations before release. Sonnet 4.6 has "a broadly warm, honest, prosocial, and at times funny character, very strong safety behaviors, and no signs of major concerns around high-stakes forms of misalignment." It also shows major improvement in prompt injection resistance for computer use. See Anthropic's system card for full safety evaluation details.

Version History

Fable 5

Released on June 9, 2026

View Update
+What's new
3 updates
  • Run the most demanding reasoning and long-horizon agentic work on Anthropic's most capable widely released model — one Fable 5 session compressed a 50M-line Ruby migration from two months of manual work into a single day
  • Stay focused across a 1M-token context window while solving complex vision problems end-to-end — including completing Pokémon FireRed from pixels alone — with persistent file-based memory that helped 3× more than it helped Opus 4.8 in Slay the Spire testing
  • Deploy with general-availability safeguards that fall back to Opus 4.8 on sensitive prompts in under 5% of sessions, priced at $10 per million input and $50 per million output tokens

Mythos 5

Released on June 9, 2026

View Update
+What's new
3 updates
  • Access Fable 5-level capability with safeguards lifted in some areas through Project Glasswing — the successor to Claude Mythos Preview, delivering the strongest cybersecurity capabilities of any model in the world
  • Accelerate scientific discovery with ~10× faster protein design (9 of 14 strong drug candidates) and autonomous single-cell genomics across 138 species, with novel hypotheses preferred by scientists ~80% of the time over Opus-class models
  • Access in limited availability only for approved cyberdefenders and infrastructure providers, with a trusted biology access program planned — same 1M-token context window and $10/$50 per-million-token pricing as Claude Fable 5

Opus 4.8

Released on May 28, 2026

View Update
+What's new
3 updates
  • Catch more issues with stronger honesty and judgment — Opus 4.8 is roughly 4× less likely than Opus 4.7 to let code flaws pass unremarked, and is the first model to break 10% all-pass on the Legal Agent Benchmark
  • Drive browser and computer-use agents further with 84% on Online-Mind2Web and more efficient tool-calling that reaches the same result in fewer steps across long agentic sessions
  • Upgrade from Opus 4.7 at the same $5/$25 per-million-token pricing, with better context retention and style consistency across extended sessions

Opus 4.7

Released on April 16, 2026

View Update
+What's new
3 updates
  • Handle harder production coding agents with stronger autonomy and instruction following — CursorBench rises from 58% to 70%, while Rakuten-SWE-Bench resolves 3× more production tasks than Opus 4.6
  • Analyze dense visual content like chemical diagrams, technical screenshots, and patents with 3× higher image resolution (up to 2,576 pixels) and XBOW visual acuity climbing from 54.5% to 98.5%
  • Tune reasoning effort with the new xhigh control level between high and max, giving teams finer latency/quality tradeoffs while instruction-following becomes more literal across tool use

Mythos Preview

Released on April 7, 2026

+What's new
3 updates
  • Discover zero-day vulnerabilities in major operating systems and web browsers autonomously — including a 27-year-old bug in OpenBSD — by applying frontier code reasoning to security-critical software analysis at scale
  • Construct multi-step exploit chains combining up to four vulnerabilities into functional attacks, including JIT heap sprays, ROP chains, privilege escalation, and remote code execution against fully patched targets
  • Achieve 181 successful Firefox JavaScript exploits versus 2 for Opus 4.6, with 595 crash discoveries and 10 full control-flow hijacks in OSS-Fuzz testing — capabilities that emerged from improvements in code reasoning rather than explicit security training

Mythos Preview

Released on April 7, 2026

View Update
+What's new
3 updates
  • Preview a gated frontier model for cybersecurity research, with Project Glasswing offering early access and major gains in zero-day discovery, exploit development, and reverse engineering
  • Analyze complex program behaviors and surface edge-case issues through multi-step reasoning workflows designed for research and testing environments
  • Improve automated code analysis performance in fuzzing and debugging scenarios, helping developers detect crashes and stability issues more efficiently

Sonnet 4.6

Current Version

Released on February 17, 2026

+What's new
3 updates
  • Write better code and complete complex multi-step tasks at Opus-level intelligence — developers in Claude Code prefer Sonnet 4.6 over Sonnet 4.5 roughly 70% of the time
  • Navigate spreadsheets, fill out multi-step web forms, and complete browser-based workflows with significantly improved computer use capabilities and stronger resistance to prompt injection attacks
  • Process entire codebases, long contracts, or dozens of research papers in a single request with the new 1M token context window in beta

Opus 4.6

Released on February 5, 2026

View Update
+What's new
3 updates
  • Plan and sustain complex agentic tasks for longer, operate more reliably in larger codebases, and catch more mistakes with improved code review and debugging skills for professional engineering workflows
  • Work with up to 1 million tokens in a single conversation — perfect for analyzing large document sets, long contracts, and extended multi-step agentic task sequences without hitting context limits
  • Achieve top scores on Terminal-Bench 2.0 agentic coding and Humanity's Last Exam, while outperforming frontier competitors by ~144 Elo points on economically valuable professional knowledge work

Opus 4.5

Released on November 24, 2025

+What's new
3 updates
  • Execute long-horizon agentic workflows with improved reasoning and planning — delivering higher pass rates on held-out tests while using up to 65% fewer tokens than earlier models for equivalent results
  • Apply frontier reasoning to everyday work tasks including deep research, multi-step code migrations, and creating slides and spreadsheets — meaningfully better at common professional knowledge work
  • Generate more reliable code solutions with better error handling and stronger self-correction, delivering 50–75% reductions in tool calling and build errors on complex automated engineering tasks

Haiku 4.5

Released on October 15, 2025

+What's new
3 updates
  • Run fast, low-cost coding and agent workloads with near-frontier intelligence, matching Sonnet 4 on coding, computer use, and agent tasks at lower cost
  • Power latency-sensitive customer support, classification, and sub-agent workflows with faster responses and stronger quality than earlier Haiku models
  • Use a current Haiku model across Claude.ai, Claude Code, API, Bedrock, Vertex AI, and Microsoft Foundry for high-volume workloads that need speed and cost control

Sonnet 4.5

Released on September 29, 2025

+What's new
3 updates
  • Balance intelligence and speed with near-Opus-level performance on coding, analysis, and writing at Sonnet pricing — making Opus-class capability accessible for everyday complex workloads at lower cost
  • Generate more accurate responses across coding, writing, and analytical tasks with improved reasoning that matches or exceeds predecessor models on most real-world professional benchmarks
  • Handle larger context windows efficiently while maintaining consistent response quality throughout long conversations — ideal for document-heavy workflows and extended agentic task sessions

Sonnet 4.5

Released on September 29, 2025

+What's new
3 updates
  • Balance intelligence and speed with Opus-level performance at Sonnet pricing for everyday complex tasks
  • Generate more accurate responses across coding, writing, and analytical work with improved reasoning
  • Handle larger context windows efficiently while maintaining consistent quality throughout conversations

Opus 4.1

Released on August 5, 2025

+What's new
3 updates
  • Upgrade Opus 4 coding and agent workflows with better real-world code changes, stronger reasoning, and 74.5% on SWE-bench Verified at the same Opus 4 pricing
  • Track details more reliably in deep research and data analysis, especially when following instructions across large codebases, files, and multi-step agentic searches
  • Improve multi-file refactors and everyday debugging by pinpointing exact corrections in large codebases without making unnecessary changes or introducing new bugs

Opus 4

Released on May 22, 2025

+What's new
3 updates
  • Run long-horizon coding agents for complex, multi-step software work, with Opus 4 leading SWE-bench and Terminal-bench and sustaining focused work over thousands of steps
  • Build more capable agents with new API features including code execution, MCP connector support, Files API, and improved tool use for multi-tool workflows
  • Use frontier reasoning for research, technical analysis, and enterprise workflows with the highest Claude 4 capability tier, while planning around Opus-class cost and ASL-3 safeguards

Sonnet 4

Released on May 22, 2025

+What's new
3 updates
  • Upgrade everyday coding and reasoning workflows from Sonnet 3.7 with stronger instruction following, better software engineering, and faster, lower-cost responses than Opus
  • Use the same Claude 4 platform features, including code execution, MCP connector support, Files API, and improved tool use, for practical agent and app-building workflows
  • Run production workloads at Sonnet pricing with a strong balance of speed, cost, and intelligence for coding assistants, document analysis, and multi-step business tasks

3.7 Sonnet

Released on February 24, 2025

+What's new
3 updates
  • Use one model for quick answers or extended thinking, with API controls over thinking budget so teams can trade latency, cost, and depth on harder reasoning tasks
  • Delegate coding work through the first Claude Code research preview, letting developers ask Claude from the terminal to inspect files, edit code, run tests, and fix bugs
  • Build stronger front-end and coding workflows at the same $3/$15 Sonnet pricing, with extended thinking available on paid Claude surfaces and major cloud platforms

3.5 Sonnet (Upgraded)

Released on October 22, 2024

+What's new
3 updates
  • Control computers, interact with software UIs, and automate desktop workflows through the first publicly available Claude computer use capability for agentic browser and desktop automation tasks
  • Write better code with significantly improved SWE-bench Verified scores versus the original 3.5 Sonnet, making it more reliable for real-world software engineering and complex programming tasks
  • Maintain strong vision and image input capabilities while delivering major improvements in coding quality and computer use for practical software engineering and workflow automation use cases

3.5 Haiku

Released on October 22, 2024

+What's new
3 updates
  • Get fast, cost-effective responses approaching higher-tier model performance for high-volume pipelines, customer support, and content moderation tasks at a fraction of the per-token cost
  • Process high-volume tasks at faster speeds than larger Claude models, enabling real-time customer support, content moderation, and classification pipelines without meaningfully sacrificing accuracy
  • Run fast coding, tool use, data extraction, and content-moderation workloads in a lightweight, budget-friendly 200K-context model — text-only in the Claude API — built for high-throughput production at scale

3.5 Sonnet

Released on June 21, 2024

+What's new
3 updates
  • Outperform Claude 3 Opus on complex tasks including coding and data analysis while maintaining the response speed and lower per-token cost that makes Sonnet practical for production-scale workflows
  • Generate high-quality code with graduate-level reasoning capabilities for sophisticated programming and analytical tasks, matching or exceeding the performance of previous-generation flagship models
  • Handle nuanced instructions across writing, summarization, and Q&A tasks while producing more natural, contextually appropriate responses compared to earlier Claude generations

3 Haiku

Released on March 13, 2024

+What's new
3 updates
  • Process tasks at lightning speed with near-instant response times — ideal for high-volume customer interactions, live chat support, and real-time classification pipelines where latency matters
  • Handle complex multi-step instructions across summarization, Q&A, and coding at a lower cost point than Claude 3 Sonnet while maintaining strong quality for most production use cases
  • Analyze images and documents quickly with multimodal vision capabilities, bringing image understanding to high-throughput workflows in a fast, resource-efficient production model

3 Opus

Released on March 4, 2024

+What's new
3 updates
  • Tackle the most complex reasoning, analysis, and writing tasks with the highest comprehension and fluency of the Claude 3 family — suited for research, legal, financial, and technical domains
  • Analyze images alongside text for comprehensive multimodal understanding, enabling visual Q&A, document extraction, and chart interpretation at the highest quality level in the Claude 3 lineup
  • Generate sophisticated content with improved accuracy, meaningfully fewer unnecessary refusals, and stronger instruction following for nuanced, long-form creative and analytical tasks

3 Sonnet

Released on March 4, 2024

+What's new
3 updates
  • Balance capability and cost with strong performance across writing, analysis, summarization, and coding — a reliable workhorse for most business and enterprise production workflows at scale
  • Process both text and images seamlessly with new multimodal understanding capabilities, enabling document analysis, visual Q&A, and image-grounded reasoning in a single API request
  • Generate reliable, consistent responses for data processing, customer support, and content creation workflows at scale — suited for both high-volume automated pipelines and direct user interactions

2.1

Released on November 21, 2023

+What's new
3 updates
  • Process up to 200K tokens — approximately 500 pages — in a single conversation, enabling comprehensive analysis of lengthy legal documents, research reports, and multi-chapter texts
  • Get more accurate responses with 2× fewer hallucinations than Claude 2.0 when analyzing complex, multi-source information, reducing the risk of fabricated facts in high-stakes professional workflows
  • Integrate Claude with external tools, databases, and APIs through the new beta tool use capability, enabling structured data retrieval and action execution in early agentic task workflows

2

Released on July 11, 2023

+What's new
3 updates
  • Handle longer conversations with a 100K token context window — enough to analyze entire books, lengthy legal documents, or multiple research papers in a single coherent session
  • Write better code with 71.2% performance on the Codex HumanEval benchmark, up from 56% in Claude 1.3, reflecting a meaningful jump in functional code generation and debugging capabilities
  • Receive safer responses with improved Constitutional AI training — approximately 2× reduction in harmful outputs compared to prior versions while maintaining helpfulness and response accuracy

1

Released on March 14, 2023

+What's new
3 updates
  • Access Anthropic's first publicly available AI assistant — built with Constitutional AI training to be helpful, honest, and harmless across conversational and text processing use cases
  • Engage in natural multi-turn conversations for summarization, search, creative writing, Q&A, and coding tasks — with Constitutional AI making responses more predictable and steerable for developers
  • Direct Claude's personality, tone, and behavior to fit your use case — Claude's design emphasizes steerability, allowing more precise customization than earlier AI systems of the same generation

Top alternatives

Related categories

From the blog

View all →

Track Claude in ToolWorthy Weekly

Important tool updates, better alternatives, and selected AI signals in one weekly brief.

Weekly only. Unsubscribe anytime.