Claude API Pricing: 16 Anthropic Models Tested on the Same Request

Compare 16 Claude models on one support ticket. See their replies, billed costs, and token rates, then calculate what the same workload would cost per month.
Claude API rates per million input and output tokens for Haiku, Sonnet, Opus, and Fable.

Rates checked December 2, 2026 · USD · Standard token rates

Claude Haiku 5.5 starts at $0.10 per million input tokens and $0.50 per million output tokens. For the same units, Sonnet 5.5 costs $2 input and $10 output; Opus 5.5, $4 and $20; and Fable 5.2, $8 and $40.

We sent the same disputed-charge ticket to 16 Claude models through AI/ML API. Haiku 5.5 charged $0.000185 to recommend closing it. Fable 5.2 gave the same recommendation for $0.010440. Below, you can compare every reply with its receipt and see what those charges would mean at your ticket volume.

TL;DR

  • Haiku 5.5 gave the cheapest correct answer to our billing ticket: $0.000185 to recommend closing it. Fable 5.2 made the same call for $0.01044, about 56 times as much.
  • Fourteen of the 16 models recommended the same decision. Haiku 4.5 and Sonnet 4.6 called for an investigation even though the second $24 charge had already been reversed.
  • A one-line answer can still use hundreds of billed output tokens. Haiku 5.5 used 346 on this request; Sonnet 5 used 41. When estimating your own costs, use the token counts on the receipt rather than the length of the visible reply.
  • At 10,000 tickets a month, repeating each model’s measured usage would cost $1.85 with Haiku 5.5, $6.46 with Sonnet 5, or $104.40 with Fable 5.2. All three reached the correct decision on this ticket.

Claude API pricing by model on AI/ML API

These are AI/ML API’s public list prices in US dollars per million tokens. Use the input column for uncached text you send and the output column for tokens the model generates.

Claude modelInput / 1MOutput / 1M
Haiku 5.5 · under 100,000 input tokens$0.10$0.50
Haiku 5.5 · 100,000+ input tokens$0.50$2.50
Sonnet 5.5 and 5$2$10
Opus 5.5$4$20
Fable 5.2$8$40
Fable 5.1 and 5$10$50
Opus 5, 4.7 and 4.6$5$25
Opus 4.8 and 4.5$5.29$26.45
Sonnet 4.6$3.174$15.87
Haiku 4.5$1.058$5.29
Sonnet 4.5$3.174$15.87
Opus 4.1$15.87$79.35

If you use an older Claude model, check the ID in your request before setting a budget. For Sonnet 4.6, even the punctuation matters. The gateway catalog lists $3.174 / $15.87 for anthropic/claude-sonnet-4.6 and $3 / $15 for anthropic/claude-sonnet-4-6. We tested the latter. The calculator uses the recorded charge when you select that reply.

What did 16 Claude models charge to resolve the same ticket?

A customer reports two $24 charges. The ledger shows that one charge was reversed, and the customer confirms only one remains. Your support agent needs a one-line answer: issue a refund, investigate, or close the ticket?

We sent the same prompt to 16 Claude versions through AI/ML API and compared one completed reply per model. Start with the lowest and highest bills: did paying more change what the support agent should do?

All 16 models returned answers through AI/ML API. Fourteen told the agent to close the ticket. Haiku 4.5 and Sonnet 4.6 told the agent to check the statement again, even though the ledger showed a reversal and the customer confirmed only one charge remained. Those replies ask for another check on a dispute the ledger already resolves. The 16 completed calls cost $0.0462885 altogether. This was one billing decision, not a general model ranking. For programming tasks, see our comparison of Claude models for coding.

Claude API cost calculator: what would these models cost per month?

Keep the same two models and enter how many tickets your team handles. The calculator multiplies each recorded charge by your volume. It assumes one completed call per ticket with the same token usage.

The cheapest and most expensive calls both closed the ticket. At 10,000 repetitions of those calls, Haiku 5.5 would cost $1.85 and Fable 5.2 would cost $104.40. Different tickets can produce different answers and token counts.

Uncached token cost in dollars = (input tokens × input rate + output tokens × output rate) ÷ 1,000,000.

For a longer ticket, suppose Sonnet 5.5 reads 2,000 tokens and writes a 200-token summary. The input costs $0.004 and the output costs $0.002, or $0.006 per ticket. At 10,000 tickets a month, that’s $60 for one call per ticket. If your app classifies each ticket and drafts a reply in separate calls, count both.

For a production budget, take prompt_tokens and completion_tokens from the usage field in an AI/ML API chat response. Include any instructions and conversation history your app sends. Measure again when you switch models: how text splits into tokens can vary by tokenizer.

Claude long-context pricing: the Haiku 5.5 threshold

A long email thread can push a single Haiku 5.5 call into a higher price tier. For budgeting, AI/ML API’s catalog starts that tier at 100,000 input tokens: $0.50 per million input and $2.50 per million output, instead of $0.10 and $0.50. Apply the rate to the whole request, not just the tokens above the threshold. See the Haiku 5.5 model page.

If most of your tickets are short but a few include a full email archive, estimate those two groups separately. A monthly average can hide the expensive requests. For Sonnet 5.5, Opus 5.5, and Fable 5.2, a longer prompt uses more tokens without that Haiku price jump.

Claude prompt caching costs: when a cache hit pays off

Suppose every ticket starts with the same 10,000-token handbook. Put the handbook first and the changing ticket after it. With prompt caching enabled, you pay to write the shared prefix once and pay a lower rate when a later request reuses it before expiry. The new ticket and the generated reply still have their own charges.

On Sonnet 5.5, sending the handbook twice without caching costs $0.040. A five-minute cache write costs $0.025 for those 10,000 tokens, and a hit on the second call adds $0.001: $0.026 for the handbook across both calls. If the second ticket arrives after expiry, that calculation no longer holds. Check the response’s cache-usage breakdown for a hit. For tickets further apart, a one-hour write costs $4 per million tokens, versus $2.50 for five minutes.

Claude Batch API pricing on AI/ML API

AI/ML API charges 50% of list price for supported Claude batches. On Sonnet 5.5, that’s $1 per million input tokens and $5 per million output tokens, versus $2 and $10 for live calls. At those rates, the 10,000-ticket summary job above costs $30 instead of $60.

Batching means submitting independent requests together and collecting the answers later. For an overnight export, put one ticket per line in a JSONL file, use the same model for every line, and give each request its own custom_id. Upload the file with purpose=batch, then send its file ID to POST /v1/batches. When the job ends, download the results and match each summary to its ticket by ID. Allow up to 24 hours; keep live calls for customers waiting on a reply.

Claude API web search pricing: cost per search

On the Sonnet 5.5 chat route, AI/ML API lists its built-in web search tool at $0.01 per search, in addition to tokens. If Claude makes three searches to answer one ticket, the searches alone add $0.03. Budget for tool calls rather than messages: one message can trigger several searches.

Claude vision API pricing: what does it cost to read an image?

When Claude reads a screenshot, you pay for the image as input tokens and for the answer as output tokens. There’s no flat fee per screenshot. If a screenshot adds 1,000 input tokens to a Sonnet 5.5 request, it adds $0.002 before the reply. Count the image at its actual size using the model you’ll deploy; see the Sonnet 5.5 model page.

How to reduce Claude API costs per completed task

Start with what the user needs back. For an inbox that only needs a label, dropping a 600-token reply to 200 tokens saves $40 per 10,000 tickets on Sonnet 5.5. Leave room for reasoning as well as the visible reply. Count retries when comparing cost per usable result. For a second example, our DeepSeek pricing test compares two models that made the same 24 order decisions but used very different numbers of output tokens.

How to reduce Claude API costs with Jev Router on AI/ML API

If every request currently goes to Opus, you pay Opus rates even to label a ticket. To try Jev Router, set model to typesafe/jev-router in your usual POST /v1/chat/completions request. Jev rates the task as light, standard, or heavy and picks the cheapest model in that tier that supports the request. If it fails, the next eligible model in the same tier can take over. The default pool includes non-Claude models; keep a fixed Claude ID when Claude is a requirement.

Try routing routine support labels while keeping a sample of difficult billing disputes for comparison. Check meta.model to see which model answered. Add the answering model’s charge and the separately billed Jev decision, then compare the total per correct answer with sending that sample straight to Opus. Our Jev Router cost comparison shows how the mix of easy and hard requests changes the bill. The 16 receipts in this article are for calls to named Claude models, not to the router.

Claude API pricing FAQ

Does Claude Pro include API usage?

No. A Claude Pro subscription does not fund an AI/ML API key. Requests made with that key use your AI/ML API balance.

How much do one million Claude Sonnet 5.5 tokens cost?

At standard rates, one million uncached input tokens cost $2; one million output tokens cost $10. If your dashboard reports one million tokens in total, the split matters. For example, 900,000 input and 100,000 output cost $1.80 plus $1.00, or $2.80.

Where can I check my actual Claude API spend?

For AI/ML API, match the request ID in your app logs to the request log, or use the usage report for totals by period. If spend is higher than expected, check the number of calls, then output tokens, cache writes, and paid tool use.

Can I set a spending limit for Claude on AI/ML API?

Yes. In the AI/ML API key settings, set a spending limit and choose when it resets. A no-reset limit is useful for a one-off experiment; a monthly limit suits an ongoing project.

Do Claude reasoning tokens count toward output costs?

Yes. The Haiku 5.5 reply in the showcase used 346 output tokens, including 307 reasoning tokens. Use the completion-token count from the response rather than the length of the visible reply.

Can I estimate Claude API costs before sending a prompt?

Yes for a budget, not for an exact bill. Count the input and set an expected output length. Calculate a second estimate using your maximum output allowance so you know what a longer answer would cost.

Share with friends

Ready to get started? Get Your API Key Now!

Get API Key