The Anthropic API serves Claude (Opus/Sonnet/Haiku) — the models behind Claude Code — for chat, agents, tool use and 200k-token document work.
Anthropic API
Claude models over API for reasoning, agents and long documents
anthropic.com · Sonnet $3/$15 per MTok; Haiku cheaper
Capabilities
Capabilities
- Claude Sonnet 5 ($3/$15 per MTok), Haiku for cheap volume, tool use, vision
- Web search server tool, prompt caching, batch API at 50% off
Best for
- AI-feature clones needing strong reasoning/writing (assistants, agents, summarizers)
Not for
- Ultra-cheap bulk classification (Gemini Flash-Lite/Haiku tier decides on price)