Build Once, Ask Many: How a Small Model Beat a Frontier Model at 1%of the Cost
Zhiyuan Ma , Sara Bolouki , Darsh Khandelwal
Agents that answer questions over large document collections usually re-read the documents for every question. We take a different approach. We process the collection once, before any question is asked. A frontier model writes quote-checked facts and a summary record for each group of documents, such as a law firm's client matters, and a full-text index covers every document. The agent then reads this output top-down through a few simple tools.
We test this on Harvey's LAB benchmark, where each question spans a law firm's documents. We keep the model, agent loop, and judge fixed and only add our tools. Small models gain the most: GPT-6 Luna fully passes 63 of 200 held-out tasks, compared with 32 without the pipeline. It also beats the much larger GPT-5.6 Sol (63 vs. 48) at about 1% of the cost per question. Frontier models mainly get cheaper, costing 36% to 62% as much per question with no significant change in accuracy. On small tasks of about eight documents, the gain is small and not significant. The one-time processing run costs about $564 and pays for itself after roughly 220 to 340 questions.