Claude Sonnet 4.5 API pricing
Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on this gateway, with a 200K token context window. You reach it with the same key and the same OpenAI-compatible base URL as every other model in the catalogue.
Last updated: October 2026- Input / 1M tokens
- $3.00
- Output / 1M tokens
- $15.00
- Context window
- 200K
- Vendor
- Anthropic
What does Claude Sonnet 4.5 cost per request?
A typical request of 5,000 input tokens and 1,500 output tokens costs about $0.037 at list price. A thousand of those requests costs about $37.50.
| Workload | Tokens | Cost at list price |
|---|---|---|
| Single chat turn | 5K in / 1.5K out | $0.037 |
| 1,000 chat turns | 5M in / 1.5M out | $37.50 |
| Small production month | 10M in / 2M out | $60.00 |
| Busy production month | 100M in / 20M out | $600 |
Model usage is drawn from your balance at the upstream list price of each model. Figures above are indicative and exclude any plan fee; the console is the source of truth for live pricing.
Where Claude Sonnet 4.5 fits
Claude Sonnet 4.5 sits in the middle of the Anthropic range at $3.00 per 1M input tokens, and it is the model most Claude Code users keep as their default.
Pick it when
- You are running an Anthropic-style coding agent and want one model for both planning and editing.
- You want stronger instruction-following on long documents than a small model gives you, without Opus pricing.
- Your workload mixes chat, code and tool calls, and you would rather not split models by task type.
What to watch
- At $15.00 per 1M output tokens it costs five times what GPT-5 mini costs, so it rewards workloads with short answers.
- The 200K context window is smaller than the 400K and 1M windows elsewhere in the catalogue, so very large inputs need chunking or a different model.
Best for: Claude Code sessions, long-document editing and tool-calling agents that need reliable instruction following.
How to call Claude Sonnet 4.5 through the gateway
Point your client at https://api.quickrouter.homes/v1 with a QuickRouter key and pass claude-sonnet-4-5 as the model name. Nothing else in an OpenAI-style client changes.
curl https://api.quickrouter.homes/v1/chat/completions \
-H "Authorization: Bearer sk-qr-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5",
"messages": [{"role": "user", "content": "Hello"}]
}'The console lists the model ids your key can reach - use the id exactly as it appears there.
Frequently asked questions
How much does Claude Sonnet 4.5 cost?+
List price on this gateway is $3.00 per 1M input tokens and $15.00 per 1M output tokens, with a 200K token context window.
How do I use it in Claude Code?+
Set ANTHROPIC_BASE_URL to the gateway host and pin ANTHROPIC_MODEL to claude-sonnet-4-5. The step-by-step walkthrough is in the Claude Code guide.
Can I call Sonnet 4.5 from an OpenAI-style SDK?+
Yes. Request the model name from the OpenAI-compatible endpoint and the gateway routes it to Anthropic upstream.
One key covers every model in this guide
Create an account, pick a plan and copy an API key. Gateway plans start at $19 per month and model usage is billed at upstream list prices.