All tools

Claude API Cost Calculator

What will the Claude API actually cost you per month? Enter your token usage and request volume, or start from a workload preset, and compare all four current models side by side. Pricing below verified against Anthropic's published rates on October 31, 2026. Runs entirely in your browser.

Start from a workload:

Your prompt + context

Expected response length

30-day month assumed

ModelPer requestPer 1K requestsPer dayPer month

Claude Haiku 5.5

Fastest & cheapest. Rate for prompts up to 100K tokens; $0.50 / $2.50 per 1M above that.

$0.000350$0.3500$0.0350$1.05

Claude Sonnet 5.5

Best balance

$0.007000$7.00$0.7000$21.00

Claude Opus 5.5

Most capable

$0.0140$14.00$1.40$42.00

Claude Fable 5.1

Frontier reasoning

$0.0350$35.00$3.50$105.00

API pricing reference (per 1M tokens)

ModelInputOutputContext
Claude Haiku 5.5$0.10$0.501M tokens
Claude Sonnet 5.5$2.00$10.001M tokens
Claude Opus 5.5$4.00$20.001M tokens
Claude Fable 5.1$10.00$50.001M tokens

Prices as of 2025. Always verify at anthropic.com/pricing.

Claude API pricing per 1M tokens (October 31, 2026)

ModelInput / 1MOutput / 1MContextBest for
Claude Haiku 5.5$0.10$0.501M tokensFastest & cheapest
Claude Sonnet 5.5$2.00$10.001M tokensBest balance
Claude Opus 5.5$4.00$20.001M tokensMost capable
Claude Fable 5.1$10.00$50.001M tokensFrontier reasoning

Haiku 5.5 rate shown is for prompts up to 100K tokens; above 100K it is $0.50 input / $2.50 output per 1M. This table and the calculator are updated when Anthropic changes pricing; the date above is the last verification.

How much does the Claude API cost?

The Claude API charges separately for input tokens (your prompt, system prompt, and conversation history) and output tokens (Claude's response), priced per 1M tokens. Costs scale linearly, and for most applications input tokens dominate because you send context on every request. That is why the cheapest optimization is usually a shorter system prompt: the token counter shows what yours costs, and the prompt optimizer shrinks it.

Choosing the right model

  • Haiku 5.5 — best for classification, routing, simple Q&A, and high-volume pipelines where cost matters most.
  • Sonnet 5.5 — best balance of intelligence and cost for most production applications.
  • Opus 5.5 — best for complex reasoning, long-form writing, and tasks where quality is more important than cost.
  • Fable 5.1 — the frontier tier, for demanding reasoning and long-horizon agentic work.

Comparing models on more than price? The Claude model comparison puts context, speed, and strengths side by side.