I built an engine to cut tokens by 30%. It spent 7% more.
RTK estimated a 33.3% reduction in tool outputs. The rest requires separating claims, retrieval cost, and context that grows back.
I built an engine to retrieve passages and cut token use by at least 30%. It used 7% more.
Correct answers went from 3 out of 12 to 9 out of 12. Retrieval improved. Token use did not.
This post separates what I measured, what came from a vendor benchmark, and what was not measured.
Tool output: RTK
RTK cut tool output before it reached the model. In the historical data, the aggregate result was 138,229 commands and an estimated 33.3% reduction. RTK estimates tokens by dividing bytes by four; this does not measure a reduction in the provider bill.
Aggregate history measurement: 138,229 commands. 2,144 oversized outputs were excluded from the percentage. Counts are bytes/4 estimates over tool outputs; they do not measure billed tokens or generated code.
Show data
| Input | 35,825,937 tokens |
|---|---|
| Output | 23,940,232 tokens |
| Reported savings | 11,939,810 tokens (33.3%) |
That total describes the history; it does not promise the same result on the next command. Outputs above about 30,000 characters were excluded, and I do not know which way that changes the result. The tool counter does not exactly equal input minus output; I publish the value it reports.
I used rtk gain for the historical summary and rtk proxy to view output without rewriting it. On already lean Markdown, RTK saved 0% on August 17.
The filter also failed, at a cost:
- On September 2, it cut the name of the failing test from
make testoutput. That resulted in three more runs of about 10 minutes each. - On September 12, it cut the passing-test total from a successful
pytest -qrun. - On another occasion, it rewrote a search command and returned results for a different query. I repeated a four-minute probe.
When output determines a conclusion, use proxy mode and check the exit code. A truncated listing also led me to conclude that dependencies were not installed. The suite existed and ran.
Prose and code: claims, not my measurements
With caveman active, prose becomes shorter. I have no valid before-and-after comparison: only ponytail was active on July 14; caveman appeared on July 25. On August 17, caveman cut 1% on a dense index.
In a June 18, 2026 benchmark, the ponytail vendor reported that caveman increased tokens by 7% and cost by 3%, and reduced lines of code by 20%. These are the vendor's numbers, not mine.
Ponytail advises avoiding unnecessary work and writing the minimum. In the June 18, 2026 benchmark, 12 tasks, four runs per alternative, and one open-source repository produced 78% of the baseline tokens, 80% of the cost, 73% of the time, and 46% of the lines of code. These are vendor claims, not my measurements, and cannot be compared with RTK. A reasoning model can respond to this guidance by writing more.
Loaded context and sessions
On July 9, a global configuration fell from 45 to 28 lines and from 5,682 to 3,151 bytes. In another measurement, the injected memory index fell from an estimate of 4,565 to about 1,117 tokens on July 1. Bytes and token estimates are different measures and should never be subtracted from each other.
Same file before and after trimming: global CLAUDE.md. Do not mix these bytes with token estimates from other files.
Show data
| Before | 5,682 bytes |
|---|---|
| After | 3,151 bytes |
One startup measurement rose from about 5,648 tokens on July 9 to 21,072 on September 16. In another measurement, the session ledger fell from about 33,000 tokens per start to about 1,600 on August 13. Short instructions and ledgers still need maintenance.
I use /clear to start a conversation without previous history and /compact to summarize it while preserving continuity. I have not measured savings from either. With /model, I choose the cheapest model that can handle the task. Switching transfers the work and token usage; it does not erase tokens.
Code maps and retrieval
On September 4, the Graphify code map cost about 775,000 tokens in one pass over this site. An update failed after marking its own work complete; the next run detected no changes. I did not measure reading savings. A stale map answers confidently and points to the wrong place.
I have written about using a map to decide where to look. The advice remains qualitative: read the code before deciding.
Retrieval increased correct answers from 3 out of 12 to 9 out of 12, but raised mean tokens per question from 204 to 218, or 7%. The measurement was taken on July 17 and 18, 2026.
Measured July 17 and 18, 2026, n=12 from one corpus. Passages were capped at 180 characters per chunk, affecting the savings-versus-reach trade-off.
Show data
| Previous search | 204 tokens |
|---|---|
| With retrieval | 218 tokens (+7%) |
Same set and period as the token panel: July 17 and 18, 2026, n=12. Correct answers rose from 3/12 to 9/12.
Show data
| Previous search | 3/12 (25%) |
|---|---|
| With retrieval | 9/12 (75%) |
The result depends on the set. In another test of 18 questions, both versions were 22% correct; retrieval used 13% fewer tokens. The author called that test poorly calibrated. I do not mix that result with the 12-question test.
In a July control, retrieval said information was missing for one of four questions, although the previous search had a direct passage. Early stopping never took effect. The goal of cutting 30% was not met.
Retrieval improved answers on that set but did not reduce context. For always-loaded files, separate instructions and knowledge and keep both under review.
Summary
RTK estimated 33.3% aggregate reduction in tool outputs, with exclusions and failures that require checking the evidence. That total does not predict the next command.
Caveman and ponytail have vendor-published results, but I have no valid comparison of my own. Their numbers are not comparable with RTK. I did not measure reading savings from code maps.
Retrieval cost 7% more tokens and raised correct answers from 3 out of 12 to 9 out of 12. It did not achieve the desired 30% reduction.
Keep startup files small, clear unrelated sessions, and check which model answered.

