BlogAI models, plans and prices

Claude API pricing calculator: what Fable, Opus, Sonnet and Haiku really cost (November 2026)

Claude API prices per million tokens for Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, plus a free calculator that shows what $5, $20 or $100 of credit buys.

We may earn a commission if you sign up through links on this page. It costs you nothing and never decides what we recommend. Learn more

Claude API pricing calculator: what Fable, Opus, Sonnet and Haiku really cost (November 2026)
On this page 8 sections
  1. Claude API prices (November 2026)
  2. What $5, $20 and $100 of credit buys
  3. How to work out the cost by hand
  4. How many tokens is my text?
  5. 5 ways to cut your Claude API bill
  6. Costs the calculator doesn’t include
  7. What about Claude Code?
  8. Bottom line

The Claude API charges per million tokens, with one price for what you send (input) and a higher price for what Claude writes back (output). On Claude Sonnet 5.5, Anthropic’s everyday model, that’s $2 per million input tokens and $10 per million output tokens. A typical chatbot reply costs less than one cent.

Use the calculator below to estimate your own bill. It uses Anthropic’s official prices, handles caching and the Batch discount, and can convert words into tokens for you.

Claude API cost calculator

Official Anthropic API prices, checked November 15, 2026. Runs in your browser; nothing you type is sent anywhere.

Try an example:
Options
Your estimate

Per request

Per month

Per year

Same job on every model, per month

Claude API prices (November 2026)

All prices are in US dollars per million tokens, from Anthropic’s pricing page, checked November 15, 2026.

Model Input Output Cached input Batch (in / out)
Claude Fable 5.2 $8 $40 $0.20 $4 / $20
Claude Opus 5.5 $4 $20 $0.20 $2 / $10
Claude Sonnet 5.5 $2 $10 $0.10 $1 / $5
Claude Haiku 5.5, prompts up to 100K tokens $0.10 $0.50 $0.01 $0.05 / $0.25
Claude Haiku 5.5, prompts over 100K tokens $0.50 $2.50 $0.05 $0.25 / $1.25
Claude Fable 5.1 (older) $10 $50 $0.25 $5 / $25
Claude Opus 5 (older) $5 $25 $0.50 $2.50 / $12.50
Claude Sonnet 4.6 (older) $3 $15 $0.30 $1.50 / $7.50
Claude Haiku 4.5 (older) $1 $5 $0.10 $0.50 / $2.50

Four things stand out:

  • Fable 5.2 is 20% cheaper than Fable 5.1. Anthropic released it on November 9, 2026 at $8 / $40 instead of $10 / $50. An optional fast mode writes up to 2.5 times faster for double the price ($16 / $80).
  • Opus 5.5 is cheaper than Opus 5. $4 / $20 instead of $5 / $25, so there’s no reason to stay on the older model for price.
  • Cached input is very cheap on the new models. Cache reads cost 5% of the normal input price on Opus 5.5 and Sonnet 5.5, and 2.5% on Fable 5.2. Older models charge 10%.
  • Haiku 5.5 has two prices. If a single request’s prompt goes over 100,000 tokens, the whole request costs five times more.

Not sure which model to pick? Our Claude Opus vs Sonnet vs Fable 5.2 guide explains what each one is good at.

What $5, $20 and $100 of credit buys

People often ask how far a small top-up goes. Here’s how many typical requests each budget covers, if every request sends 2,000 tokens (instructions plus a question) and gets a 500-token answer, with no caching:

Budget Haiku 5.5 Sonnet 5.5 Opus 5.5 Fable 5.2
$5 about 11,100 about 550 about 280 about 140
$20 about 44,400 about 2,200 about 1,100 about 550
$100 about 222,000 about 11,100 about 5,550 about 2,780

Counted another way, $5 buys 2.5 million input tokens on Sonnet 5.5 (about 1.4 million words) or 500,000 output tokens (about 277,000 words). Prompt caching and the Batch discount stretch every budget further. If you’re on a Claude Max or Ultra plan, your $100 or $200 of monthly API credits fits the last row.

How to work out the cost by hand

The formula is simple:

Cost = (input tokens × input price + output tokens × output price) ÷ 1,000,000

Example: a support chatbot sends 2,000 tokens (instructions plus the customer’s question) and gets a 500-token answer, on Sonnet 5.5.

  • Input: 2,000 × $2 ÷ 1,000,000 = $0.004
  • Output: 500 × $10 ÷ 1,000,000 = $0.005
  • Total: $0.009 per reply, or $9 for 1,000 replies

The same 1,000 replies cost about $0.45 on Haiku 5.5, $18 on Opus 5.5 and $36 on Fable 5.2. That spread is why model choice matters more than almost anything else.

How many tokens is my text?

A token is a small piece of text: a short word, part of a longer word, or a punctuation mark. Here’s the rule of thumb from Anthropic’s docs for current Claude models:

Current models (Opus 4.7 and later, all 5.x) Older models
1 million tokens about 555,000 words about 750,000 words
1 word about 1.8 tokens about 1.3 tokens
1,000-word essay about 1,800 tokens about 1,330 tokens

This catches a lot of people out. Anthropic says Claude Opus 4.7 and later models use a newer tokenizer that turns the same text into about 30% more tokens. Many older calculators online still use the old ratio, so they underestimate your bill on today’s models.

For an exact number, use Anthropic’s token counting endpoint with the model you plan to use. It’s free (only rate limits apply). Our calculator’s “Words” option uses the rule of thumb above, which is close enough for planning.

5 ways to cut your Claude API bill

  1. Cache what you repeat. If every request starts with the same long instructions or document, prompt caching stores it. Writing to the cache costs a bit more once (1.25 times the input price for a 5-minute cache, 2 times for 1 hour), but every later read costs a fraction. A 10,000-token system prompt on Sonnet 5.5 costs $0.02 per request normally, and $0.001 per request when read from the cache.
  2. Use the Batch API for anything that can wait. Reports, tagging, translations and nightly jobs get 50% off input and output. Batch and caching discounts can be combined.
  3. Use the smallest model that does the job. Haiku 5.5 costs a twentieth of Sonnet 5.5. Test your task on the cheaper model first and only move up when the quality isn’t there.
  4. Keep Haiku 5.5 prompts under 100,000 tokens. A 120,000-token prompt costs $0.06 on Haiku 5.5’s higher price, against about $0.012 if the same rate as shorter prompts applied. Splitting a very long document can save a lot.
  5. Ask for shorter answers. Output costs five times as much as input on every Claude model. “Answer in 3 bullet points” is a cost saving.

Costs the calculator doesn’t include

  • Web search: $10 per 1,000 searches, plus the tokens for the search results.
  • Cache writes: the calculator counts cache reads only. Add the one-off write cost if your cache expires often.
  • Tool definitions: the tools you give Claude count as input tokens on every request.
  • Fast mode for Opus 5.5 doubles the price ($8 / $40), and US-only inference adds 10%. Both are options in the calculator.

Web fetch has no extra fee, just the tokens for the page content.

What about Claude Code?

Claude Code uses the same token prices when you pay through the API. Anthropic says the average across company deployments is about $13 per developer per active day, or $150 to $250 a month, and under $30 a day for 90% of users. Inside Claude Code, the /usage command shows what you’ve spent. Our Claude Code pricing guide prices a real sample session on each model.

If you code most days, a Claude subscription is usually cheaper than paying per token. Our Claude Console vs Claude Code guide compares both ways to pay. And if you only want to chat with Claude, not build with it, start with what’s free on Claude.

Bottom line

For most apps, Sonnet 5.5 at $2 / $10 per million tokens is the sensible default, and a typical request costs under a cent. Move down to Haiku 5.5 for simple, high-volume jobs, move up to Opus 5.5 or Fable 5.2 only when the task needs it, and turn on caching and Batch wherever you can. Prices change, so we check Anthropic’s official page each time we update this calculator.

Tools in this post

  • Claude

    by Anthropic

    Assistant known for long documents, careful writing and coding help.

    FreemiumWriting

    Free; Pro $20/mo ($17/mo yearly); Max $100/mo; Ultra $200/mo

    Privacy & risks
    Trains on your data
    You choose
    Minimum age
    18+
    • Free, Pro and Max users choose whether their chats can be used for training. Team, Enterprise and API data is not used for training.

    Sources: 1 2 3 · Checked Oct 2026

  • Claude Code

    by Anthropic

    Coding agent that works across your whole codebase from the terminal or editor.

    PaidCoding

    Included with Claude Pro, Max and Ultra; or pay per use via the API

    Privacy & risks
    Trains on your data
    You choose
    • The most-used coding agent in the Stack Overflow 2026 survey (66% of developers who use agents).
    • Consumer plans let you choose whether code is used for training; Team, Enterprise and API use is not trained on.
    • Security flaws found in 2026 (including CVE-2026-24887 and CVE-2026-35021) were fixed in updates. Keep it up to date.

    Sources: 1 2 · Checked Oct 2026

Questions people ask

How much does the Claude API cost per token?

Prices are per million tokens. Claude Sonnet 5.5 costs $2 for input and $10 for output, Opus 5.5 costs $4 and $20, Haiku 5.5 costs $0.10 and $0.50 (for prompts up to 100,000 tokens), and Fable 5.2 costs $8 and $40. Prices are from Anthropic, checked November 15, 2026.

How much Claude API use does $5 buy?

About 550 typical requests on Sonnet 5.5 if each one sends 2,000 tokens and gets a 500-token answer, or about 2.5 million input tokens. On Opus 5.5 it's about half that, and on Haiku 5.5 about 20 times more.

How many words is 1 million tokens in Claude?

About 555,000 English words on current Claude models (Claude Opus 4.7 and later, including all 5.x models). Older models fit about 750,000 words into 1 million tokens.

Why does my text use more tokens on new Claude models?

Claude Opus 4.7 and later models use a newer tokenizer that turns the same text into about 30% more tokens. Anthropic says to recount prompts with the model you plan to use instead of reusing old counts.

How can I lower my Claude API bill?

Use prompt caching for text you send again and again, use the Batch API for jobs that don't need an instant answer (50% off), pick the smallest model that does the job well, and ask for shorter answers, because output tokens cost five times as much as input.

Is there a free Claude API tier?

New accounts get a small amount of free credit to test the API. After that you pay per token. Counting tokens with Anthropic's token counting endpoint is free.

Sources

Facts and prices checked on Nov 15, 2026.

  1. Claude API pricing (Claude Platform Docs)
  2. Token counting (Claude Platform Docs)
  3. Models overview (Claude Platform Docs)
  4. Glossary (Claude Platform Docs)
  5. Manage Claude Code costs (Claude Code Docs)