Anthropic API pricing

Input and output price per 1 million tokens for 15 Anthropic models, with context window sizes. Updated 2026-11-09.

OpenAI (58) Qwen (41) Google (30) Mistral (20) Z.ai (17) Anthropic (15) DeepSeek (14) Meta (9) Meta Llama (8) Moonshot AI (8) Tencent (8) xAI (7) Aion Labs (6) ByteDance Seed (6) NVIDIA (6) Amazon (5) Cohere (5) Perplexity (5) Xiaomi (5) Inclusionai (4) MiniMax (4) Sakana (4)

Prices are USD per 1 million tokens. Updated 2026-11-09. Want a number for your own prompt? Use the token counter and cost calculator.

Anthropic API pricing per 1M tokens

ModelContextInput $/1MOutput $/1MCached input $/1MImages in
Claude Haiku 5.5anthropic/claude-haiku-5.51M$0.1$0.5$0.01Yes
Claude Sonnet 5.5anthropic/claude-sonnet-5.51M$2$10$0.1Yes
Claude Opus 5.5anthropic/claude-opus-5.51M$4$20$0.2Yes
Claude Fable 5.1anthropic/claude-fable-5.11M$10$50$0.25Yes
Claude Opus 5anthropic/claude-opus-51M$5$25$0.5Yes
Claude Sonnet 5anthropic/claude-sonnet-51M$2$10$0.2Yes
Claude Fable 5anthropic/claude-fable-51M$10$50$1Yes
Claude Opus 4.8anthropic/claude-opus-4.81M$5$25$0.5Yes
Claude Opus 4.7anthropic/claude-opus-4.71M$5$25$0.5Yes
Claude Sonnet 4.6anthropic/claude-sonnet-4.61M$3$15$0.3Yes
Claude Opus 4.6anthropic/claude-opus-4.61M$5$25$0.5Yes
Claude Opus 4.5anthropic/claude-opus-4.5200K$5$25$0.5Yes
Claude Haiku 4.5anthropic/claude-haiku-4.5200K$1$5$0.1Yes
Claude Sonnet 4.5anthropic/claude-sonnet-4.51M$3$15$0.3Yes
Claude Opus 4.1anthropic/claude-opus-4.1200K$15$75$1.5Yes

Quick facts