Stack Spend

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.

ProviderInput / 1MOutput / 1MContext
Anthropic$3.00$15.001M
Perplexity$3.00$15.00—
Coding: 71.3%Reasoning: 73.7%Math: 35.6%

Coding via Aider polyglot & SWE-bench Verified; reasoning & math via Epoch AI.

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.

Know what you're really spending on Claude Sonnet 4.5.

StackSpend connects read-only to your AI providers, normalises every model into one daily signal, and flags cheaper equal-quality swaps from this same dataset.