Anthropic API (Claude)
Claude models via API, from Haiku 5.5 and Sonnet 5.5 to Opus 5.5 and the new Claude Fable 5.2 (Nov 9) for the hardest long-running engineering work.
Official website- Pricing
- Paid (Pay-as-you-go per token; Fable 5.2 $8 input / $40 output per 1M tokens)
- Best for
- Coding and agentic tasks
- Rank
- #1 in Models & APIs
- Last updated
- Nov 10, 2026
- Why it ranks
- Top-tier coding and tool-use models; Fable 5.2 adds a frontier tier at $8/$40 per 1M tokens
Buyer's guides
Add a “Ranked on Rankholt” badge to your site or README
<a href="https://rankholt.com/tool/anthropic-api-claude" target="_blank" rel="noopener"><img src="https://rankholt.com/badge/anthropic-api-claude.svg" alt="Anthropic API (Claude): ranked #1 in Models & APIs on Rankholt" width="214" height="54" /></a>[](https://rankholt.com/tool/anthropic-api-claude)The badge updates itself if the ranking changes. Free to use; no tracking scripts.
Own this tool?Suggest an updateSponsor
Alternatives in Models & APIs
- 2PaidGeneral-purpose AI features
GPT models via API, including GPT-6.2 Astra for the hardest reasoning and coding and GPT-6.2 Sol for everyday coding and agents with a 1.05M-token context (both Nov 17), plus image and audio models
Why it ranks · Broadest model and feature lineup; GPT-6.2 Astra (Nov 17) is 20% cheaper per token than GPT-6 Astra, and Sol stays at $2/$10 per 1M tokens
PaidGeneral-purpose AI features
- 3FreeLong context, fast agentic coding and a generous free tier
Gemini models via Google AI Studio and the Gemini API: frontier Gemini 4 Carbon and Argon, plus Gemini 4 Hydrogen (Nov 12), a fast 1M-context model for everyday coding and agent work, and Gemini 4 Neon (Nov 18), a mid-sized frontier model for complex coding and long agent runs at $3 input / $15 output per 1M tokens (paid tier)
Why it ranks · Gemini 4 Hydrogen (Nov 12) adds a fast, strong coding model at $1.50/$7.50 per 1M tokens flat across a 1M context, on top of a free tier in AI Studio
FreeLong context, fast agentic coding and a generous free tier
- 4FreeSwitching between models
- 5FreeLow-latency apps
- 6FreeOpen-weight / EU hosting needs
European open and commercial models via API, plus the Mistral Vibe coding agent, which since Nov 17 also has a desktop app for macOS and Windows that runs coding sessions locally or in a Mistral cloud sandbox
FreeOpen-weight / EU hosting needs
- 7PaidStrong agentic coding at lower token prices, or self-hosting open weights
Moonshot's OpenAI- and Anthropic-compatible API for Kimi models, including Kimi K3.1 Pro, a 1M-context agentic coding model whose open weights are on Hugging Face
PaidStrong agentic coding at lower token prices, or self-hosting open weights
- 8FreeRunning a large coding and agent model locally, offline and with no per-token fees
Open-weights 145B sparse mixture-of-experts model built to run on a laptop (Edge0 reports 29GB peak memory and 80+ tokens/s), with an open-source inference framework and a desktop app for local coding and agent work on macOS, Windows and Linux
FreeRunning a large coding and agent model locally, offline and with no per-token fees
- 9FreeRunning a strong coding and agent model locally, or fine-tuning a small open model
Open-weights (Apache-2.0) model from Thinking Machines Lab: a 26.4B-parameter mixture-of-experts looped transformer (3.4B active) that takes text and images, is about 20GB on disk and runs on a 32GB Mac or a DGX Spark; Thinking Machines reports it leads open-weights models under 100B parameters on agentic coding benchmarks such as DeepSWE v1.1 (48.2%)
FreeRunning a strong coding and agent model locally, or fine-tuning a small open model
- 10FreeCheap, strong coding models for your own agent or for Claude Code and OpenCode on a flat monthly plan
Z.ai's API and GLM Coding Plan for its GLM models, including GLM-5.3 and GLM-5.3-Flash with up to 1M tokens of context, function calling, structured output and context caching; GLM-5.4 (Nov 23), its first Loop Transformer flagship, is available now in the GLM Coding Plan for Claude Code, Codex, OpenCode, Cline and other agents, with the API to follow after a security review
FreeCheap, strong coding models for your own agent or for Claude Code and OpenCode on a flat monthly plan
- 11FreeRunning a capable coding and agent model on a laptop or consumer GPU with no per-token fees
Open-weights (Apache-2.0) ternary-quantized model from PrismML, based on Qwen3.8 27B, that fits in a 5.9 GB footprint and runs locally via llama.cpp on NVIDIA and Intel GPUs and via MLX on Macs, iPhones and iPads; PrismML reports 75.6 on SWE-bench Verified (up from 60.8 for Bonsai 2) and stronger multi-turn tool use for agentic coding
FreeRunning a capable coding and agent model on a laptop or consumer GPU with no per-token fees
- 12PaidHeavy users of open models who want an OpenRouter alternative with lower per-token prices
Membership from the Command Code team that sells open models (GLM-5.3, DeepSeek V4.1 Flash, Kimi K3, MiniMax M3 and 100+ others) at discounted per-token prices with no router fee and no 5-hour or weekly caps, through OpenAI- and Anthropic-compatible endpoints you can point Claude Code, Codex, OpenCode, Pi, Cursor or Cline at
PaidHeavy users of open models who want an OpenRouter alternative with lower per-token prices