Where ToolRecall cuts 34% billed at the median — and where it saves 0%.
ToolRecall targets one structural waste: agents re-sending large, quasi-static observations across multi-turn loops. Below are both our live billed coding endurance runs (Hermes / Django 5.1.4) and offline evaluations across 7 public non-coding datasets (GUI/ERP, deep research, SRE triage, data analysis, and support chat).
−92.5% prompt tokens, 20/20 solved in 80 steps) on live Playwright Enterprise ERP endurance−59.0% prompt tokens, 0 prefix-cache busts)$) on Spider 2.0 dbt SQL/analytics tasks$ on ITBench SRE & tau2-bench — high baseline cache & short chats don't pay off7 non-coding benchmarks: GUI/ERP and Deep Research win; short chat & one-off shell don't.
Replayed turn-by-turn on OpenRouter (deepseek/deepseek-v4.1-flash-1017) with real provider prefix caching and real billed $ (mcp_delta + dedup + Recall-Tier eviction).
| Domain & Dataset | Sample | Baseline Cost | With ToolRecall (Tokens) | With ToolRecall (Billed $) | Cache & Mechanism |
|---|---|---|---|---|---|
Live Playwright ERP EnduranceLocal ServiceNow-style 60-row portal (Chromium) |
20 tasks (80 steps, 20/20 solved) |
$0.110209 (8,153,956 tok) |
612,414 (−92.5%) | $0.011947 (−89.2%) | Prefix cache 86.7% → 68.1%; peak 222,244 → 14,650; checkpoint eviction + mcp_delta |
Enterprise ERP GUI (15–31 steps)McGill-NLP/agent-reward-bench (workarena) ↗ |
5 trajs (126 steps) |
$0.031853 (2,311,601 tok) |
162,206 (−93.0%) | $0.009579 (−69.9%) | Prefix cache 92.8% → 22.5%; 81/126 exact / 87/126 verb match |
Enterprise ERP GUI (4–15 steps)McGill-NLP/agent-reward-bench (workarena) ↗ |
5 trajs (40 steps) |
$0.008306 (365,356 tok) |
58,483 (−84.0%) | $0.003219 (−61.2%) | Prefix cache 62.9% → 11.6%; AX-tree deltas + eviction still beat cache by 61% |
Web GUI / CMSMcGill-NLP/agent-reward-bench (webarena) ↗ |
5 trajs (35 steps) |
$0.003599 (143,127 tok) |
29,682 (−79.3%) | $0.002146 (−40.4%) | Prefix cache 72.6% → 8.2%; append-only tr_delta saves −20.4% |
Web Research (GUI)McGill-NLP/agent-reward-bench (assistantbench) ↗ |
5 trajs (28 steps) |
$0.002034 (56,257 tok) |
19,222 (−65.8%) | $0.001462 (−28.1%) | Prefix cache 53.7% → 11.3%; AX-tree deltas + old page eviction |
Data Analytics / SQL (dbt)almogtavor/agent-traces (spider2-dbt) ↗ |
5 tasks (78 steps) |
$0.011125 (612,397 tok) |
326,667 (−46.7%) | $0.008984 (−19.2%) | Prefix cache 86.7% → 67.4%; 68/78 verb match |
Deep Research (Text/URLs)Nexdata-AI/Agent-Trajectory-Data-Sample (deepsearch-en) ↗ |
2 trajs* (29 steps) |
$0.008726 (569,125 tok) |
234,646 (−58.8%) | $0.007118 (−18.4%) | Prefix cache 87.3% → 40.8%; 29/29 exact action match |
SRE Incident Triageibm-research/ITBench-Trajectories ↗ |
5 scenarios (199 steps) |
$0.040684 (2,937,107 tok) |
2,198,335 (−25.2%) | $0.036640 (−9.9%) | Prefix cache 94.1% → 86.3%; 123/199 exact / 160/199 verb match |
Support / Telecom APIAgentSuite/tau2-bench-trajectories ↗ |
5 trajs (44 steps) |
$0.002934 (94,357 tok) |
93,129 (−1.3%) | $0.003092 (+5.4%) | Prefix cache 80.2% → 75.7%; short unique JSONs, 29/44 exact match |
deepseek/deepseek-v4.1-flash-1017, temperature=0) replaying recorded prefixes rather than live Docker/browser sandboxes, so end-to-end task pass rates are not re-scored. *Nexdata deepsearch-en sample split contains 2 English trajectories.
Django 5.1.4 Endurance (20-Bug & 60-Bug Continuous Sessions)
Stateless Hermes loop solving sequential Django 5.1.4 bugs in one continuous session with incremental_reads, mcp_delta, mcp_dedup, stabilize_prefix, and clean-file eviction (0 prefix-cache busts across all runs).
| Suite | Solved | Baseline Cost / Peak | tr_delta_dedup Cost / Peak |
Measured Saving |
|---|---|---|---|---|
Option A: Realistic offset/limit(20 bugs × 3 seeds) |
20/20 (s1, s2) 0/20 (s3) |
$0.1129 – $0.1366 (102.7K – 106.7K peak) |
$0.0802 – $0.1132 (64.3K – 100.1K peak) |
12.0% – 41.3% (median +$0.0229, crossover ~turn 33) |
Option B: Heavy Context (--full-reads)(20 bugs × 3 seeds) |
20/20 all 3 seeds | $0.1811 – $0.2099 (321.1K – 358.4K peak) |
$0.0425 – $0.0492 (61.6K peak → 35.9K–42.3K last) |
76.6% – 78.3% (median +$0.1553, crossover turn 7) |
| 60-Bug Neutral-Repo Endurance ( offset/limit, 299 vs 357 calls) |
60/60 both arms | $0.44616 (36.4M prompt tok, 159.8K peak) |
$0.21596 (14.9M prompt tok, 94.9K peak → 79.9K last) |
−51.6% billed cost (−59.0% prompt tokens) |
mcp_blob Suite(14 turns, CI log + schema blobs) |
3 seeds | $0.0075 – $0.0089 (46K peak) |
$0.0076 – $0.0084 (36K peak) |
−21% peak context (~11% cost saving on s1 & s3) |
When to deploy ToolRecall — and when to skip it.
Accessibility trees, DOM snapshots, and multi-bug coding sessions repeat 60–95% of their state across turns.
mcp_delta + dedup cuts 18–36% in <10 steps on GUI agents and 52–78% on 20–60 bug coding sessions.
Unique web fetches and one-off bash commands get 0% from exact dedup.
Value comes from Recall-Tier eviction (−82.8% on DeepSearch) and Failure Ledger (32.3% error rate in ITBench SRE).
Short conversational tool loops returning small unique JSONs (tau2-bench: −0.25%) and stateful coding CLIs (Claude Code / OpenCode interactive: ~0%) do not benefit from context dedup.