← Dorothy Merge Lab
Guides

Finding one fact should not cost as much as analyzing everything

Across three independent queries against documents, catalogs and structured records, the tested configuration recorded 97% lower API cost.

Ricardo Sargo·2 min read
CommentWhatsAppLinkedIn
Minutes · Catalog · Records · The facts that matter

Have you ever opened a huge spreadsheet just to find the value in one row? Or searched a catalog for a product code? The question is small, but the source containing the answer can be enormous. The same thing happens when we delegate that work to AI.

At the Dorothy Merge Lab, we wanted to understand the cost of retrieving specific information from different sources.

Three independent queries

In the November 25 test battery, we used three factual retrieval tasks: consulting fictional meeting minutes, finding information in a catalog, and locating a sales record. Each question required two correct facts.

We compared real Anthropic API calls using Sonnet directly against an experimental Dorothy Merge configuration using Haiku. The objective was to answer each question without turning it into a broader analysis.

What the records show

Both paths retrieved six out of six facts. The reference cost was US$0.02541; the optimized configuration recorded US$0.00076. That is a 97% reduction across these three queries.

Recorded input fell from 11,832 to 6,948 tokens, while output fell from 174 to 138. Combined call time went from 3.70 to 2.41 seconds. Alongside the difference in volume, model pricing contributed to the financial result.

Cost calculated in experiment records
97.0% lower cost
ReferenceUS$ 0.02541
Tested configurationUS$ 0.00076
Comparison of experiment records.

What this means in practice

Imagine an internal system used to locate product data, orders or administrative documents. Each individual search may seem insignificant in the budget. The sum of all those searches can change the equation.

A well-defined factual question lets us compare the work objectively: is the code correct? Is the value right? Does the answer refer to the requested record? That is an important advantage when measuring efficiency in information retrieval.

A way to evaluate your own usage

Choose a few searches you perform repeatedly and define what you need to find before running any AI. Compare cost, time and correct facts. The most interesting number is the one that shows how much useful work you can accomplish with the resources available.

Conclusion

All three queries retrieved six out of six facts in both workflows, with a 97% reduction in combined cost. The study demonstrates the potential of matching resources to factual retrieval.

Product development: The Anthropic optimization strategy was incorporated into the November 26 (UTC) API update, with cost savings measured on the laboratory query set.

Methodology and evidence

Applied techniqueModel selection and context reduction

Task-appropriate capacity for factual retrieval, with lower recorded input volume.

Evaluated task: Three independent queries to retrieve six facts from lab documents.

How we evaluated it: Same queries and fact-retrieval criteria; comparison of tokens, calculated cost and time.

Operation record (JSON)

Official provider documentation

View test report

Optimize your queries and data retrieval.

Try Dorothy Merge

Conversation with the author

Share your experience, ask a question or leave your thoughts on the article.

Loading interactions…

Keep exploring