What a Claude Haiku 5.5 coding-agent run costs
Short answer: Claude Haiku 5.5 costs $0.10 per million input tokens and $0.50 per million output tokens for requests whose prompt is up to 100,000 tokens, and $0.50 / $2.50 for requests with a longer prompt. A run that uses 120,000 input and 8,000 output tokens costs $0.016 if every request stays under the threshold and $0.080 if every request is over it. With a 30% markup that is $0.021 to $0.104 on the client's invoice.
Claude Haiku 5.5 list prices
| Token type | Prompt up to 100,000 tokens | Prompt over 100,000 tokens |
|---|---|---|
| Input | $0.10 | $0.50 |
| Output | $0.50 | $2.50 |
| Cache read (cache hit) | $0.01 | $0.05 |
| Cache write, 5-minute | $0.125 | $0.625 |
| Cache write, 1-hour | $0.20 | $1 |
The higher column applies per request: a request's prompt length counts all of its input tokens, cache reads and cache writes included. An agent that keeps each request under 100,000 tokens pays the lower prices.
Model id: claude-haiku-5-5. The Batch API is 50% cheaper on input and output ($0.05 / $0.25 per million tokens at the lower tier), but interactive coding agents do not run as batches.
Source: Anthropic's pricing page, checked 2026-11-26. Prices change; check the source before you quote a client.
What a run costs: three worked examples
A coding agent does not make one request. It sends the conversation again on every step, so input tokens add up quickly and prompt caching does most of the saving. These are example token counts, not measurements of any particular tool: put your own numbers from your usage report into the formula or the calculator. For Claude Haiku 5.5 each range runs from "every request under 100,000 prompt tokens" to "every request over it".
| Example run | Tokens | Cost at list price | Billed with 30% markup |
|---|---|---|---|
| Small fix | 30,000 input, 2,000 output | $0.004 – $0.020 | $0.005 – $0.026 |
| Calculator default | 120,000 input, 8,000 output | $0.016 – $0.080 | $0.021 – $0.104 |
| Long session with prompt caching | 50,000 input, 40,000 output, 200,000 cache write, 2,000,000 cache read | $0.070 – $0.350 | $0.091 – $0.455 |
The formula: cost = (input × input price + output × output price + cache writes × cache-write price + cache reads × cache-read price) ÷ 1,000,000. "Calculator default" is the run that eBRBe's AI agent cost & markup calculator opens with.
The same run on other Claude models
| Model | Input / M | Output / M | Cache read / M | 120,000 in + 8,000 out |
|---|---|---|---|---|
| Claude Opus 5.5 | $4 | $20 | $0.20 | $0.640 |
| Claude Sonnet 5.5 | $2 | $10 | $0.10 | $0.320 |
| Claude Haiku 5.5 | $0.10 | $0.50 | $0.01 | $0.016 – $0.080 |
| Claude Opus 5 | $5 | $25 | $0.50 | $0.800 |
| Claude Sonnet 5 | $2 | $10 | $0.20 | $0.320 |
| Claude Haiku 4.5 | $1 | $5 | $0.10 | $0.160 |
All six on one page: Claude model cost per coding-agent run.
What to bill the client
- At cost: the provider's charge, shown as its own "AI usage" line. The most transparent option.
- Cost plus a stated markup: pays for choosing, running and reviewing the agent's work. The examples above use 30%.
- A fixed price per deliverable, or absorbed in the fee: simpler for the client; you carry the risk of a long run.
Agree the rule in the contract before the first invoice. Our guide to billing AI agent costs compares the options, and there are tool-specific guides for Cursor and OpenAI Codex.
Frequently Asked Questions
How much does Claude Haiku 5.5 cost per million tokens?
$0.10 input and $0.50 output per million tokens for requests whose prompt is up to 100,000 tokens; $0.50 input and $2.50 output for requests with a longer prompt (Anthropic list prices, checked 2026-11-26).
When does the higher Claude Haiku 5.5 price apply?
Per request, when the prompt is over 100,000 tokens. The prompt length counts all input tokens, including cache reads and cache writes.
How is cached input priced on Claude Haiku 5.5?
Reading from the prompt cache costs $0.01 per million tokens. Writing to the 5-minute cache costs $0.125 per million tokens, and a 1-hour cache write costs twice the base input price ($0.20) at the lower tier.
How do I work out what one Claude Haiku 5.5 agent run cost?
Take the run's token counts from your usage report and multiply each by its price: input, output, cache writes and cache reads, each divided by one million. Add the four numbers.
Can I pass this cost on to a client?
Yes, if the contract says so. Agree whether AI usage is billed at cost, at cost plus a stated markup, at a fixed price or absorbed, and show it as its own invoice line.
Put it on the invoice
eBRBe records what each agent run cost, adds your markup, and puts it on the same client invoice as your hours. Its built-in price table covers the Claude models on this page, so a run logged with its token counts is costed for you. Free for up to 3 people; paid plans from $9 per member a month, with a 14-day trial.
View eBRBe Pricing & Free Plan →