Skip to main content
Skip to main content

Claude Sonnet 5

Claude Sonnet 5 is Anthropic's most agentic mid-tier model - and the one most people actually use, since it became the default for Claude Free and Pro users at launch. It plans, calls browser and terminal tools, and runs autonomously, with performance approaching Opus 4.8 in agentic coding, multidisciplinary reasoning, and computer use - at Sonnet-tier pricing.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:AnthropicPrice: $1.4 / 1M input tokens

Claude Sonnet 5: Model Introduction & Practical Guide

Claude Sonnet 5 is Anthropic's most agentic mid-tier model - and the one most people actually use, since it became the default for Claude Free and Pro users at launch. It plans, calls browser and terminal tools, and runs autonomously, with performance approaching Opus 4.8 in agentic coding, multidisciplinary reasoning, and computer use - at Sonnet-tier pricing.

Here's the short version: Sonnet 5 is the model that made "mid-tier" stop meaning "compromise." SWE-bench Pro lands at 63.2%, Terminal-Bench 2.1 at 80.4%, OSWorld-Verified at 81.2% (near Opus 4.8), Humanity's Last Exam at 43.2% without tools and 57.4% with them, and GDPval-AA v2 at 1618. A five-level effort control (low → max) tunes the cost/quality trade per request, and Anthropic's alignment work reduced hallucination rates, sycophancy, and prompt-injection susceptibility versus Sonnet 4.6. The trade-offs: the updated tokenizer produces 1.0-1.35x more tokens for the same text (changing cost math for cached prompt libraries), the absolute frontier still belongs to Opus 5 and Fable 5, and the browser-search capability, while improved, trails the leaders.

This guide covers model overview, core features, technical specifications, capability comparison, core advantages, recommended use cases, example prompts, and selection recommendations.


Quick Facts

AttributeValue
Model nameClaude Sonnet 5
DeveloperAnthropic
CategoryAgentic mid-tier model
PositioningNear-Opus-4.8 agentic capability at Sonnet pricing
Key benchmarksSWE-bench Pro 63.2% · Terminal-Bench 2.1 80.4% · OSWorld-Verified 81.2% · HLE 43.2%/57.4% (no tools/tools) · GDPval-AA v2 1618
Effort levelslow / med / high / xhigh / max
Default statusClaude Free and Pro default model
TokenizerUpdated - produces ~1.0-1.35x tokens for the same text
Caching5-minute and 1-hour cache write options
AccessClaude web/app, API (claude-sonnet-5), Claude Code, enterprise consoles

Table of Contents

  1. Model Overview
  2. Core Features
  3. Technical Specifications
  4. Capability Comparison
  5. Core Advantages
  6. Recommended Use Cases
  7. Example Prompts
  8. Selection Recommendations
  9. FAQ
  10. Sources & Further Reading

1. Model Overview

Anthropic positioned Sonnet 5 as the strongest agentic model in the Sonnet line: it formulates plans, invokes browser and terminal tools, and executes autonomously, with benchmark results approaching Opus 4.8 in exactly the domains that matter for agent work. That capability profile - combined with Sonnet-tier economics - is why it became the default for Free and Pro users immediately.

The technical foundation is adaptive reasoning: rather than a fixed token budget, the model judges task complexity and allocates reasoning accordingly. On top of that sits a five-level effort parameter (low/med/high/xhigh/max) for explicit control over the cost/quality trade. Tool use is native and deep: browser operation for autonomous search and synthesis, terminal invocation for server administration and scripting, and graphical computer control (OSWorld-Verified 81.2%, close to Opus 4.8's level).

Two operational details deserve attention. First, the updated tokenizer produces roughly 1.0-1.35x more tokens for identical text - which matters for teams whose cost models assume historical token counts. Second, caching is flexible (5-minute and 1-hour write options), so prompt libraries with stable prefixes can offset some of that tokenizer drift. Safety improvements are also notable: lower hallucination rates, less sycophancy, and stronger prompt-injection resistance versus Sonnet 4.6 - the failure modes that matter most in autonomous agent deployments.

2. Core Features

Agentic coding. Complex software engineering with autonomous writing and debugging (SWE-bench Pro 63.2%).

Terminal operations. Command execution for server administration and scripting (Terminal-Bench 2.1: 80.4%).

Browser search. Autonomous web search and information synthesis, significantly improved over Sonnet 4.6.

Computer use. Graphical interface operation for complex cross-application tasks (OSWorld-Verified 81.2%).

Multidisciplinary reasoning. HLE 43.2% (no tools) / 57.4% (tools); GDPval-AA v2 1618 for knowledge work.

Five-level effort control. Low through max - explicit per-request cost/quality tuning on top of adaptive reasoning.

Improved safety alignment. Lower hallucination, sycophancy, and prompt-injection risk than Sonnet 4.6.

3. Technical Specifications

SpecificationDetail
ReasoningAdaptive (complexity-based) + 5-level effort parameter
Effort levelslow / med / high / xhigh / max
TokenizerUpdated; ~1.0-1.35x tokens vs prior for same text
Caching5-minute and 1-hour cache write options
VisionHigh-resolution image understanding
ToolsBrowser, terminal, computer use - natively integrated
AccessWeb/app (default Free/Pro), API, Claude Code, enterprise

Published benchmarks:

BenchmarkSonnet 5
SWE-bench Pro63.2%
Terminal-Bench 2.180.4%
OSWorld-Verified81.2%
HLE (no tools / tools)43.2% / 57.4%
GDPval-AA v21618

4. Capability Comparison

DimensionClaude Sonnet 5Claude Opus 5Gemini 2.5 Pro (reference)
TierMid (agentic)FrontierFlagship
SWE-bench Pro63.2%Higher (Frontier-Bench leader)~63-65% (estimates)
Terminal-Bench80.4% (native depth)HigherTool-call based
Computer use81.2% (verified)70.6% (OSWorld 2.0 variant)Limited
Effort control5 levels5 levelsThinking budget
Default statusFree/Pro defaultMax default—

Positioning read. Sonnet 5's value is the proximity to Opus-class agentic performance at the tier below - and its status as the default means most Claude users experience it as "Claude." The caveats are the tokenizer change (watch token budgets on legacy prompts) and the remaining frontier gap on the hardest reasoning and long-horizon work.

5. Core Advantages

  1. Agentic capability at mid-tier pricing. Near-Opus-4.8 results without the flagship bill.
  2. Self-directed execution. Plans, calls tools, checks its own output, and follows through to completion.
  3. Strong terminal and computer use. 80.4% and 81.2% respectively - deployment-ready automation.
  4. Five-level effort control. Explicit cost/quality tuning per request.
  5. Improved safety profile. Lower hallucination, sycophancy, and injection risk - critical for autonomy.
  6. Caching flexibility. 5-minute and 1-hour writes for stable-prefix cost management.
  • Software engineering agents: autonomous coding, debugging, and review.
  • Server and script automation: terminal-centric operations.
  • Browser research: autonomous search and synthesis workflows.
  • Computer-use automation: cross-application GUI tasks.
  • Knowledge work: reports, analysis, and structured deliverables.
  • Default organizational assistant: the tier everyone can use by default.

7. Example Prompts

1. Autonomous coding task

text
Effort: high. Implement the feature described in ISSUE-42: database
migration, API endpoint, validation, tests, and docs. Run the test suite
and iterate until passing. Summarize design decisions and any trade-offs.

2. Terminal operations

text
Diagnose why this service degrades under load: inspect logs, check
resource usage, profile the hot path, and propose a fix with
verification steps. You have terminal access.

3. Browser research

text
Research the current regulatory landscape for this product category in
three markets. For each market: key rules, enforcement trends, and
compliance costs - with sources and dates. Distinguish proposed from
enacted rules.

4. Computer-use workflow

text
Using the GUI: export the monthly report from the finance system,
apply the standard formatting template in the spreadsheet tool, and
file it in the shared drive folder. Log each step's outcome.

5. Knowledge deliverable

text
Turn these research notes into an executive brief: 1 page, three
findings, two recommendations, one risk with mitigation. Cite the
underlying notes for each claim.

8. Selection Recommendations

Choose Claude Sonnet 5 if:

  • You want agentic capability near Opus-class at Sonnet economics.
  • Your work spans coding, terminal, browser, and computer use.
  • You need per-request effort control for cost management.
  • You want the improved safety profile for autonomous deployments.
  • You want the default Claude experience (Free/Pro).

Upgrade to Opus 5 if:

  • Your tasks demand the frontier (hardest reasoning, longest autonomy).

Consider alternatives if:

  • You need open weights.
  • Your token budget models depend on historical tokenizer ratios - re-baseline before migrating.

Sources & Further Reading


Benchmarks are as published by Anthropic and third-party summaries. Tokenizer changes affect cost calculations - validate against current pricing before budgeting migrations.