Claude Sonnet 4.5
How TheRouter serves this differently from the vendor
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.
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 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 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 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
| source | URL | retrieved | |
|---|---|---|---|
| Release date | www.anthropic.com β | 2026-05-25 | verified |
| Anthropic model id | platform.claude.com β | 2026-09-19 | verified |
| Training cutoff | platform.claude.com β | 2026-09-19 | verified |
| Context window | platform.claude.com β | 2026-09-19 | verified |
| Max output tokens | platform.claude.com β | 2026-09-19 | verified |
| Reasoning modes | platform.claude.com β | 2026-09-19 | verified |
| Deployment | platform.claude.com β | 2026-09-19 | verified |
| License | β | β | verified |
| SWE-bench Verified | www.anthropic.com β | 2026-05-25 | verified |
| OSWorld | www.anthropic.com β | 2026-05-25 | verified |
| Terminal-Bench | www.anthropic.com β | 2026-05-25 | to verify |
| AIME | www.anthropic.com β | 2026-05-25 | to verify |
| GitHub Copilot announces Claude Sonnet 4.5 deprecation effective September 1 2026 | github.blog/changelog β | 2026-09-19 | verified |
| Claude Sonnet 4.5 released β new SOTA on SWE-bench Verified and OSWorld | anthropic.com/news β | 2026-05-25 | verified |
| Is Sonnet 4.5 worth upgrading from Sonnet 4 on TheRouter? | www.anthropic.com β | 2026-05-25 | to verify |
| Does Sonnet 4.5 require the 1 M context beta or can I stay on 200 k? | platform.claude.com β | 2026-09-19 | to verify |
| Should new Sonnet workloads still start on Sonnet 4.5? | platform.claude.com β | 2026-09-19 | to verify |