Beta
Download

Research

Updated October 30, 2026

AutoRouter, the Mac app for Codex and Claude Code, measures what AI models cost and how well they do on real tasks, and publishes every run. Each finding on this page is one sentence you can quote as written, with its date, its chart and a link to a method that was published before the first run.

The findings, charts and data are free to reuse under CC BY 4.0. Credit AutoRouter and link to this page, and every chart has embed code that does both for you.

Claude Code task costs

On October 28, 2026, AutoRouter ran five everyday Claude Code tasks three times each on Claude Opus 5.5, Claude Sonnet 5.5 and Claude Haiku 5.5 in the same Python repository and recorded the tokens and list-price cost of every run. The write-up is what common Claude Code tasks cost, measured on each model, the method is in method.md, and the Claude Code cost calculator turns the results into a monthly estimate. For any other workload, the Claude API cost calculator prices it on every current Claude model with and without prompt caching.

Cost of an average Claude Code task

An average Claude Code task cost $0.110 on Claude Opus 5.5, $0.049 on Claude Sonnet 5.5 and $0.0044 on Claude Haiku 5.5 at Anthropic's list prices, in 45 runs of five everyday tasks that AutoRouter measured on October 28, 2026.

Cost per task on each model. Commit message: $0.082 on Opus 5.5, $0.034 on Sonnet 5.5, $0.0024 on Haiku 5.5; rename across files: $0.097, $0.038, $0.0037; tests for one module: $0.125, $0.062, $0.0055; fix a failing test: $0.078, $0.040, $0.0032; multi-file refactor: $0.168, $0.070, $0.0072. Mean of 3 runs per task and model at list prices, October 28, 2026. Cost per task on each model. Commit message: $0.082 on Opus 5.5, $0.034 on Sonnet 5.5, $0.0024 on Haiku 5.5; rename across files: $0.097, $0.038, $0.0037; tests for one module: $0.125, $0.062, $0.0055; fix a failing test: $0.078, $0.040, $0.0032; multi-file refactor: $0.168, $0.070, $0.0072. Mean of 3 runs per task and model at list prices, October 28, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#claude-code-cost-per-task"><img src="https://autorouter.com/blog/images/claude-code-task-costs-measured/2-cost-per-task.png" alt="Cost per task on each model. Commit message: $0.082 on Opus 5.5, $0.034 on Sonnet 5.5, $0.0024 on Haiku 5.5; rename across files: $0.097, $0.038, $0.0037; tests for one module: $0.125, $0.062, $0.0055; fix a failing test: $0.078, $0.040, $0.0032; multi-file refactor: $0.168, $0.070, $0.0072. Mean of 3 runs per task and model at list prices, October 28, 2026." width="960" height="598" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#claude-code-cost-per-task">AutoRouter, Claude Code task costs by model, October 2026</a> (CC BY 4.0)</figcaption></figure>

Claude Code tasks per dollar

One dollar bought about 9 everyday Claude Code tasks on Claude Opus 5.5, 20 on Claude Sonnet 5.5 and 228 on Claude Haiku 5.5 at Anthropic's list prices in October 2026, and every one of the 45 measured runs passed its automatic check.

What $1 buys in Claude Code: 9 tasks on Claude Opus 5.5, 20 on Claude Sonnet 5.5 and 228 on Claude Haiku 5.5. Average of 45 runs of 5 everyday tasks at Anthropic's list prices, October 28, 2026. What $1 buys in Claude Code: 9 tasks on Claude Opus 5.5, 20 on Claude Sonnet 5.5 and 228 on Claude Haiku 5.5. Average of 45 runs of 5 everyday tasks at Anthropic's list prices, October 28, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#claude-code-tasks-per-dollar"><img src="https://autorouter.com/blog/images/claude-code-task-costs-measured/1-what-a-dollar-buys.png" alt="What $1 buys in Claude Code: 9 tasks on Claude Opus 5.5, 20 on Claude Sonnet 5.5 and 228 on Claude Haiku 5.5. Average of 45 runs of 5 everyday tasks at Anthropic's list prices, October 28, 2026." width="960" height="477" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#claude-code-tasks-per-dollar">AutoRouter, Claude Code task costs by model, October 2026</a> (CC BY 4.0)</figcaption></figure>

Price per token against cost per task

Claude Opus 5.5's input, output and cache-write prices are 40 times Claude Haiku 5.5's, but an everyday Claude Code task cost 25 times as much on Opus 5.5, because Haiku 5.5 took 1.5 times as many turns and wrote 1.7 times as much output to finish the same work.

Claude Opus 5.5 as a multiple of Claude Haiku 5.5: 40 times the price per token, 25 times the cost per task. 15 runs each, October 28, 2026. Claude Opus 5.5 as a multiple of Claude Haiku 5.5: 40 times the price per token, 25 times the cost per task. 15 runs each, October 28, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#opus-haiku-price-gap"><img src="https://autorouter.com/blog/images/claude-code-task-costs-measured/3-price-gap.png" alt="Claude Opus 5.5 as a multiple of Claude Haiku 5.5: 40 times the price per token, 25 times the cost per task. 15 runs each, October 28, 2026." width="960" height="426" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#opus-haiku-price-gap">AutoRouter, Claude Code task costs by model, October 2026</a> (CC BY 4.0)</figcaption></figure>

Prompt cache writes in Claude Code

Writing the prompt cache was the largest part of Claude Code's cost on every model AutoRouter measured in October 2026: 63% of the list-price bill on Claude Opus 5.5, 66% on Claude Sonnet 5.5 and 51% on Claude Haiku 5.5.

Where a commit message's money goes. Opus 5.5: cache writes 69%, output 17%, cache reads 14% of $0.082; Sonnet 5.5: cache writes 76%, output 11%, cache reads 13% of $0.034; Haiku 5.5: cache writes 66%, output 14%, cache reads 20% of $0.0024. October 28, 2026. Where a commit message's money goes. Opus 5.5: cache writes 69%, output 17%, cache reads 14% of $0.082; Sonnet 5.5: cache writes 76%, output 11%, cache reads 13% of $0.034; Haiku 5.5: cache writes 66%, output 14%, cache reads 20% of $0.0024. October 28, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#prompt-cache-share"><img src="https://autorouter.com/blog/images/claude-code-task-costs-measured/4-where-the-money-goes.png" alt="Where a commit message's money goes. Opus 5.5: cache writes 69%, output 17%, cache reads 14% of $0.082; Sonnet 5.5: cache writes 76%, output 11%, cache reads 13% of $0.034; Haiku 5.5: cache writes 66%, output 14%, cache reads 20% of $0.0024. October 28, 2026." width="960" height="485" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#prompt-cache-share">AutoRouter, Claude Code task costs by model, October 2026</a> (CC BY 4.0)</figcaption></figure>

Prompt cache length with an API key

With an API key, Claude Code writes the five-minute prompt cache at 1.25 times the input price instead of the one-hour cache at twice the input price, and the same 45 runs would have cost 24% less on Claude Opus 5.5, 25% less on Claude Sonnet 5.5 and 19% less on Claude Haiku 5.5.

Link to this finding

Deep research writers

On October 28 and 29, 2026, AutoRouter ran a trial of DeepResearch Bench on 20 of its tasks to find which step of a deep research task needs the strongest model. The trial used a substitute grader, so its scores compare within the study and don't belong on the benchmark's leaderboard. The write-up is which step of a deep research task needs the strongest model?, and the method is in method.md.

A cheaper model writing the report

Writing deep research reports from the same Claude Opus 5.5 research notes, Claude Sonnet 5.5 scored 0.88 points and Claude Haiku 5.5 scored 1.04 points below Opus 5.5 on DeepResearch Bench's RACE score, where Opus 5.5 averaged 53.15, in AutoRouter's 20-task trial in October 2026.

RACE score change against Opus 5.5 doing both steps. Sonnet writes: minus 0.88; Haiku writes: minus 1.04; Fable writes: minus 0.26; Haiku does both: minus 3.41. 20 DeepResearch Bench tasks graded by GPT-6.1 Sol, October 29, 2026. RACE score change against Opus 5.5 doing both steps. Sonnet writes: minus 0.88; Haiku writes: minus 1.04; Fable writes: minus 0.26; Haiku does both: minus 3.41. 20 DeepResearch Bench tasks graded by GPT-6.1 Sol, October 29, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#cheaper-writer-score"><img src="https://autorouter.com/blog/images/cheaper-model-deep-research-reports/1-score-change.png" alt="RACE score change against Opus 5.5 doing both steps. Sonnet writes: minus 0.88; Haiku writes: minus 1.04; Fable writes: minus 0.26; Haiku does both: minus 3.41. 20 DeepResearch Bench tasks graded by GPT-6.1 Sol, October 29, 2026." width="960" height="557" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#cheaper-writer-score">AutoRouter, Cheaper writers for deep research reports, October 2026</a> (CC BY 4.0)</figcaption></figure>

The research step sets the ceiling

When Claude Haiku 5.5 did the web research as well as the writing, its deep research reports scored 3.41 points below Claude Opus 5.5's and fell below Opus 5.5 on 19 of 20 tasks, so the research step set the quality of the report.

Each task's RACE score change against Opus 5.5 writing, one dot per task, for Sonnet writes, Haiku writes, Fable writes and Haiku does both. Means: minus 0.88, minus 1.04, minus 0.26 and minus 3.41. 20 DeepResearch Bench tasks, October 29, 2026. Each task's RACE score change against Opus 5.5 writing, one dot per task, for Sonnet writes, Haiku writes, Fable writes and Haiku does both. Means: minus 0.88, minus 1.04, minus 0.26 and minus 3.41. 20 DeepResearch Bench tasks, October 29, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#research-step-quality"><img src="https://autorouter.com/blog/images/cheaper-model-deep-research-reports/2-every-task.png" alt="Each task's RACE score change against Opus 5.5 writing, one dot per task, for Sonnet writes, Haiku writes, Fable writes and Haiku does both. Means: minus 0.88, minus 1.04, minus 0.26 and minus 3.41. 20 DeepResearch Bench tasks, October 29, 2026." width="960" height="589" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#research-step-quality">AutoRouter, Cheaper writers for deep research reports, October 2026</a> (CC BY 4.0)</figcaption></figure>

Where a deep research report's cost goes

Research was most of the cost of a deep research report: at list prices in October 2026, Claude Opus 5.5 spent $5.27 per report on research and $0.488 on writing, so the writing step was 8.5% of the $5.76 total.

What one report cost. Opus to Opus: research $5.27, writing $0.488, $5.76 in all; Opus to Sonnet: $5.48; Opus to Haiku: $5.29; Opus to Fable: $6.42; Haiku to Haiku: $0.38. List prices, 20 DeepResearch Bench tasks, October 29, 2026. What one report cost. Opus to Opus: research $5.27, writing $0.488, $5.76 in all; Opus to Sonnet: $5.48; Opus to Haiku: $5.29; Opus to Fable: $6.42; Haiku to Haiku: $0.38. List prices, 20 DeepResearch Bench tasks, October 29, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#deep-research-cost-split"><img src="https://autorouter.com/blog/images/cheaper-model-deep-research-reports/3-report-cost.png" alt="What one report cost. Opus to Opus: research $5.27, writing $0.488, $5.76 in all; Opus to Sonnet: $5.48; Opus to Haiku: $5.29; Opus to Fable: $6.42; Haiku to Haiku: $0.38. List prices, 20 DeepResearch Bench tasks, October 29, 2026." width="960" height="577" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#deep-research-cost-split">AutoRouter, Cheaper writers for deep research reports, October 2026</a> (CC BY 4.0)</figcaption></figure>

The most expensive writer

Claude Fable 5.1 cost 2.4 times as much as Claude Opus 5.5 to write a deep research report from the same notes, scored 0.26 points lower, and made 4.22 unsupported claims per 1,000 words against Opus 5.5's 2.78, in AutoRouter's October 2026 trial.

Unsupported claims per 1,000 words of report: Opus 2.78, Sonnet 2.38, Haiku 2.48, Fable 4.22, Haiku doing both 2.51. Checked against the research notes by GPT-6.1 Sol, 20 DeepResearch Bench tasks, October 29, 2026. Unsupported claims per 1,000 words of report: Opus 2.78, Sonnet 2.38, Haiku 2.48, Fable 4.22, Haiku doing both 2.51. Checked against the research notes by GPT-6.1 Sol, 20 DeepResearch Bench tasks, October 29, 2026.
Link to this finding
Embed code
<figure><a href="https://autorouter.com/research#fable-writer"><img src="https://autorouter.com/blog/images/cheaper-model-deep-research-reports/4-unsupported-claims.png" alt="Unsupported claims per 1,000 words of report: Opus 2.78, Sonnet 2.38, Haiku 2.48, Fable 4.22, Haiku doing both 2.51. Checked against the research notes by GPT-6.1 Sol, 20 DeepResearch Bench tasks, October 29, 2026." width="960" height="750" style="max-width:100%;height:auto"></a><figcaption>Chart: <a href="https://autorouter.com/research#fable-writer">AutoRouter, Cheaper writers for deep research reports, October 2026</a> (CC BY 4.0)</figcaption></figure>

Embed a chart

Every chart on this page has embed code under it. Paste the code into any page or post and the chart loads from autorouter.com with its source line and a credit link, so the license is met as published. Each chart also has a dark version at the same address with -dark before .png.

The charts are drawn at 1,920 pixels wide and stay sharp at any column width. Their source line names the study and its date, so a cropped screenshot still carries its context.

Cite the data

Quote a finding with the button under it, which copies the sentence with its source and link. For a paper or a report, cite the study's post as the source and the data file as the dataset:

@misc{autorouter2026claudecodecosts,
  author       = {{AutoRouter}},
  title        = {What common Claude Code tasks cost, measured on each model},
  year         = {2026},
  month        = oct,
  publisher    = {Fractal Works, Inc.},
  howpublished = {\url{https://autorouter.com/blog/claude-code-task-costs-measured}},
  note         = {Dataset under CC BY 4.0: https://autorouter.com/studies/claude-code-task-costs/results.csv}
}

@misc{autorouter2026deepresearchwriters,
  author       = {{AutoRouter}},
  title        = {Which step of a deep research task needs the strongest model?},
  year         = {2026},
  month        = oct,
  publisher    = {Fractal Works, Inc.},
  howpublished = {\url{https://autorouter.com/blog/cheaper-model-deep-research-reports}},
  note         = {Dataset under CC BY 4.0: https://autorouter.com/studies/cheaper-model-deep-research-reports/results.jsonl}
}

Datasets

Study Measured Runs Files
Claude Code task costs by model October 28, 2026 45 CSV, JSON Lines, method
Cheaper writers for deep research reports October 28 and 29, 2026 140 JSON Lines, method

Both datasets are under CC BY 4.0 and can be fetched from any origin, so a notebook or a chart on another site can read them directly.

Questions

Can I use these numbers and charts in my own article?

Yes. The findings, charts and data are published under CC BY 4.0, so you can quote, embed and adapt them, including commercially, as long as you credit AutoRouter and link to this page or the study's post.

How were the studies run?

Each study's method was written down and published before its first counted run, and every run is in the published data. Costs are Claude Code's own list-price estimates for the tokens each run used; the runs used a Claude subscription, so no one paid these amounts per call.

Do these results measure AutoRouter's routing?

No. Every run used one fixed model, or a fixed pair for the deep research trial, with no router in between, so the studies measure the models themselves. AutoRouter doesn't publish routing benchmarks yet.

Who can I ask about the data?

Write to support@autorouter.com with questions about a study, a correction or a request for the raw files in another format.