Claude Sonnet 4.5 API pricing
As of 7 October 2026, Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens, and scores 71.3% on coding benchmarks (best of Aider polyglot and SWE-bench Verified).
Prices updated 7 October 2026
At a glance
As of 7 October 2026, Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens, and scores 71.3% on coding benchmarks (best of Aider polyglot and SWE-bench Verified).
Claude Sonnet 4.5 price by host
The same model weights are served by 2 providers. Prices are USD per 1M tokens; the cheapest output price is highlighted.
| Provider | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Anthropic | $3.00 | $15.00 | 1M |
| Perplexity | $3.00 | $15.00 | — |
Coding via Aider polyglot & SWE-bench Verified; reasoning & math via Epoch AI.
Cheaper alternatives to Claude Sonnet 4.5
Models with an equal-or-better coding score at a lower output price. StackSpend surfaces swaps like these against your actual usage.
- How much does the Claude Sonnet 4.5 API cost?
- As of 7 October 2026, Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens, and scores 71.3% on coding benchmarks (best of Aider polyglot and SWE-bench Verified).
- What's the cheapest way to run Claude Sonnet 4.5?
- Claude Sonnet 4.5 is served by 2 hosts. The lowest output price is $15.00 per 1M tokens via Anthropic — the same weights, so switching host is a like-for-like saving.
- Is there a cheaper model as good as Claude Sonnet 4.5 for coding?
- Yes — google/gemini-2.5-pro (DeepInfra) scores 83.1% on coding at $10.00 per 1M output tokens, below Claude Sonnet 4.5's $15.00.