scriptRun Beta

Claude API Pricing 2026: Every Model per 1M Tokens

AnnaAnna
November 24, 2026
Business
AI WorkflowsAutomation
Claude API Pricing 2026: Every Model per 1M Tokens

Quick Answer: Claude API pricing is pay-as-you-go, billed per million tokens (MTok), with no subscription or minimum spend. As of November 24, 2026:

  • Haiku 5.5 is the cheapest at $0.10 input and $0.50 output per MTok (for prompts up to 100,000 tokens).

  • Sonnet 5.5 costs $2 / $10.

  • Opus 5.5 costs $4 / $20.

  • Fable 5.2, the most capable model, costs $8 / $40.

The Batch API cuts every price in half, and cache reads cost 5% or less of the input price on the newest models. For occasional chat, a Claude Pro plan ($20 a month) is cheaper. For apps and automations, you pay per token.

Looking up Claude API pricing usually means one of three things: you're choosing a model, estimating a bill, or deciding between a Claude plan and an API key.

This guide covers all three. It shows every model's price per million tokens, the discounts and surcharges that change what you actually pay, and worked examples with the math shown.

If you'd rather use Claude next to OpenAI and Gemini models without separate accounts, ScriptRun's OpenAI-compatible API gives you one key for all of them.

Every number here comes from Anthropic's official pricing documentation and the Claude plans page, checked on November 24, 2026.

How much does the Claude API cost

Claude API pricing starts with four current models. All prices are in US dollars per million tokens.

Model

Best for

Input / MTok

Output / MTok

Cache read / MTok

Batch (input / output)

Claude Fable 5.2

The hardest reasoning and agentic work

$8

$40

$0.20

$4 / $20

Claude Opus 5.5

Complex coding, analysis and long tasks

$4

$20

$0.20

$2 / $10

Claude Sonnet 5.5

Most production workloads

$2

$10

$0.10

$1 / $5

Claude Haiku 5.5 (prompt ≤100K tokens)

High-volume, simple tasks

$0.10

$0.50

$0.01

$0.05 / $0.25

Claude Haiku 5.5 (prompt >100K tokens)

Long prompts on Haiku

$0.50

$2.50

$0.05

$0.25 / $1.25

Table: Anthropic Claude API pricing 2026, current models

Three things stand out.

👉 First, output costs five times as much as input on every model, so long answers drive the bill.

👉 Second, Opus 5.5 costs less than the older Opus models ($5 / $25), even though it's newer.

👉Third, Haiku 5.5 is a tenth of Haiku 4.5's price, but only while your prompt stays at or under 100,000 tokens.

When you call these models, you use the IDs below. All four share the same limits, so the choice comes down to Claude API pricing, speed and quality.

Specs are from Anthropic's model overview pages.

Model

Claude API model ID

Context window

Max output

Default effort

Fable 5.2

claude-fable-5-2

1M tokens

128K tokens

high

Opus 5.5

claude-opus-5-5

1M tokens

128K tokens

medium

Sonnet 5.5

claude-sonnet-5-5

1M tokens

128K tokens

high

Haiku 5.5

claude-haiku-5-5

1M tokens

128K tokens

medium

How Claude API pricing works

Claude API token pricing has three parts:

  • Input tokens: everything you send, including the system prompt, the conversation history, documents, images and tool definitions.

  • Output tokens: everything Claude writes back, including any thinking it does before it answers.

  • Cache tokens: the cost to write a repeated prompt prefix to the cache, and the much lower cost to read it back on later requests.

Anthropic quotes Claude API pricing per million tokens.

To get Claude API pricing per token, divide by one million: Sonnet 5.5's $2 input price is $0.000002 per input token.

A token is roughly three-quarters of an English word, but the ratio depends on the model.

The tokenizer affects your bill too.

According to the pricing docs, Claude 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text.

So moving a workload from Sonnet 4.6 to Sonnet 5.5 doesn't cut costs by exactly the drop in list price. H

ere's a rough illustration.

Sonnet 5.5's list prices are a third lower than Sonnet 4.6's ($2 / $10 against $3 / $15). If the same text produces 30% more tokens, though, the real saving is closer to 13%: two-thirds of the price times 1.3 times the tokens comes to about 87% of the old cost.

Run your real prompts through the token counting endpoint before you compare.

Thinking counts as output. The newest models think before they answer, and Anthropic's Claude Code cost guide confirms that thinking tokens are billed as output tokens.

On Fable 5.2 and Opus 5.5, thinking is always on and can't be turned off. What you can control is the effort parameter.

It runs from low to max and affects every token in the response, including thinking and tool calls.

Anthropic describes low effort as giving significant token savings with some loss of capability, and max effort as adding significant cost for relatively small quality gains on most workloads.

For routine jobs, setting effort to low or medium is one of the simplest ways to bring Claude API pricing down in practice.

Billing is based on actual monthly usage, in USD, by card or invoice.

There's no separate Claude API key pricing: creating a key in the Claude Console is free, and you pay only for the tokens it uses.

New accounts get free credits to test with. Your usage tier (Start, Build or Scale) sets your rate limits, not your price.

If you hit limits, our guide to rate limits and 429 errors explains how to handle them.

Claude API pricing for every model

This is the full list of Claude API pricing per million tokens, including models that are older but still available.

Model

Input

5-min cache write

1-hour cache write

Cache read

Output

Fable 5.2

$8

$10

$16

$0.20

$40

Fable 5.1

$10

$12.50

$20

$0.25

$50

Fable 5

$10

$12.50

$20

$1

$50

Opus 5.5

$4

$5

$8

$0.20

$20

Opus 5, 4.8, 4.7, 4.6, 4.5

$5

$6.25

$10

$0.50

$25

Sonnet 5.5

$2

$2.50

$4

$0.10

$10

Sonnet 5

$2

$2.50

$4

$0.20

$10

Sonnet 4.6, 4.5

$3

$3.75

$6

$0.30

$15

Haiku 5.5 (≤100K prompt)

$0.10

$0.125

$0.20

$0.01

$0.50

Haiku 5.5 (>100K prompt)

$0.50

$0.625

$1

$0.05

$2.50

Haiku 4.5

$1

$1.25

$2

$0.10

$5

Table: Anthropic Claude API pricing per million tokens 2026, all available models

Opus 4.1, Opus 4 and Sonnet 4 are retired on the Claude API, though some remain on Bedrock or Google Cloud.

Mythos models are priced like the Fable model of the same version, but only verified organizations can use them.

Model #1: Claude Opus API pricing

Claude Opus API pricing dropped with Opus 5.5: $4 input and $20 output, against $5 and $25 for Opus 5 and Opus 4.5 to 4.8.

Cache reads on Opus 5.5 cost $0.20, or 5% of input. If you still call an older Opus model, switching to Opus 5.5 is usually the easiest saving.

Test your token counts first, though, because of the newer tokenizer.

Model #2: Claude Sonnet API pricing

Claude Sonnet API pricing is $2 / $10 for both Sonnet 5.5 and Sonnet 5.

Sonnet 5 launched with that as an introductory price, and a rise to $3 / $15 was scheduled for September 1.

Anthropic's docs now state that the increase "will not occur."

Sonnet 5.5 has the cheaper cache reads, at $0.10 against $0.20. Sonnet 4.5 and 4.6 still cost $3 / $15.

Model #3: Claude Haiku API pricing

Claude Haiku API pricing for Haiku 5.5 is the lowest in the lineup: $0.10 input and $0.50 output.

It's the only current model whose price depends on prompt length.

Once a request's prompt goes over 100,000 tokens, cache reads and writes included, the whole request is billed at $0.50 / $2.50. Haiku 4.5 costs a flat $1 / $5.

Model #4: Claude Fable API pricing

Claude Fable API pricing is $8 / $40 for Fable 5.2 and $10 / $50 for Fable 5 and 5.1.

Fable 5.1 and later models have very cheap cache reads: 2.5% of input, or $0.20 per MTok on Fable 5.2.

That makes Fable more affordable than its list price suggests for agents that reread a long, stable context.

Discounts and surcharges that change your Claude API pricing

List prices are only the starting point of Claude API pricing.

These modifiers stack with each other.

Modifier

Effect on price

Details

Batch API

−50% on input and output

Asynchronous jobs. Not available with fast mode.

5-minute cache write

1.25x input

Pays off after one cache read

1-hour cache write

2x input

Pays off after two cache reads

Cache read

0.1x input (0.05x on Opus 5.5 and Sonnet 5.5; 0.025x on Fable 5.1 and later)

Reading a cached prefix also refreshes it

Long context

No surcharge on Claude 4.6 and later, except Haiku 5.5

The full 1M-token context window is billed at standard rates

US-only inference

1.1x on all token types

Set with inference_geo: "us" on Claude 4.6 and later

Fast mode

Opus 5.5: $8 / $40. Fable 5.2: $16 / $80.

Up to 2.5x faster output

Caching has one trap in Claude API pricing.

A cache write costs more than a normal input token, so a prompt that's written to the 5-minute cache and never read again costs 25% more than not caching at all.

Cache only the parts of your prompt that repeat, such as a long system prompt or a shared document, and make sure requests arrive before the cache expires.

Batch and caching combine.

A cached, batched request on Opus 5.5 pays half the batch price for input and reads the cache at 5% of the input price.

For tactics beyond these levers, such as prompt trimming, output limits and model routing, see our guide to LLM API cost optimization strategies.

Tool and agent costs on top of Claude API pricing

Tools add input tokens at standard Claude API pricing, and some add their own fees:

  • Tool definitions: the tool use pricing section lists a hidden system prompt of about 290 to 680 tokens, depending on the model. Each tool's name, description and schema add to that.

  • Web search: $10 per 1,000 searches, plus the tokens of the results.

  • Web fetch: no extra fee. You pay only for the fetched content as input tokens.

  • Code execution: free when used with web search or web fetch. Otherwise each organization gets 1,550 free hours a month, then pays $0.05 per container-hour.

  • Claude Managed Agents: tokens at normal rates, plus $0.08 per session-hour while the session is running.

If you're comparing how tools are defined and billed across providers, our article on function calling across OpenAI, Claude and Gemini walks through the differences.

What you'll actually pay for the Claude API

You don't need a Claude API pricing calculator for most estimates. One formula covers it:

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

Then apply any discounts: halve it for batch, and price cached input at the cache-read rate.

Here's what that looks like at current prices.

Scenario

Math

Cost

Support reply on Haiku 5.5 (2,000 in, 300 out)

2,000 × $0.10 + 300 × $0.50

$0.00035 per reply, or $35 per 100,000 replies

Same reply on Sonnet 5.5

2,000 × $2 + 300 × $10

$0.007 per reply, or $700 per 100,000 replies

Document analysis on Opus 5.5 (50,000 in, 2,000 out)

50,000 × $4 + 2,000 × $20

$0.24

Same job through the Batch API

50,000 × $2 + 2,000 × $10

$0.12

Same job with 45,000 tokens read from cache

45,000 × $0.20 + 5,000 × $4 + 2,000 × $20

$0.069

Same job on Fable 5.2

50,000 × $8 + 2,000 × $40

$0.48

150,000-token prompt on Haiku 5.5 (1,000 out)

150,000 × $0.50 + 1,000 × $2.50

$0.0775 (the long-prompt tier applies)

1,000 web searches

1,000 × $0.01

$10, plus tokens

Prices are per million tokens, so each total is divided by 1,000,000.

These figures use list Claude API pricing without any negotiated discounts.

The gap between models is large: the same support reply costs 20 times more on Sonnet 5.5 than on Haiku 5.5.

Many teams send simple requests to Haiku and escalate only the hard ones.

Our explainer on how an LLM router sends simple requests to cheaper models shows how that works.

How to track and cap your Claude API spend

Knowing Claude API pricing is only half of controlling a bill.

Every API response includes a usage object with the exact token counts it was billed for: input_tokens, output_tokens, cache_creation_input_tokens and cache_read_input_tokens.

Multiply each count by its rate and you have the cost of that request.

import anthropic

client = anthropic.Anthropic()  # Reads your ANTHROPIC_API_KEY

response = client.messages.create(
    model="claude-haiku-5-5",
    max_tokens=1024,
    messages=[
        {
            "role": "user",
            "content": "Summarize this ticket in one sentence: ..."
        }
    ],
    output_config={"effort": "low"},
)

u = response.usage

# Haiku 5.5 rates per million tokens (prompts up to 100,000 tokens)
cost = (
    u.input_tokens * 0.10
    + (u.cache_creation_input_tokens or 0) * 0.125
    + (u.cache_read_input_tokens or 0) * 0.01
    + u.output_tokens * 0.50
) / 1_000_000

print(f"{u.input_tokens} in, {u.output_tokens} out, ${cost:.6f}")

Log that figure per feature or per customer and you'll see which parts of your app drive the bill.

To stop a bill from running away, use the spend controls in the Claude Console.

According to Anthropic's rate limits documentation, each usage tier has a monthly spend cap: $500 on Start, $1,000 on Build and $200,000 on Scale.

You can also set your own, lower limit on the Billing page.

Workspaces let you give each project or team its own key and its own limits, so one runaway script can't use up the whole organization's budget.

Claude Code API pricing

Claude Code has no price list of its own.

You either use the usage included in a paid Claude plan, or you sign in with a Console API key and pay standard Claude API pricing for every token.

Anthropic's Claude Code cost guide says it "charges by API token consumption." Across enterprise deployments, the average is about $13 per developer per active day and $150 to $250 per developer per month, and 90% of users stay below $30 per active day.

Under Claude API pricing, coding sessions are expensive mainly on input because Claude rereads files and history, so prompt caching saves a lot here.

Model choice matters too: an Opus 5.5 session costs twice as much per token as a Sonnet 5.5 session.

If you're weighing other tools, see our roundup of AI coding assistants like Claude Code.

Claude Pro vs. API: which is cheaper

Claude plans and the API are billed separately.

People often search for Claude AI API pricing expecting one price list, but the Claude.ai apps and the API have different ones.

If you searched for “claude pricing API”, the per-token tables above are what you want. Plans give you the Claude apps and Claude Code with usage limits.

The API gives you per-token access for your own software.

Current plan prices on claude.com:

Plan

Price

Monthly API credits included

Free

$0

None

Pro

$20 a month, or $17 a month billed annually

None

Max

$100 a month

$100

Ultra (formerly Max 20x)

$200 a month

$200

Team

From $20 per seat a month, billed annually

$20 per Standard seat, $100 per Premium seat (capped at $500)

There's no special Claude Pro API pricing: a Pro plan doesn't include API access or credits.

The credits that come with Max, Ultra and Team cover the Claude API, Managed Agents, the Agent SDK and the Console Playground.

According to Anthropic's guide to API credits for subscribers, they don't cover Claude Code or cloud platforms, and unused credits expire each month.

So which is cheaper in the Claude Pro vs API pricing question?

A simple rule: if you chat with Claude or code with it yourself, a plan is usually cheaper and more predictable.

If you're building an app, an automation or a batch job, pay per token.

If you already pay for Max or Ultra, claim the API credits: they cover your first $100 or $200 of API use each month.

Claude API pricing on AWS, Google Cloud and Azure

Claude is also sold through cloud providers, and the bill works differently on each:

  • Amazon Bedrock and Google Cloud (Google managed): the cloud provider sets the prices and invoices you. Regional endpoints cost 10% more than global ones for Claude 4.5 and later.

  • Claude Platform on AWS and Claude in Microsoft Foundry: Anthropic's standard rates apply, billed through the marketplace in Claude Consumption Units. 100 CCUs equal $1.

If your company already has cloud commitments, buying Claude through them can be the cheaper route even when the Claude API pricing is the same.

ChatGPT vs Claude API pricing

At the budget end, Haiku 5.5's $0.10 / $0.50 ties with OpenAI's GPT-6 Luna, the cheapest model from a major US lab when we last compared them (November 19, 2026).

Prices on both sides change often, so we keep a dated side-by-side table in our guide to verified LLM API prices per million tokens, which compares Claude with OpenAI, Gemini, DeepSeek and others.

Reaching Claude through one OpenAI-compatible key

If you use Claude alongside other models, managing separate accounts, keys and invoices adds up.

ScriptRun's OpenAI-compatible API gives you one key for Claude, OpenAI and Gemini models. You switch providers by changing the model name, with automatic failover if a provider goes down.

Because the endpoint is OpenAI-compatible, existing OpenAI SDK code works by changing the base URL and key.

ScriptRun's rates differ from Anthropic's Claude API pricing, so check ScriptRun's Claude pricing page for current numbers, and there's a free plan to try it.


Helpful?
Share this article!

Build AI workflows in minutes

Create automations, connect APIs, and access 50+ AI models from a single platform.

Visual workflow builder
OpenAI-compatible API
Workflow marketplace & templates
Start free, plans from $5

FAQs about Claude API Pricing

How much does Claude API cost?

It costs between $0.10 and $8 per million input tokens and between $0.50 and $40 per million output tokens, depending on the model. Haiku 5.5 is the cheapest and Fable 5.2 is the most expensive current model. There's no monthly fee.

What is Claude API pricing?

Claude API pricing is Anthropic's pay-as-you-go rate for using Claude models in your own software, charged per million input and output tokens. Discounts apply for batch jobs and cached prompts.

What is the cost of Claude API?

For a typical short chatbot reply, about $0.00035 on Haiku 5.5 or $0.007 on Sonnet 5.5. A 50,000-token document analysis costs about $0.24 on Opus 5.5, or $0.12 through the Batch API.

How does Claude API pricing work?

You pay separately for input tokens (what you send), output tokens (what Claude writes) and cache tokens (repeated prompt prefixes). Usage is metered and billed monthly in USD.

How much do Claude API tokens cost?

Input tokens cost $0.10 to $8 per million and output tokens $0.50 to $40 per million on current models. Cache reads cost as little as $0.01 per million on Haiku 5.5.

How much does Claude API key cost?

Nothing. Creating an API key in the Claude Console is free. You pay only for the tokens and tools that your requests use, and new accounts get free credits to start.

How much does Claude Code API cost?

With an API key, Claude Code is billed at standard token rates. Anthropic reports an enterprise average of about $13 per developer per active day, or $150 to $250 per month.

Does Claude API cost money?

Yes. It's a paid, usage-based service. New users get free credits to test it, and Max, Ultra and Team subscribers get monthly API credits included with their plan.

How to reduce Claude API costs?

Choose the smallest model that does the job, lower the effort setting for routine tasks, cache repeated context, send non-urgent work through the Batch API, and cap output length. Set a monthly spend limit in the Claude Console so Claude API pricing never surprises you.

Read more from our blog

Related posts

AI WorkflowsAutomation
Zapier Alternatives: 8 Tools Compared on Price (2026)
BusinessDecember 4, 2026

Zapier Alternatives: 8 Tools Compared on Price (2026)

Zapier alternatives compared: what each tool costs, how it counts usage, a 10,000-action cost example, and open-source and enterprise picks.

1745
AnnaAnna
AI WorkflowsAutomation
LLM Vision API: Images & PDFs in OpenAI, Claude, Gemini
BusinessDecember 4, 2026

LLM Vision API: Processing Images and PDFs Across OpenAI, Claude, and Gemini

Run images and PDFs through OpenAI, Claude, and Gemini from one OpenAI-compatible LLM vision API. Includes Python and TypeScript base64 examples, 2026 token math, pre-resizing, JSON extraction, and async Workflow API batch jobs.

1717
James
AI WorkflowsAutomation
What Is OpenRouter? How It Works, Pricing and Limits (2026)
BusinessDecember 3, 2026

What Is OpenRouter? How It Works, Pricing and Limits (2026)

What is OpenRouter and should you use it? How the gateway works, what it costs, free limits, Auto Router and Fusion, privacy and who owns it.

1558
AnnaAnna
AI WorkflowsAutomation
OpenAI API Alternative: 8 Providers Compared for 2026
BusinessDecember 2, 2026

OpenAI API Alternative: 8 Providers Compared for 2026

Eight OpenAI API alternatives compared on current prices, speed, context and what changes when you switch, with a checklist and a gateway option.

1588
AnnaAnna
© 2024-2026 PIXEL LORIS IT SERVICES L.L.C. All rights reserved.