Skip to content
llmkitty calico cat logo llmkitty

Claude API Pricing Calculator

Estimate Anthropic Claude API cost by model, Claude Fable 5, Claude Opus 4.8, Claude Sonnet 5, and Claude Haiku 4.5. Enter token counts and requests/month to project your bill in your browser.

Your usage

Prices per 1M tokens · Last verified: 2026-07-12

 · verify price

Estimated Monthly Cost

$0.0075

≈ $0.00/day

Cost per API call

$0.0075

Input 0% · $0

Output 0% · $0

Input tokens (0) $0
Output tokens (0) $0
Total per call $0
llmkitty sleeping cat, curled up next to the cost readout

Anthropic's current Claude model lineup

Anthropic prices four Claude models for API access, spanning a wide range from budget to flagship. Claude Fable 5 sits at the top of the lineup, priced above every other current Claude model on both input and output tokens, the choice for work that needs Anthropic's strongest available quality. Claude Opus 4.8 sits just below it, still a premium-tier model but at a lower rate. Claude Sonnet 5 occupies the middle of the lineup and currently carries introductory pricing that runs through 2026-08-31, after which its rate is scheduled to step up to $3 input / $15 output per million tokens, worth building into any long-range budget rather than assuming today's rate holds. Claude Haiku 4.5 is the smallest and cheapest model in the current lineup, built for high-volume, latency-sensitive work rather than maximum capability.

How Claude's pricing structure works

Like the rest of the market, every Claude model bills input and output tokens separately, and output costs noticeably more than input across the board. Generation is the expensive half of any call. That spread matters most on the higher-tier models, where the gap between input and output rate is largest in absolute dollar terms: a long-form generation task on Claude Fable 5 or Opus 4.8 is far more output-cost-sensitive than the same task on Haiku 4.5. If your workload leans toward long, generated responses rather than large input context, the output rate, not the headline "per million tokens" number people usually quote, is what actually drives your bill, so check it specifically for whichever Claude model you're evaluating.

The Sonnet 5 introductory-pricing quirk

Claude Sonnet 5's current rate is explicitly introductory and time-boxed; it's set to increase after 2026-08-31 to $3 input / $15 output per million tokens. This is the single most important pricing detail to get right if you're modeling costs for a project with any real runway: a budget built on today's introductory rate will understate the true cost of running Sonnet 5 in production past that date. If your monthly volume is large enough that this increase materially changes your unit economics, it's worth re-running your projection with the post-introductory rate now, before you're locked into an architecture built around the cheaper number.

Cutting your Claude API bill

The most effective lever is matching model tier to task: route simple, repetitive, or latency-sensitive calls to Claude Haiku 4.5 by default, and reserve Sonnet 5, Opus 4.8, or Fable 5 for requests where the extra capability is actually visible in the output. Beyond model choice, cap max output tokens so verbose generations don't inflate cost unnecessarily, keep system prompts and few-shot examples as lean as they can be while still holding quality, and avoid re-sending large blocks of static context on every call if your integration lets you persist it instead. Because Sonnet 5's rate is scheduled to change, revisit your model choice around the pricing transition date rather than assuming your current setup stays cost-optimal indefinitely.

Who the Claude API suits

Anthropic's four-tier lineup gives you a clear cost ladder from Haiku up to Fable, which suits teams that want to reserve top-tier reasoning for a narrow slice of genuinely hard requests while running the bulk of traffic on a cheaper model, a pattern that plays well with Claude's known strengths in careful, instruction-following output. If you're deciding between Claude and another vendor rather than between Claude models, the all-provider hub calculator lets you compare rates across the whole market in one place.

See how Claude compares against OpenAI's GPT API pricing, Google's Gemini API pricing, or xAI's Grok API pricing.

Frequently asked questions

How much does the Claude API cost?

Anthropic prices four Claude models on separate input and output rates per million tokens, from Claude Haiku 4.5 at the low end up to Claude Fable 5 at the top. Pick your model above to see the exact per-call and monthly cost for your token volume.

Is the Claude API cheaper than GPT?

It depends on which Claude model you compare against which OpenAI model. Anthropic's cheapest model, Claude Haiku 4.5, and its most expensive, Claude Fable 5, both have direct counterparts on the OpenAI side at different price points. Use the all-provider hub calculator or the "Compare another model" toggle above to put a specific Claude model and a specific GPT model side by side on your own token counts rather than relying on a general answer.

What is Claude Sonnet 5's introductory pricing?

Claude Sonnet 5 carries introductory pricing that is scheduled to run through 2026-08-31, after which the rate steps up to $3 input / $15 output per million tokens. If you're budgeting past that date, use the post-introductory rate rather than the current one so your projection doesn't understate the real cost.

What is the difference between Claude Opus 4.8 and Claude Fable 5?

Claude Fable 5 is priced above Claude Opus 4.8 on both input and output tokens, making it Anthropic's most expensive current model, while Opus 4.8 sits just below it. Both are priced well above Claude Sonnet 5 and Claude Haiku 4.5, which are Anthropic's mid-tier and budget options respectively.

When should I use Claude Haiku instead of a larger Claude model?

Claude Haiku 4.5 is Anthropic's lowest-priced model in this lineup, which makes it the right default for high-volume, low-complexity calls (short replies, tagging, routing, simple extraction) where a larger model's extra capability wouldn't change the output. Reserve Sonnet, Opus, or Fable for requests that actually need the added quality.

How do I reduce my Claude API bill?

Default routine, high-volume requests to Claude Haiku 4.5 rather than a flagship model, cap output length so responses don't run longer than needed, trim system prompts and examples to what's actually earning their keep, and reuse context across calls where your integration supports it instead of resending it every time.

Related tools

AI Token Cost CalculatorOpenAI API Pricing CalculatorGemini API Pricing CalculatorLlama API Pricing CalculatorMistral API Pricing Calculator