Claude Sonnet Cost Calculator

Paste your prompt and instantly calculate the USD cost for Claude Sonnet 4, Claude 3.5 Sonnet, and other Sonnet-tier models.

Tokens: 0
Words: 0
Characters: 0
Input cost: $0.000000
Output cost: $0.000000

Claude Sonnet Cost Calculator — Real-Time API Pricing

The Claude Sonnet Cost Calculator provides instant USD cost estimates for Anthropic's Sonnet model family. Whether you're working with Claude Sonnet 4, Claude 3.5 Sonnet, or earlier versions, this tool calculates your exact API cost based on current Anthropic pricing.

Claude Sonnet API Pricing (per 1M tokens)

ModelInput (per 1M)Output (per 1M)Context Window
Claude Opus 4$15.00$75.00200K tokens
Claude Sonnet 4$3.00$15.00200K tokens
Claude 3.7 Sonnet$3.00$15.00200K tokens
Claude 3.5 Sonnet$3.00$15.00200K tokens
Claude 3 Sonnet$3.00$15.00200K tokens
Claude 3.5 Haiku$0.80$4.00200K tokens

Sonnet vs Opus vs Haiku: Which to Choose?

Claude Sonnet models offer an optimal balance between intelligence and cost. Opus 4 is the most powerful but 5× more expensive than Sonnet. Haiku is the fastest and cheapest, ideal for high-volume classification or extraction tasks where maximum intelligence isn't needed.

How to Reduce Claude API Costs

Related Tools