What you will be able to do
- Tell apart the levers that cut cost without losing quality from the levers that trade accuracy for speed and cost
- Choose an effort level for a workload and explain the choice using measured accuracy, cost and latency
- Back up a configuration with an effort sweep, cost per solved task, and the re-run-failures policy
Key concept
The cost-to-intelligence frontier — Some configuration choices make a workload cheaper or faster with no loss of quality. Others move it along a curve where every saving in latency or cost gives up some accuracy. To justify a configuration, first take every free win, then pick a point on the curve using your own measurements.
1.Two kinds of lever: free wins and real trade-offs
When you configure a Claude integration, you choose the model, the effort level and the architecture for each request. Anthropic's cost guidance sorts these choices into two groups. Free wins lower spend without touching quality: prompt caching, token hygiene, a prompt audit against the model you actually run, batch processing, and workspace spend limits. Trade-offs buy speed or savings with intelligence: model choice, effort, output caps and task budgets, an elapsed-time clock, and multi-model architectures.
This split decides the order in which you justify a configuration. Take the free wins first, because they move the workload toward the frontier at no cost to accuracy. Prompt caching was the largest lever Anthropic measured. Every turn of an agent loop resends the whole growing conversation, and caching bills that repeated prefix at a tenth of the input price. Only after the free wins are in place should you decide where on the accuracy-cost-latency curve the workload belongs.
One 'free' lever does cost something on the latency axis. Batch processing is 50% off, but only for work that can wait up to 24 hours. It suits overnight evaluation runs and is wrong for anything a user is waiting on.
| Lever | Kind | Effect on quality | Latency note |
|---|---|---|---|
| Prompt caching | Free win | None | Cached prefixes process faster |
| Batch processing (50% off) | Free win | None | Results can take up to 24 hours |
| Effort | Trade-off | Lower effort can cost accuracy | Lower effort is often faster |
| Model choice | Trade-off | Smaller tiers can fall short on hard work | Faster tiers respond sooner |
| Elapsed-time clock | Trade-off | Scores up to 1.9 points lower | Runs took 33% to 69% less time |
Checkpoint 1 of 8· Check yourself
A team wants to cut the cost of a customer-facing chat assistant without reducing answer quality, and users expect a reply within seconds. Which lever from the 'free wins' group does NOT fit this workload?
Batch processing leaves quality alone, but it trades latency for its discount: work must be able to wait up to 24 hours. Interactive chat cannot wait that long.
“Two caveats apply: batch processing trades latency for its discount”Source: platform.claude.com
Sources1
2.Effort: the main accuracy-latency dial within a single model
The effort parameter sets how many tokens Claude spends on a response, so one model can be tuned to be more thorough or more economical. You set it with output_config.effort. It applies to every output token: text, tool calls and their arguments, and thinking when it is active. That is why it works whether or not thinking is enabled, and why lower effort also means fewer and terser tool calls. Defaults vary by model. Most models default to high, but Claude Opus 5.5 defaults to medium.
Checkpoint 2 of 8· Fill the gap
Which request field sets the effort level in this call?
response = client.messages.create(
model="claude-opus-5-5",
max_tokens=4096,
messages=[
{
"role": "user",
"content": "Analyze the trade-offs between microservices and monolithic architectures",
}
],
? ={"effort": "medium"},
)Effort goes in output_config.effort on the request. It is not a thinking setting, and it shapes every output token, including tool calls.
Source: platform.claude.com| Level | Description | Typical use case |
|---|---|---|
| max | Absolute maximum capability with no constraints on token spending | Tasks requiring the deepest possible reasoning |
| xhigh | Extended capability for long-horizon work | Agentic and coding tasks running over 30 minutes |
| high | Spends as many tokens as the task needs | Complex reasoning, difficult coding, agentic tasks |
| medium | Balanced approach with moderate token savings | Agentic tasks balancing speed, cost, and performance |
| low | Most efficient; some capability reduction | Simpler tasks needing best speed and lowest cost, such as subagents |
Effort changes the bill in proportion to everything the model does, but it only improves accuracy for the part of that work your task actually needs. Whether a given step up in effort pays depends on the workload, and the measurements below show both shapes.
One latency caveat matters when you choose effort for speed. Effort controls thinking volume, not visible response length. On Claude Opus 5, changing effort does not reliably shorten responses, so if you need shorter visible output you should prompt for length instead of relying on a lower effort level.
| Benchmark | Model | Setting | Accuracy | Cost or time |
|---|---|---|---|---|
| WideSearch, DeepWideSearch, BrowseComp, GDPval | Claude Fable 5 | low | 1 to 3 points lower | A third to a half off cost per task |
| WideSearch, DeepWideSearch, BrowseComp, GDPval | Claude Fable 5 | medium | Matched the default | About 70% to 87% of the default's cost |
| DeepWideSearch | Claude Fable 5 | low | Also matched an orchestrator with a Claude Sonnet 5 worker | 4.5 minutes per problem against 7.9 at the default; 29% lower cost than the orchestrator |
| DeepResearch Bench II | Claude Fable 5.1 | low, medium, high | Nearly the same | Cost per task rose from $4.66 to $7.12 |
| SWE-bench Pro | Claude Opus 5.5 | medium | About 2.5 points lower than high | About 70% of the cost |
| SWE-bench Pro | Claude Opus 5.5 | low | About 8 points lower than high | About a third of the cost |
| SWE-bench Pro | Claude Opus 5.5 | xhigh | About 1.4 points higher than high | 2.5 times the cost |
The takeaway is to measure your own curve. You cannot tell from how hard a task sounds which shape its curve will have: research work was nearly flat, while long-horizon coding is where effort genuinely buys accuracy, and there lowering effort is a real trade-off.
The per-model guidance follows the same logic. On Claude Fable 5.1, step down to medium or low for routine or latency-sensitive work once your evals show quality holds. On Claude Sonnet 5.5, start chat and other latency-sensitive work at medium or low. If effort has to stay low for latency on a model that then reasons too shallowly, the Opus 4.7 guidance is to add targeted guidance such as telling the model the task involves multistep reasoning.
Checkpoint 3 of 8· Check yourself
A developer moves an integration from Claude Opus 5 to Claude Opus 5.5 and leaves out the effort parameter, as before. What changes?
Claude Opus 5.5 defaults to medium, while Claude Opus 5 and earlier Opus models default to high. A request that omits effort therefore runs one level lower. The guidance is to run a fresh effort sweep instead of carrying settings over.
“Claude Opus 5.5 supports all five effort levels, and medium is the default”Source: platform.claude.com
Checkpoint 4 of 8· Exam question
A team is building a real-time customer support chat feature that must respond within one to two seconds, handles a very high volume of simple intent-classification queries, and has a tight cost budget. Which model should they start with to satisfy the latency and cost requirements while keeping accuracy at an acceptable level for this task?
Correct answer: B — Claude Haiku 4.5
- A. Incorrect. Claude Opus 4.8 targets complex agentic coding and enterprise work with moderate comparative latency, which is more capability than a simple, high-volume classification task needs and adds unnecessary cost and delay.
- B. Correct. Claude Haiku 4.5 is described as the fastest model with near-frontier intelligence at the most economical price point, explicitly suited to real-time applications and high-volume, cost-sensitive workloads like this one.
- C. Incorrect. Claude Fable 5 is positioned as the most capable model for long-running agents with slower comparative latency and premium pricing, which does not match a latency-sensitive, cost-constrained classification workload.
- D. Incorrect. Claude Sonnet 5 offers a strong balance of speed and intelligence for frontier coding and agentic work, but it is not the most cost-effective or fastest option when the task itself is simple and volume is very high.
3.Justifying a setting: sweeps, cost per solved task, and re-running failures
Since the task description won't tell you which kind of curve you have, you justify a configuration with measurements, not intuition. Sweep two or three effort levels on a sample of your own traffic and read the answer off the curve. Run each level in a separate session, because changing top-level effort mid-session invalidates the prompt cache and distorts the comparison. That single-model curve is also the baseline any multi-model design has to beat. In Anthropic's measurements, a multi-model setup that looked cheaper than the default single model cost more than the same model at lower effort.
When comparing models, use cost per completed task, not cost per token. The same text costs about 30% more tokens on Claude Opus 4.7 and later, so a per-token comparison makes newer models look more expensive by construction. Model choice guidance agrees that tuning effort is often a better lever than switching models. The decision table gives the order of moves: if costs are too high and quality is fine, sweep effort down. If quality is not good enough, restore effort if you lowered it, and otherwise try the next tier up at low effort.
Two multi-model strategies pair a lower-cost model with a frontier model, and each pays off in a different situation. An advisor setup suits a lower-cost executor that stalls only on hard decisions. It pays off when the advisor is priced well above the executor and is actually consulted, so first price the advisor's model alone at low effort and measure the consult rate. An orchestrator setup suits work that exceeds one context window, where you delegate partitions to cheaper workers. Whichever you pick, justify it against the single-model effort curve.
Checkpoint 5 of 8· Check yourself
Quality on a workload is not good enough, and the team has not touched the model's default effort. According to the decision guidance, what should they try next?
Restoring effort only applies if it was lowered. Otherwise the guidance is to move up a tier and start that model at low effort, so you pay for capability instead of extra thinking.
“If you lowered effort, restore it; otherwise try the next tier up at low effort”Source: platform.claude.com
If the outcome can be checked by tests or a verifier, the cheapest policy is not a fixed effort level at all. Run every task at low and re-run only the failures at high. On the SWE-bench Pro subset with Claude Opus 5.5, about 97% of tasks passed for about $0.17 each, against 95.3% for $0.29 when everything ran at high. This policy depends on a reliable failure signal, since a checker that passes bad work lets those failures through. It also costs latency: every first-pass failure takes two runs of wall-clock time. That makes it a good fit for offline or asynchronous work, and a poor fit when a user is waiting on every task.
Checkpoint 6 of 8· Put it in order
Put the steps of the re-run-failures policy in order.
- 1.Check each result with a reliable failure signal, such as tests
- 2.Run every task at a low effort setting
- 3.Re-run only the failed tasks at a higher effort setting
The policy runs everything cheaply first and pays for higher effort only on tasks that a trustworthy checker marks as failed.
“run every task at a low setting and re-run only the failures at a higher one.”Source: platform.claude.com
Checkpoint 7 of 8· Check yourself
Why might the re-run-failures policy be the wrong choice for an interactive coding assistant, even though it lowers cost?
The saving is paid for in latency on the failed tasks. The pass rate actually held slightly above running everything at high in the measured run.
“every first-pass failure takes two runs' worth of wall-clock time, so the saving is paid for in latency on the failures.”Source: platform.claude.com
Checkpoint 8 of 8· Exam question
An engineering team runs many parallel subagents performing simple lookups inside a larger agentic workflow. They want to minimize latency and token cost per subagent call without materially degrading the quality needed for those simple lookups. Which effort configuration decision best matches this need?
Correct answer: A — Set effort to low for the subagent calls, since low effort is designed for simple, high-volume tasks like subagent lookups where speed and cost outweigh marginal quality gains.
- A. Correct. Documentation describes low effort as the most efficient setting, recommended for simpler tasks needing the best speed and lowest cost, explicitly including subagent tasks.
- B. Incorrect. Max effort removes constraints on token spending for the deepest possible reasoning, which is intended for frontier-difficulty problems, not narrowly scoped simple lookups, and would add unnecessary latency and cost.
- C. Incorrect. Xhigh is intended for long-horizon agentic and coding tasks with token budgets in the millions, which is a mismatch for a narrowly scoped, simple subagent lookup.
- D. Incorrect. Leaving effort at the high default does not address the stated goal of minimizing latency and token cost; high effort spends more tokens than necessary for simple lookups.
Exam traps
Each one states something that sounds right. Open it to see what is actually true.
1.Hard tasks always need high or max effort to be accurate.Why is that wrong?
Whether effort improves accuracy depends on the workload. On some demanding research benchmarks accuracy stayed flat across effort while cost rose, so you have to measure the curve.
Covered in Effort: the main accuracy-latency dial within a single model
2.When choosing between models, compare their per-token prices.Why is that wrong?
Newer models can use more tokens for the same text, and the deciding factor is how many tasks get solved. Compare cost per solved task.
Covered in Justifying a setting: sweeps, cost per solved task, and re-running failures
Sources
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligenceOfficial docs
“batch processing at 50% off for work that can wait up to 24 hours”
↩︎ Two kinds of lever: free wins and real trade-offs“In these runs, low took 4.5 minutes per problem on DeepWideSearch, compared with 7.9 minutes at the default.”
↩︎ Effort: the main accuracy-latency dial within a single model“xhigh scored about 1.4 points higher for 2.5 times the cost of high”
↩︎ Effort: the main accuracy-latency dial within a single model“sweep two or three effort levels on a sample of your own traffic and read the answer off the curve”
↩︎ Justifying a setting: sweeps, cost per solved task, and re-running failures“Test each level in a separate session: changing top-level effort mid-session invalidates the cache”
↩︎ Justifying a setting: sweeps, cost per solved task, and re-running failures“It pays off when priced well above the executor and actually consulted”
↩︎ Justifying a setting: sweeps, cost per solved task, and re-running failures“The work exceeds one context window”
↩︎ Justifying a setting: sweeps, cost per solved task, and re-running failures“Tradeoffs exchange cost for intelligence: model choice, effort, output caps and task budgets, an elapsed-time clock, and multi-model architectures.”
↩︎ Key concept“Hard work does not automatically need high effort.”
↩︎ Exam trap 1“Compare on cost per solved task, not per token”
↩︎ Exam trap 2“Two caveats apply: batch processing trades latency for its discount”
↩︎ Checkpoint“the default bought nothing measurable over medium on any of the four”
↩︎ Prediction“If you lowered effort, restore it; otherwise try the next tier up at low effort”
↩︎ Checkpoint“run every task at a low setting and re-run only the failures at a higher one.”
↩︎ Checkpoint“every first-pass failure takes two runs' worth of wall-clock time, so the saving is paid for in latency on the failures.”
↩︎ Checkpoint - 2.
“Because effort applies to every output token, it works whether or not thinking is enabled. Lower effort also means fewer and terser tool calls.”
↩︎ Effort: the main accuracy-latency dial within a single model“Effort controls thinking volume, not visible response length: on Claude Opus 5, changing effort does not reliably shorten responses, so prompt for length instead.”
↩︎ Effort: the main accuracy-latency dial within a single model“step down to medium or low for routine or latency-sensitive work once your evals show quality holds”
↩︎ Effort: the main accuracy-latency dial within a single model“Claude Opus 5.5 supports all five effort levels, and medium is the default”
↩︎ Checkpoint - 3.
“Tuning effort is often a better lever than switching models.”
↩︎ Justifying a setting: sweeps, cost per solved task, and re-running failures