Claude API (Anthropic)
Anthropic's API for the Claude model family — text and image input, tool use, extended thinking and managed agents — via the Claude Developer Platform.
The Claude API exposes Anthropic's proprietary Claude models through the Messages API, with official SDKs for Python, TypeScript and other languages. Features include tool use, structured outputs, prompt caching, batch processing, file handling and server-side tools such as web search, plus Claude Managed Agents for hosted agent runs. The same models are also offered through Amazon Bedrock, Google Cloud and Microsoft Foundry. Weights are not released; access is usage-billed per token.
- Type
- API
- Category
- AI & ML
- Maintainer
- Anthropic
- First released
- 2023
- License
- Proprietary
- Pricing
- Paid — Usage-based per input/output token, differing by model; batch and prompt-caching discounts. See the official pricing page for current rates.
- Level
- Intermediate
- Technologies
- llm, rest-api, python, typescript, agents
- GitHub stars
- 4,147
- Weekly downloads
- 51,730,196 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What Claude API (Anthropic) is used for
- Coding assistants and agents
- Document analysis and extraction
- Customer-facing chat
- Long-context research tasks
Strengths
- Strong tool-use and agentic features
- Prompt caching and batch APIs
- Available on major clouds
Limitations
- Closed weights — no self-hosting
- Costs scale with tokens
- Subject to usage policies and rate limits
Claude API (Anthropic) alternatives
How it relates to other tools
- Claude API (Anthropic) works with Model Context Protocol (MCP)
- Claude API (Anthropic) works with Claude Agent SDK
- Claude API (Anthropic) works with LangChain
- Claude API (Anthropic) works with Amazon Bedrock
- Claude API (Anthropic) works with Gemini Enterprise Agent Platform (formerly Vertex AI)
- Claude API (Anthropic) works with Microsoft Foundry (formerly Azure AI Foundry)
- Claude API (Anthropic) competes with OpenAI API
- Claude API (Anthropic) competes with Gemini API (Google)
- Works with Claude API (Anthropic): AI SDK (Vercel)
- Works with Claude API (Anthropic): CrewAI
- Works with Claude API (Anthropic): DSPy
- Works with Claude API (Anthropic): Instructor
- Works with Claude API (Anthropic): LlamaIndex
- Works with Claude API (Anthropic): OpenRouter
- Works with Claude API (Anthropic): Pydantic AI
Built with the same technologies
Learn Claude API (Anthropic)
Official links
- Official website
- Documentation
- Source code (anthropics/anthropic-sdk-python)
- pypi: anthropic
- npm: @anthropic-ai/sdk