Claude Sonnet 5 API pricing

Anthropic's mid-size Claude 5 model — the price/performance default.

VisionTool callingReasoningPrompt cachingPDF input

Input

$2.00

per 1M tokens

Cached input

$0.20

per 1M tokens

Cache write

$2.50

per 1M tokens

Output

$10.00

per 1M tokens

Context window

1M

max output 125K

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 $2.50/1M (5m) or $4.00/1M (1h); batch $1.00/$5.00. 1M-token context at standard rates.

What would Claude Sonnet 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 5
ModelInputCached inputOutputPer requestMonthly
Claude Sonnet 5$1,200$80.00$2,500$0.00756$3,780
Rates used: Claude Sonnet 5 $2.00 in / $10.00 out

Compare Claude Sonnet 5

More from Anthropic

Tracking Claude Sonnet 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.