Anthropic API Pricing in 2026

Complete 2026 Anthropic API price list: every model, every token type, plus batch and cache discounts.

🔥 Launch tonight — Power Prompts PDF 50p (just 50p tonight)30 battle-tested Claude Code prompts · 8 pages · paste into CLAUDE.md · price reverts to £5

The complete Anthropic API price list for 2026, plus the four discount mechanisms that change the effective rate.

Standard pricing (per million tokens)

ModelInputOutputCache write 5mCache read
Claude Opus 4.7$15$75$18.75$1.50
Claude Sonnet 4.6$3$15$3.75$0.30
Claude Haiku 4.5$1$5$1.25$0.10

Discounts

Image / vision pricing

Image inputs are billed as input tokens at a per-image rate that scales with resolution. A typical 1024×1024 image is ~1,200 tokens.

Estimate

The Claude Cost Calculator models all of these in a single form.

Frequently asked questions

What are the Anthropic API prices for 2026?
Claude Opus 4.7: $15/M input, $75/M output. Claude Sonnet 4.6: $3/M input, $15/M output. Claude Haiku 4.5: $1/M input, $5/M output. All models support prompt caching (10% of input on reads) and the Batch API (50% off).
How are image inputs priced in the Anthropic API?
Images are billed as input tokens. A typical 1024×1024 image costs roughly 1,200 tokens at the model's standard input rate. Higher resolution images cost proportionally more. The exact token count is returned in the API response.
Does Anthropic charge for API calls that return errors?
Generally no — failed requests (authentication errors, rate limits, validation errors) are not billed. If the model starts generating a response and the connection drops mid-stream, partial tokens may be billed. Check the Anthropic usage dashboard to see exactly what is counted.

Free tools

Cost Calculator → Prompt-Pricing Recommender → Diff Summarizer → Skills Browser →

Related

Claude Opus 4.7 vs Sonnet 4.6 Pricing (2026 Comparison)How Much Does Claude Cost? (2026 API Pricing Guide)Claude Prompt Caching: 90% Cost Savings Explained (2026)Claude API Cost Calculator: Estimate Your Anthropic BillClaude vs GPT-4 Pricing: 2026 API Cost Comparison