Anthropic API Pricing, Models & Rate Limits (2026)
Anthropic trains the Claude family, built around a Messages API and, more recently, extended-thinking reasoning modes on its top-tier models. Claude Fable 5 is the current flagship, with Opus, Sonnet, and Haiku tiers trading intelligence for cost and speed below it.
Models and prices
| Model | Input /M | Output /M | Blended /M |
|---|---|---|---|
| Claude Haiku 4.5 | $1.00 | $5.00 | $2.00 |
| Claude Sonnet 4.6 | $3.00 | $15.00 | $6.00 |
| Claude Opus 4.8 | $5.00 | $25.00 | $10.00 |
| Claude Fable 5 | $10.00 | $50.00 | $20.00 |
7 legacy Anthropic models
| Claude Sonnet 4.5 | $6.00/M blended |
| Claude Sonnet 4 | $6.00/M blended |
| Claude Opus 4.7 | $10.00/M blended |
| Claude Opus 4.6 | $10.00/M blended |
| Claude Opus 4.5 | $10.00/M blended |
| Claude Opus 4.1 | $30.00/M blended |
| Claude Opus 4 | $30.00/M blended |
Speed
Fastest measured Anthropic model is Claude Haiku 4.5 at 148 tokens/sec (260ms TTFT), median across measured Anthropic models is 67 tokens/sec. See the full speed benchmark methodology.
Operational facts
Verified 2026-08-08 against source.
| OpenAI-compatible | Partial |
| API base URL | https://api.anthropic.com/v1 |
| Auth model | x-api-key header |
| Prompt caching | Yes |
| Batch discount | 50% |
| Free tier | None |
| Rate-limit model | Usage tiers 1-4, auto-promoted by spend |
| Data residency | Not documented |
| Trains on API data | No |
| SLA published | Yes |
Lifecycle
Anthropic has 7 legacy models still routable. Full dates and successors on the model deprecation tracker.
Switching to and from Anthropic
Calling Anthropic through All AI Ask
Calling Anthropic directly means adapting client code away from the plain OpenAI request shape — our gateway removes that: every model, including Anthropic's, is called the same way.
curl https://allaiask.com/api/v1/chat \
-H "Authorization: Bearer $ALLAIASK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-haiku-4-5", "messages": [{"role": "user", "content": "Hello"}]}'FAQ
Is Anthropic OpenAI-compatible?
Partially. Anthropic publishes an OpenAI-compatible mode for some endpoints, but not a full 1:1 replacement for its native API — check https://docs.anthropic.com before relying on it for every feature you use.
Does Anthropic support prompt caching?
Yes, as of 2026-08-08 — see https://docs.anthropic.com for the current mechanics and discount.
Does Anthropic have a free tier?
No published free tier as of 2026-08-08 — billing starts from the first request.
How much does the Anthropic API cost?
Current Anthropic models range from $2.00 to $20.00 per million blended tokens (3:1 input:output). Full per-model pricing is in the table below.
Where is Anthropic API data hosted?
Not documented as of 2026-08-08 — no published data-residency commitment found for Anthropic.
