Anthropic API pricing — every model compared

Last verified

Every Anthropic model with current API pricing, in dollars per million tokens. Verified against Anthropic's own documentation and dated.

All Anthropic models

ModelInputOutputCached inOut:in
Claude Haiku 3.5 (retired)$0.80$4.00$0.085.0×
Claude Haiku 4.5$1.00$5.00$0.105.0×
Claude Sonnet 5$2.00$10.00$0.205.0×
Claude Sonnet 4.6$3.00$15.00$0.305.0×
Claude Sonnet 4.5$3.00$15.00$0.305.0×
Claude Opus 5$5.00$25.00$0.505.0×
Claude Opus 4.8$5.00$25.00$0.505.0×
Claude Opus 4.7$5.00$25.00$0.505.0×
Claude Opus 4.6$5.00$25.00$0.505.0×
Claude Opus 4.5$5.00$25.00$0.505.0×
Claude Fable 5$10.00$50.00$1.005.0×
Claude Opus 4.1 (deprecated)$15.00$75.00$1.505.0×

The spread

Across Anthropic's current models, input pricing runs from $1.00 (Claude Haiku 4.5) to $10.00 (Claude Fable 5) per million tokens — a 10× range.

That range is the whole reason model selection matters more than prompt golfing. Moving a workload down a tier, where quality allows, changes the bill by a multiple. Shortening a prompt changes it by a percentage.

Reading these numbers

  • Output costs more than input on every model here — 5.0× to 5.0×. A workload that generates a lot is priced very differently from one that reads a lot.
  • Cached input is the biggest discount available. If your prompts share a stable prefix, structuring for cache hits is worth more than any model change short of a tier drop.
  • Token counts are not comparable across providers. Each tokenizes differently, so the same text is a different number of tokens on Anthropic than elsewhere. Cross-provider price comparisons carry a margin of error.

Getting your actual spend

These are list prices. For what you are really being billed, read Anthropic's billing API — an admin key is what that takes.

Source

Verified against Anthropic's pricing documentation. Each model page carries its own verification date.