Complete 2026 Anthropic API price list: every model, every token type, plus batch and cache discounts.
The complete Anthropic API price list for 2026, plus the four discount mechanisms that change the effective rate.
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.
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.