Claude Sonnet 4.5 API pricing

The 2025 Sonnet workhorse; huge installed base.

VisionTool callingReasoningPrompt cachingPDF input

Input

$3.00

per 1M tokens

Cached input

$0.30

per 1M tokens

Cache write

$3.75

per 1M tokens

Output

$15.00

per 1M tokens

Context window

200K

max output 64K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

Pricing notes

  • Cache writes $3.75/1M (5m) or $6.00/1M (1h); batch $1.50/$7.50. 200K context.

What would Claude Sonnet 4.5 cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Claude Sonnet 4.5
ModelInputCached inputOutputPer requestMonthly
Claude Sonnet 4.5$1,800$120$3,750$0.011$5,670
Rates used: Claude Sonnet 4.5 $3.00 in / $15.00 out

More from Anthropic

Tracking Claude Sonnet 4.5 in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.