Anthropic API
The Anthropic API provides programmatic access to Anthropic's Claude family of large language models.
Verified
Our verdict
Direct API access to Claude models, with a cheap small model for high-volume tasks and stronger models for coding and agents.
Best for
- ✓ Coding and agent workloads
- ✓ Long-context tasks
Watch out for
- ! Haiku prices rise for prompts over 100K tokens
Pricing
Read from the official pricing page. Prices in USD; always confirm on the vendor's site.
| Plan | Price | Details |
|---|---|---|
| Claude Sonnet 5.5 | $0 + usage | $2 per 1M input tokens, $10 per 1M output tokens |
| Claude Haiku 5.5 | $0 + usage | Prompts up to 100K tokens: $0.10 per 1M input, $0.50 per 1M output; prompts over 100K tokens: $0.50 per 1M input, $2.50 per 1M output |
| Claude Opus 5.5 | $0 + usage | $4 per 1M input tokens, $20 per 1M output tokens |
Note: anthropic.com/pricing redirects to claude.com/pricing; prices read from its 'Latest models' API table. Prompt caching and batch discounts not captured.