Back to Models

Claude Sonnet 4.5

anthropicanthropic/claude-sonnet-4.5

Claude Sonnet 4.5 is our most capable model to date for building real-world agents and handling complex, long-horizon tasks–balancing the right speed and cost for high-volume use cases: Long-running agents: Power production-ready assistants for multi-step, real-time applications—from customer support automation to complex operational workflows that require peak accuracy, intelligence, and speed. Coding: Handle everyday development tasks with enhanced performance––or plan and execute complex software projects spanning hours or days––with the ability to save, maintain, and reference information across multiple sessions. Cybersecurity: Deploy agents that autonomously patch vulnerabilities before exploitation––shifting from reactive detection to proactive defense. Financial analysis: Conduct entry-level financial analysis, deliver advanced predictive analysis, or preemptively develop intelligent risk management strategies that leverage best-in-class domain knowledge. Computer use: Claude Sonnet 4.5 is our most accurate model for computer use, enabling developers to direct Claude to use computers the way people do. Research: Perform focused analysis across multiple data sources, turning expert analysis into final deliverables. Ideal for complex problem solving, rapid business intelligence, and real-time decision support.

Claude Sonnet 4.5, released September 29 2025, is Anthropic's best-in-class coding and agent model at the mid-tier price point. It delivers state-of-the-art SWE-bench Verified performance (77.2 % with simple scaffold, 82.0 % with high compute) and leads computer-use benchmarks at 61.4 % on OSWorld, all while retaining the $3/$15 per million token pricing of Sonnet 4.

From a TheRouter operator perspective the most important operational improvements are dramatically better long-horizon coherence (30+ hours of autonomous coding reported), parallel tool execution that maximises actions per context window, and the same manual extended-thinking interface as the rest of the Claude 4 generation. Anthropic now marks Sonnet 4.5 as a legacy model: it remains active with retirement not sooner than September 29 2026, but the current Sonnet migration target is Claude Sonnet 5.

Best for
  • • Complex, long-horizon coding agents that must sustain coherence across massive codebases for 10-30+ hours
  • • Computer-use and browser-automation workflows (spreadsheets, web navigation, form filling) where OSWorld-level accuracy matters
  • • High-volume production coding assistants (Cursor, GitHub Copilot, internal dev tools) that need frontier coding at Sonnet pricing
  • • Security, finance, and legal agent deployments that require both high capability and strong alignment (ASL-3, low prompt-injection success)
Reach for something else if
  • • Ultra-low-latency classification or chat — extended thinking adds latency; route to Haiku 4.5 or Sonnet 5
  • • New workloads — Sonnet 4.5 is legacy with retirement due September 29 2026; start new projects on Claude Sonnet 5 instead

How TheRouter serves this differently from the vendor

As the vendor operates it

Anthropic serves Claude Sonnet 4.5 through its native Messages API as a legacy but active Claude model, with model id claude-sonnet-4-5-20250929, 200 k context, 64 k max output, $3/$15 per million input/output tokens, and manual extended thinking rather than the newer effort parameter.

On TheRouter

TheRouter exposes the model as anthropic/claude-sonnet-4.5 on the OpenAI-compatible /v1/chat/completions path. Operational catalog fields currently advertise a 1 M context window and reasoning parameter support, so production users should validate long-context and reasoning behavior on the live route before assuming Anthropic-native semantics.

Context Length
1M
Max Output
64K
Input Priceper 1M tokens
$3.24/ 1M tokens
Output Priceper 1M tokens
$16.20/ 1M tokens

Modalities

textimagepdf→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Input$3.24 / 1M tokens
Output$16.20 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

Release date2025-09-29www.anthropic.com ↗verified
Anthropic model idclaude-sonnet-4-5-20250929platform.claude.com ↗verified
Training cutoffJuly 2025; reliable knowledge cutoff January 2025platform.claude.com ↗verified
Context window200 k in Anthropic's first-party documentation; TheRouter catalog currently lists 1 Mplatform.claude.com ↗verified
Max output tokens64 000platform.claude.com ↗verified
Reasoning modesExtended thinking; effort parameter is not supported on Anthropic's native API for this modelplatform.claude.com ↗verified
DeploymentClaude API, Amazon Bedrock, Google Cloud Vertex AI, Microsoft Foundry, Claude Platform on AWSplatform.claude.com ↗verified
LicenseAnthropic Usage Policy (proprietary, API-only)verified

Benchmarks

BenchmarkDistributionScoreSource
SWE-bench Verified
Simple scaffold, 200 k context, no test-time compute, averaged over 10 trials. High-compute parallel sampling reaches 82.0 %.
77.2%%www.anthropic.com ↗
OSWorld
Computer-use benchmark; 100 max steps, OSWorld-Verified framework, averaged across 4 runs. Sonnet 4 was 42.2 %.
61.4%%www.anthropic.com ↗
Terminal-Bench
Reported internally; methodology uses Terminus 2 agent framework with XML parser.
Not publicly disclosedwww.anthropic.com ↗
AIME
Reported with sampling at temperature 1.0 and 64 k reasoning tokens for Python configuration.
Not publicly disclosedwww.anthropic.com ↗

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "anthropic/claude-sonnet-4.5",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-4.5","messages":[{"role":"user","content":"Hello"}]}'

More from anthropic

Similar models

Cross-provider sibling models

News & changes

2026-07-31

GitHub Copilot announces Claude Sonnet 4.5 deprecation effective September 1 2026

GitHub's August 2026 model-deprecation changelog announced removal of Claude Sonnet 4.5 from all GitHub Copilot experiences starting September 1 2026, directing users toward newer Anthropic models. This mirrors Anthropic's own legacy designation for the model ahead of its September 29 2026 tentative retirement date on the direct API.

re-authored by TheRoutergithub.blog/changelog ↗
2025-09-29

Claude Sonnet 4.5 released — new SOTA on SWE-bench Verified and OSWorld

Anthropic launches Sonnet 4.5 at the same $3/$15 price as Sonnet 4, achieving 77.2 % SWE-bench Verified (82.0 % high compute) and 61.4 % OSWorld. Early customers report 30+ hour autonomous coding sessions and major gains in long-context agent reliability.

re-authored by TheRouteranthropic.com/news ↗

Frequently asked

Is Sonnet 4.5 worth upgrading from Sonnet 4 on TheRouter?

Yes for any workload involving long-horizon agents, computer use, or complex multi-step coding. The gains in coherence (30+ hours), OSWorld (+19.2 pp), and internal editing accuracy (9 % → 0 % error) are substantial while pricing and API surface remain identical.

re-authored by TheRouterwww.anthropic.com ↗
Does Sonnet 4.5 require the 1 M context beta or can I stay on 200 k?

Anthropic's current model page lists Claude Sonnet 4.5 at 200 k context and does not present it as a native 1 M model. TheRouter's catalog currently advertises 1 M, so treat that as a route-level serving difference that must be verified before production workloads above 200 k tokens.

re-authored by TheRouterplatform.claude.com ↗
Should new Sonnet workloads still start on Sonnet 4.5?

Usually no. Sonnet 4.5 is still active, but Anthropic marks it legacy and points users toward Claude Sonnet 5 for improved performance, 1 M context, 128 k output, adaptive thinking, and lower base pricing. Keep Sonnet 4.5 mainly for pinned regressions or compatibility testing.

re-authored by TheRouterplatform.claude.com ↗
Fact ledger — every claim on this page traces here
sourceURLretrieved
Release datewww.anthropic.com ↗2026-05-25verified
Anthropic model idplatform.claude.com ↗2026-09-19verified
Training cutoffplatform.claude.com ↗2026-09-19verified
Context windowplatform.claude.com ↗2026-09-19verified
Max output tokensplatform.claude.com ↗2026-09-19verified
Reasoning modesplatform.claude.com ↗2026-09-19verified
Deploymentplatform.claude.com ↗2026-09-19verified
License——verified
SWE-bench Verifiedwww.anthropic.com ↗2026-05-25verified
OSWorldwww.anthropic.com ↗2026-05-25verified
Terminal-Benchwww.anthropic.com ↗2026-05-25to verify
AIMEwww.anthropic.com ↗2026-05-25to verify
GitHub Copilot announces Claude Sonnet 4.5 deprecation effective September 1 2026github.blog/changelog ↗2026-09-19verified
Claude Sonnet 4.5 released — new SOTA on SWE-bench Verified and OSWorldanthropic.com/news ↗2026-05-25verified
Is Sonnet 4.5 worth upgrading from Sonnet 4 on TheRouter?www.anthropic.com ↗2026-05-25to verify
Does Sonnet 4.5 require the 1 M context beta or can I stay on 200 k?platform.claude.com ↗2026-09-19to verify
Should new Sonnet workloads still start on Sonnet 4.5?platform.claude.com ↗2026-09-19to verify
Help & contact