Anthropic Cost Calculator

Claude API Pricing Calculator

Calculate costs for the latest Anthropic Claude models including Claude Opus 4.6, Sonnet 4.6, Sonnet 4.5, Haiku 4.5, Opus 4.5, Opus 4.1, Sonnet 4, Opus 4, Haiku 3.5, and Haiku 3.

Token Cost Calculator

Enter your estimated token usage to calculate costs

Input: $5.00/1M (≤200k), $10.00/1M (>200k)
Output: $25.00/1M (≤200k), $37.50/1M (>200k)
Cache: Write $6.25/1M, Read $0.50/1M (≤200k)
Cache: Write $12.50/1M, Read $1.00/1M (>200k)

750 words

7500 words

Real-time Calculation

Instant cost estimates for your API usage

Latest Models Supported

From Claude Opus 4.6 to Claude Haiku 4.5

Smart Estimates

Detailed breakdown of all costs

Current Claude API Pricing

Latest pricing information per million tokens for each model

Claude Opus 4.6

Most intelligent model for building agents and coding

Input: $5.00/1M (≤200k), $10.00/1M (>200k)

Output: $25.00/1M (≤200k), $37.50/1M (>200k)

Cache: Write $6.25/1M, Read $0.50/1M (≤200k)

Cache: Write $12.50/1M, Read $1.00/1M (>200k)

Claude Sonnet 4.6

Latest Sonnet with best balance of capability and cost

Input: $3.00/1M (≤200k), $6.00/1M (>200k)

Output: $15.00/1M (≤200k), $22.50/1M (>200k)

Cache: Write $3.75/1M, Read $0.30/1M (≤200k)

Cache: Write $7.50/1M, Read $0.60/1M (>200k)

Claude Sonnet 4.5

Previous Sonnet with strong capability and cost balance

Input: $3.00/1M (≤200k), $6.00/1M (>200k)

Output: $15.00/1M (≤200k), $22.50/1M (>200k)

Cache: Write $3.75/1M, Read $0.30/1M (≤200k)

Cache: Write $7.50/1M, Read $0.60/1M (>200k)

Claude Haiku 4.5

Fastest, most cost-efficient model

Input: $1.00/1M tokens

Output: $5.00/1M tokens

Claude Opus 4.5

Previous flagship model

Input: $5.00/1M tokens

Output: $25.00/1M tokens

Claude Opus 4.1

Legacy Opus with improved reliability

Input: $15.00/1M tokens

Output: $75.00/1M tokens

Claude Sonnet 4

Legacy Sonnet offering strong capability at moderate cost

Input: $3.00/1M (≤200k), $6.00/1M (>200k)

Output: $15.00/1M (≤200k), $22.50/1M (>200k)

Cache: Write $3.75/1M, Read $0.30/1M (≤200k)

Cache: Write $7.50/1M, Read $0.60/1M (>200k)

Claude Opus 4

Legacy model for complex tasks

Input: $15.00/1M tokens

Output: $75.00/1M tokens

Claude Haiku 3.5

Legacy fast model with good cost efficiency

Input: $0.80/1M tokens

Output: $4.00/1M tokens

Claude Haiku 3

Legacy budget model for simple tasks

Input: $0.25/1M tokens

Output: $1.25/1M tokens

Claude & Anthropic API Pricing Calculator: Latest Models

Our comprehensive token calculator provides accurate cost estimates for Anthropic's latest Claude lineup. Perfect for developers and teams budgeting for Claude Opus 4.6, Sonnet 4.6, Sonnet 4.5, Haiku 4.5, and legacy models. Now with tiered pricing support for prompts over 200K tokens.

Latest Models

  • • Claude Opus 4.6: Most intelligent model with tiered pricing
  • • Claude Sonnet 4.6: Latest Sonnet with best capability-cost balance
  • • Claude Haiku 4.5: Fastest, most cost-efficient model

Key Features

  • • Tiered pricing for long contexts (>200K tokens)
  • • Prompt caching cost estimation
  • • 50% batch API discount available

How It Works

Calculate your Claude API costs in three simple steps:

1

Select Model

Choose from Claude Opus 4.6, Sonnet 4.6, Haiku 4.5, and legacy models

2

Enter Tokens

Specify your input and output token usage

3

Get Costs

View your detailed cost breakdown

Pro Tips

  • • Use prompt caching for significant savings on repeated inputs
  • • Batch API offers 50% off on all models
  • • Keep prompts under 200K tokens to avoid higher tiered rates

Model Comparison & Use Cases

Compare Claude models to find the perfect fit for your needs and budget.

ModelBest ForPrice Range
Claude Opus 4.6Most intelligent model for agents and coding$5.00–$10.00 / $25.00–$37.50
Claude Sonnet 4.6Latest Sonnet, best value for production workloads$3.00–$6.00 / $15.00–$22.50
Claude Sonnet 4.5Previous Sonnet, still highly capable$3.00–$6.00 / $15.00–$22.50
Claude Haiku 4.5Fastest, most cost-efficient for high-volume tasks$1.00 / $5.00
Claude Opus 4.5Previous flagship, still highly capable$5.00 / $25.00
Claude Opus 4.1 / 4Legacy models for complex tasks$15.00 / $75.00

Cost Optimization Tips

Maximize your Claude API usage while minimizing costs:

Input Optimization

  • • Enable prompt caching for up to 90% savings on repeated inputs
  • • Use Batch API for 50% discount on non-urgent workloads
  • • Keep prompts under 200K tokens for lower tiered pricing

Model Selection

  • • Choose the right model tier
  • • Start with Haiku 4.5 for testing
  • • Upgrade as needed

Pricing Updates & Information

Stay informed about Anthropic's Claude API pricing and updates.

Claude API pricing is subject to change. While we maintain current rates for all models in our calculator, always verify the latest pricing on Anthropic's official website.