Claude API Pricing Calculator
Compare costs for Opus, Sonnet, and Haiku models
Select Claude Model
Usage Configuration
Claude Sonnet 4
Model Cost Comparison
| Model | Per Request | Monthly Cost | vs Selected |
|---|---|---|---|
Claude Opus 4.5 | $0.052500 | $157.50 | +$126.00 |
Claude Opus 4 | $0.052500 | $157.50 | +$126.00 |
Claude Sonnet 4Selected | $0.010500 | $31.50 | - |
Claude Sonnet 3.5 | $0.010500 | $31.50 | -$0.00 |
Claude Haiku 3.5 | $0.002800 | $8.40 | -$23.10 |
Claude Haiku 3 | $0.000875 | $2.63 | -$28.87 |
Claude API Pricing Notes:
- Prices are per million tokens (1M tokens ≈ 750,000 words)
- Opus models are best for complex reasoning and creative tasks
- Sonnet models offer excellent balance of capability and cost
- Haiku models are fastest and most cost-effective for simple tasks
- All models support 200K token context windows
- Prices current as of January 2025 - check Anthropic for latest
How to Use the Claude API Pricing Calculator
Select Your Claude Model
Choose between Claude Opus (most capable), Claude Sonnet (balanced), or Claude Haiku (fastest and cheapest). Each model has different pricing and capabilities suited for specific use cases.
Enter Your Token Usage
Input your estimated input tokens (prompts, context, system messages) and output tokens (model responses). Use the preset examples if unsure, or enter custom values based on your application needs.
Set Request Volume
Specify how many API requests you expect per day or month. The calculator will multiply your per-request costs by this volume to estimate your total expenditure.
Review Cost Breakdown
View the detailed cost breakdown showing per-request costs, daily costs, and monthly estimates. Compare across all three Claude models to find the best fit for your budget and requirements.
Pro tip: Your data is processed entirely in your browser. Nothing is sent to any server, ensuring complete privacy.
Understanding Claude API Pricing
Anthropic's Claude API offers three model tiers to meet different needs and budgets. Understanding the pricing structure helps you choose the right model for your application and estimate costs accurately before scaling.
Claude Model Tiers Explained
Claude Opus ($15/$75 per 1M tokens) is the most capable model, designed for complex reasoning, research, and creative tasks. It excels at nuanced analysis, code generation, and tasks requiring deep understanding.
Claude Sonnet ($3/$15 per 1M tokens) offers the best balance of capability and cost. It handles most tasks excellently including coding, writing, and analysis, making it the default choice for many applications.
Claude Haiku ($0.80/$4 per 1M tokens) is the fastest and most economical option. Perfect for high-volume applications, simple queries, and scenarios where speed matters more than depth.
Input vs Output Token Pricing
Claude API charges separately for input and output tokens. Input tokens include your prompts, system messages, and any context you provide. Output tokens are the generated responses. Output tokens typically cost more because they require more computation to generate.
For example, a Sonnet request with 2,000 input tokens and 500 output tokens costs: (2,000 × $3/1M) + (500 × $15/1M) = $0.006 + $0.0075 = $0.0135 per request.
Choosing the Right Model
- Use Opus for: Complex research, detailed analysis, creative writing, sophisticated code generation
- Use Sonnet for: General tasks, everyday coding, content creation, customer support
- Use Haiku for: Simple queries, classification, high-volume tasks, quick responses
Frequently Asked Questions
How much does Claude API cost?
Claude API pricing varies by model: Opus 4.5 costs $15/$75 per million tokens (input/output), Sonnet 4 costs $3/$15 per million tokens, and Haiku 3.5 costs $0.80/$4 per million tokens. The right model depends on your use case complexity.
Which Claude model should I use?
Use Opus for complex reasoning, research, and creative tasks. Use Sonnet for general tasks, coding, and analysis with good cost efficiency. Use Haiku for simple queries, high-volume applications, and quick responses where speed matters more than depth.
How many tokens does Claude support?
All Claude models support a 200K token context window, which is about 150,000 words or 500+ pages of text. This allows processing entire codebases, long documents, or extended conversations in a single request.
How do I estimate Claude API costs for my application?
Estimate your average input and output tokens per request, multiply by expected daily requests, then multiply by the per-token price. Input tokens are usually larger (user prompts, context), while output tokens are the generated responses.
Related Tools
Compare AI API costs across OpenAI GPT-4, Anthropic Claude, Google Gemini, and more. Calculate monthly costs based on your token usage. Updated 2025 pricing.
Count tokens for OpenAI GPT-4, Claude 3, Gemini, and other LLMs. See token breakdown by model, estimate API costs instantly. Supports cl100k_base and other tokenizers.
Calculate DeepSeek API costs and compare with other providers.
Calculate Google Gemini API costs. Compare Gemini Pro, Ultra, and Flash pricing.