Skip to content

Your agent pays twice for every search: how we cut token spend by 90+% with better accuracy#

AI Engineer Code Summit 2026 digest Program Adjacent pick 10–12 November 2026

Louis Walsh

  • Why: One of the better-substantiated cost results in the program: 12 frontier models, 11,000 blind-graded answers, >90% token-spend reduction with accuracy gains. Inference cost is a first-order constraint on agent workloads, and this quantifies where it actually goes.
  • What: Production traces showing that retrieval, not generation, dominates agent token bills (agents pay for whole pages when they need sentences, and re-pay on every loop turn), and the changes that fixed it. (from abstract only)
  • How: Return query-relevant passages instead of pages, tune extraction to the question, cap how much context the agent can take; measure cost per correct answer rather than per request, with an open calculator for readers to run on their own traffic.
  • Where applicable: General technique for any agent pipeline; the numbers are the speakers' own product but the methodology (blind grading across 12 models, cost-per-correct-answer) is the transferable part.