Anthropic

Model

API for the Claude family of language models

Price
Free credits, then paid
Access
API key

About

Anthropic's API serves the Claude models for chat, coding, image understanding and agents, with tool use, web search and code execution built in. It is for developers adding an LLM to apps or agents. Current models read up to 1M tokens of context.

What you can do with it

  • Add a Claude chat assistant or text generation to your app
  • Generate, review and refactor code with Claude models
  • Build agents that call your tools, search the web and run code

Get started

  1. Create a Claude Console account
  2. Create an API key
  3. Set ANTHROPIC_API_KEY in your environment

Example

curl https://api.anthropic.com/v1/messages \
  -H "content-type: application/json" \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-opus-5-5",
    "max_tokens": 1000,
    "messages": [{"role": "user", "content": "Hello, Claude"}]
  }'

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
Python, JavaScript/TypeScript, C#, Go, Java, PHP, Ruby
MCP server
None

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .