Skip to content
StackPick

Anthropic API

Claude models via API. The pair to Claude Code.

Last reviewed

Last updated

Anthropic API is #1 of 6 in LLM APIs and model providers. Editorial score 8.3: Ease 8, Power 9, Price 6, Vibe-coder fit 9. Initial editorial estimate. Not a measured benchmark.

Who it is for Calling Claude from your own product.LLM APIs and model providers: The model behind the feature.

The Anthropic API serves Claude models for chat, tool use, and long context. Use it when the product should call Claude, or when you are already building with Claude Code and want the same model family in production. Billing is usage-based. Rates: check site.

What shipped in Anthropic API

Best use cases

  • Agents and coding features that need a strong model
  • Long prompts and tool use
  • A production API next to Claude Code

Pros

  • + Claude is a default choice for coding and careful tool use
  • + The API is straightforward to call from the AI SDK and most frameworks
  • + Usage-based, so there is no seat fee for the API itself

Who should skip it

Skip Anthropic API when one of these listed limits is the constraint.

  • − You are on one lab's roadmap and rate limits
  • − Rates: check site

All comparisonsAll best-of lists

Pricing

Usage-based

Anthropic API is listed as Usage-based. Usage-based. Token rates: check site.

Alternatives to Anthropic API

All alternatives to Anthropic API

Listed alternatives: OpenAI API, Gemini API, OpenRouter. OpenAI API is listed for “The model API most libraries already speak”. Gemini API is listed for “A capable model API with a free starting quota”. OpenRouter is listed for “Switching models without switching SDKs”.

Also in LLM APIs and model providers: Groq, Mistral.

LLM APIs and model providers

8.0

OpenAI API

The default model API. GPT models, tools, and a platform console.

Best for The model API most libraries already speak

Usage-basedDetails

LLM APIs and model providers

7.6

Gemini API

Google's Gemini models, with a free tier that moves.

Best for A capable model API with a free starting quota

Usage-basedDetails

LLM APIs and model providers

7.9

OpenRouter

One API key for many models, including labs and open weights.

Best for Switching models without switching SDKs

Usage-basedDetails

Release notes

Release history
  1. Anthropic API

    Claude Opus 4.5 deprecated

    On November 23, 2026, Anthropic deprecated Claude Opus 4.5 (claude-opus-4-5-20251101 and claude-opus-4-5). Retirement on the Claude API is scheduled for January 22, 2027. The recommended replacement is Claude Opus 5.5.

    Source for Claude Opus 4.5 deprecated (opens in a new tab)
  2. Anthropic API

    Enterprise Frontier Safeguards

    On November 23, 2026, Anthropic launched Enterprise Frontier Safeguards (EFS) in beta on Claude Platform, Claude Platform on AWS, and Claude Models on Google Cloud (Anthropic managed). For eligible organizations using Claude's most capable models, Anthropic does not retain prompts and responses. Encrypted copies, called Sealed Safety Data, go to a bucket in the customer's own cloud account. A workspace on Anthropic-managed storage is not on EFS, because Anthropic stores that workspace's Sealed Safety Data.

    Source for Enterprise Frontier Safeguards (opens in a new tab)
  3. Anthropic API

    Customer storage webhook events

    On November 23, 2026, Anthropic added two event types to organization webhooks, which are in beta. external_storage.failed is sent when a bucket used as customer-owned storage fails the daily check, and external_storage.recovered is sent when it passes again.

    Source for Customer storage webhook events (opens in a new tab)

6 more in the release history

Newsletter

Get the weekly AI tool shortlist

One email when rankings change or a tool ships something that matters. No spam, unsubscribe anytime.