Back to Models

Claude Sonnet 4.5

anthropicanthropic/claude-sonnet-4.5

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.

API guide

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"}]}'

Extended thinking

Enable extended thinking via the reasoning parameter (low/medium/high) or by including a thinking budget in the request.

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":"Solve this step by step"}],"reasoning":{"effort":"high"}}'

Tool use / function calling

Sonnet 4.5 excels at long-horizon tool orchestration. Parallel tool calls are supported and recommended for maximum efficiency.

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":"List files in the repo"}],
  "tools":[{"type":"function","function":{"name":"list_files","description":"List files","parameters":{"type":"object","properties":{}}}}]
}'
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