Anthropic API Pricing
Complete pricing breakdown for every Claude model — Claude 4 Opus, Sonnet 4, and Haiku 4.5
Anthropic Model Pricing
All prices per 1 million tokens. Data verified May 2026.
| Model | Input (per 1M) | Output (per 1M) | Context | Tier |
|---|---|---|---|---|
| Claude Opus 4.8 | $5.00 | $25.00 | 1M | Premium |
| Claude Opus 4.7 | $5.00 | $25.00 | 1M | Premium |
| Claude 4 Opus Retires Jun 15 | $15.00 | $75.00 | 200K | Premium |
| Claude Sonnet 4.6 | $3.00 | $15.00 | 1M | Mid |
| Claude Sonnet 4 Retires Jun 15 | $3.00 | $15.00 | 200K | Mid |
| Claude Haiku 4.5 | $1.00 | $5.00 | 200K | Budget |
Which Claude Model Should You Use?
Choose the right model based on your workload, quality requirements, and budget.
Complex Reasoning & Analysis
Multi-step reasoning, research synthesis, legal analysis, and tasks requiring the highest accuracy. Best-in-class performance on graduate-level benchmarks.
Code Generation & Agentic Tasks
Writing, debugging, and reviewing code. Building multi-step workflows and tool-use agents. Strong balance of capability and speed.
High-Volume Chat & Classification
Customer support chatbots, content moderation, sentiment analysis, and classification tasks. Excellent quality at a fraction of the cost.
Content Generation at Scale
Summarization, translation, and content creation where throughput matters. 1M context handles large documents with ease.
Enterprise Document Processing
Analyzing lengthy contracts, research papers, or codebases. The 1M context window processes entire documents in a single call.
Startup MVPs & Prototyping
Rapid prototyping and MVP development where cost efficiency is critical. Start with Haiku for most tasks, upgrade to Sonnet when needed.
Calculate Your Anthropic Costs
Estimate your monthly spend across all three Anthropic models.
Monthly Cost Estimate
Anthropic vs Competitors
How Claude models stack up against equivalent models from other providers.
| Tier | Anthropic | Input / Output | OpenAI | Input / Output | Input / Output | |
|---|---|---|---|---|---|---|
| Budget | Claude Haiku 4.5 | $1.00 / $5.00 | GPT-4o mini | $0.15 / $0.60 | Gemini 2.0 Flash | $0.10 / $0.40 |
| Mid | Claude Sonnet 4 | $3.00 / $15.00 | GPT-4o | $2.50 / $10.00 | Gemini 2.5 Pro | $1.25 / $10.00 |
| Premium | Claude 4 Opus | $15.00 / $75.00 | GPT-5 | $1.25 / $10.00 | Gemini 2.5 Pro | $1.25 / $10.00 |
Note: Competitor pricing is for comparable capability tiers. Actual performance may vary by task. Google Gemini pricing reflects paid tier rates.
See how Claude models stack up against OpenAI, Google, and more
Deep-Dive Comparisons
Read our detailed head-to-head analyses of Claude models vs the competition.
Claude Opus 4.8 vs Gemini 3.1 Pro
Two 1M-context flagship models — Gemini is 52% cheaper on output. Full pricing and use-case comparison.
Claude Sonnet 4.6 vs GPT-5
GPT-5 costs 58% less but Sonnet 4.6 offers 3.7x more context. Full pricing and performance comparison.
Claude 4 vs GPT-5
The ultimate frontier model showdown. We compare reasoning, coding, and creative tasks across both flagship models.
Claude vs Gemini
Anthropic vs Google: which ecosystem offers the best value? We benchmark performance, pricing, and context handling.
Haiku vs Flash
Budget model battle: Claude Haiku 4.5 vs Gemini 2.0 Flash on speed, quality, and cost per task.
GPT-4o mini vs Haiku
The two most popular mid-range models go head-to-head. Which offers more capability per dollar?
7 AI API Pricing Mistakes
Avoid these 7 common mistakes that cause developers to overpay by 3-10x on AI APIs.
Calculate Your Anthropic Costs
Enter your usage and see exactly what each Claude model would cost you — no signup required.
Open the Cost CalculatorGet notified when Anthropic changes pricing or launches new models.