claude-sonnet-4-5
Claude Sonnet 4.5 is Anthropic’s most advanced Sonnet model to date, optimized for real-world agents and coding workflows. It delivers state-of-the-art performance on coding benchmarks such as SWE-bench Verified, with...
Performance
Pricing
| Input price | $1.62 · 1M tokens |
| Output price | $8.10 · 1M tokens |
| Context window | 200K tokens |
| Compatible endpoints | anthropic, openai |
| Vendor | Anthropic |
Call claude-sonnet-4-5 from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
How much does claude-sonnet-4-5 cost per 1M tokens?
Input is priced at $1.62 per 1M tokens, output at $8.10 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access claude-sonnet-4-5 via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=claude-sonnet-4-5. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of claude-sonnet-4-5?
claude-sonnet-4-5 supports a context window of 200K tokens, shared between your prompt and the model's response.
Similar models
Try claude-sonnet-4-5 now
Create an API key and start making requests in under a minute.