Claude Sonnet 5
APIClaude Sonnet 5 is a language model from Anthropic with a 1M-token context window. Provider list price is $3 per million input tokens and $15 per million output; on Allocate you pay $3.21 and $16.05. It is a closed model served over API; the weights are not published.
Pricing
Prices checked 2026-07-21.
Price against its peers
Provider list prices per M tokens, Claude Sonnet 5 against its nearest language peers by price.
What a real workload costs
Take 1,000,000 requests a month at 1,200 input and 350 output tokens each: 1,200M input and 350M output tokens. At list prices that is 1,200 × $3 + 350 × $15 = $8,850 a month. Billed on Allocate it is $9,470.
Where it fits
Anthropic’s balanced flagship: careful reasoning with strong writing and judgment, and 1M tokens of context. The pick for customer-facing text where tone and safety carry real risk.
- Judgment calls with policy context
- Customer-facing writing
- Review and escalation flows
Claude Sonnet 5 is served over API. Route traffic to it by name, meter every token, and swap it out in one click when a better fit ships.
Example usage
Point a route at anthropic/claude-sonnet-5 and the endpoint never changes; swap the model behind it whenever you want.
curl https://api.allocate.network/v1/chat/completions \ -H "Authorization: Bearer $ALLOCATE_KEY" \ -d '{ "model": "anthropic/claude-sonnet-5", "messages": [{"role": "user", "content": "Summarise the attached contract."}] }'
Common questions
How much does Claude Sonnet 5 cost per million tokens?
Provider list price is $3 per million input tokens and $15 per million output tokens. On Allocate you pay $3.21 in and $16.05 out.
What context window does Claude Sonnet 5 have?
1,000,000 tokens (1M). At roughly 0.75 words per token, that is about 750k words of English text per request.
Can I fine-tune Claude Sonnet 5?
No. Claude Sonnet 5 is a closed model served over API; the weights are not published. If you want a model you can train and own, start from an open-weights base in the catalog and fine-tune that.
How do I call Claude Sonnet 5 on Allocate?
Send anthropic/claude-sonnet-5 in the model field of the OpenAI-compatible endpoint at api.allocate.network/v1, or point a route name (like prod/support-agent) at it so you can swap the model later without a deploy.