claude-sonnet-4-6
Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with...
Pricing
| Input price | $0.83 / 1M tokens |
| Output price | $4.16 / 1M tokens |
| Context window | 200K tokens |
| Compatible endpoints | anthropic, openai |
| Vendor | Anthropic |
Call claude-sonnet-4-6 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-6",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
How much does claude-sonnet-4-6 cost per 1M tokens?
Input is priced at $0.83 per 1M tokens, output at $4.16 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access claude-sonnet-4-6 via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=claude-sonnet-4-6. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of claude-sonnet-4-6?
claude-sonnet-4-6 supports a context window of 200K tokens, shared between your prompt and the model's response.
Similar models
Try claude-sonnet-4-6 now
Create an API key and start making requests in under a minute.