Imagine asking an AI tool to explain how a system works in three paragraphs. What you get is a short answer. But to write those three paragraphs, it may have needed to read several files, retrieve earlier information and carry out multiple stages of analysis.
It’s like asking someone to summarize a book. The summary may fit on one page, but the work needed to produce it involves much more than writing that page.
This difference helps explain why AI usage limits sometimes run out sooner than we expect. And it’s precisely this invisible work that we study at Dorothy Labs.
What is the AI consuming?
When we send a request, the provider counts small units of text called tokens. They can represent words, parts of words or other elements.
Input: everything the AI needs to understand
If you ask it to analyze a contract, the input includes the instructions, the contract and other content the tool needs to consider. If the work requires reading several documents, consumption can rise considerably.
Input cache: what can be reused
Imagine asking several questions about the same contract. When the provider can reuse the processing of an identical portion of earlier content, that’s what we call caching. It’s like keeping a book open at the right page instead of starting the search from scratch. Cached input is already included in the input and must not be added again.
Output: what the AI generates
Output is the content produced by the model. A short answer doesn’t necessarily mean low consumption, because the input can be much larger. That’s why we need to look beyond the text on the screen.
What we observed in two real tasks
On October 19, we recorded two task comparisons in the official Codex executor, using the Dorothy Merge technology available at the time. Both involved technical analysis of a software system, with no code changes. The answers were assessed against specific criteria, and both configurations met those criteria.
Across these two cases, 437,399 fewer tokens were consumed. That represents an aggregate reduction of 82.29% in these two tasks. Caching and execution steps also varied, two important factors in understanding consumption.
How much more work could that mean?
Let’s turn the first case into an easy comparison. Imagine a token budget sufficient to perform 100 tasks with the same consumption as the baseline. At the consumption recorded in the optimized configuration, that same budget would be equivalent to approximately 480 similar tasks.
That’s the point: consuming fewer resources per task can make room for more work within the same budget. Each provider calculates its subscription limits differently.
What does caching do to the bill?
With API billing, each category can have a different price. Let’s imagine a task with 100,000 input tokens and 2,000 output tokens, using fictional rates of R$ 10 per million uncached input tokens, R$ 1 per million cached input tokens and R$ 40 per million output tokens. All amounts are in Brazilian reais.
| Component | Without reuse | With 80% of input cached |
|---|---|---|
| Uncached input | 100,000 | 20,000 |
| Cached input | 0 | 80,000 |
| Output | 2,000 | 2,000 |
| Illustrative cost | R$ 1.08 | R$ 0.36 |
Notice that in this example, the total number of tokens stayed the same, but the cost changed. That’s one reason we need to assess consumption, caching, prices and quality separately.
What I’d like you to take away
The next time you ask AI to do a task, look beyond the length of the answer. Think about how many files it had to read, how many times you had to repeat the request and whether the work was completed to a good standard.
Dorothy Merge aims to help you make better use of AI resources. For us, what makes an optimization worthwhile isn’t simply an impressive number: it’s turning the available capacity into useful work.
Conclusion
The two analyses recorded a combined reduction of 82.29%, equivalent to 437,399 tokens, while meeting the defined criteria. The result demonstrates the importance of measuring completed work rather than answer length.
Product development: Historical results observed with the technology used on October 19.
References and methodology
Methodology and evidence
Dorothy Merge technology was used to reduce resource usage during technical analysis. Measurement covered the full task.
Evaluated task: Two technical analyses without code changes, performed in Codex.
How we evaluated it: Comparison of recorded total consumption and task-specific criteria met in both configurations.
