Search API costs were $17.52 in simulation compared with $4,548 on the live web during research agent training runs. When organizations train deep research systems using reinforcement learning, outsourcing document lookups to third-party commercial search engines introduces steep financial drains, severe rate limits, and latency spikes that halt scalable deployment.

Today, training a single deep research agent through reinforcement learning involves repeatedly answering questions, searching, and evaluating answers based on precise criteria. Because an individual research attempt routinely executes over 100 tool queries, an entire training phase generates roughly 10 million search queries. Under that architecture, external search fees alone reached around $5,000 per training run for the original DR Tulu, turning third-party query limits rather than training compute into the governing bottleneck.

How do engineering teams train autonomous research models without incurring recurring commercial web charges?

Local Simulation via DR-Anything

Allen Institute researchers bypassed commercial lookup tiers by introducing DR-Anything alongside DR Tulu 2, the second of four releases in its Beyond the Model event. DR-Anything operates as an open infrastructure framework that builds local search environments and generates task datasets directly from custom document collections. Instead of querying the live web during iterative reinforcement learning rollouts, the framework pre-populates target pages and serves them locally.

To build these offline environments, DR-Anything collects target web pages ahead of time and serves them locally during training. The system pairs these documents with a retriever that executes the agent's queries to bring back results, allowing models to query local indexes without network calls.

"rollouts waited an average of 0.8 seconds on search rather than 186 seconds, making long-horizon RL feasible."

In our view, eliminating external API calls removes the operational drag of variable latency, allowing researchers to explore substantially wider interaction envelopes.

Cracking the Sim-to-Real Gap

A persistent objection to training agents in simulated setups has been performance degradation: an assumption that models trained on synthetic or curated offline data inevitably stumble when transferred to the messy live web. In fact, training in these simulated environments transfers to searching on the live web with no observed sim-to-real gap.

Operating in local environments also allowed researchers to dramatically expand operational budgets during training. While prior open deep research agents trained with context windows restricted to 16,000 to 64,000 tokens and sometimes as few as 10 tool calls per attempt, DR-Tulu2-4B trained with a 128,000-token context window and up to 150 tool calls per attempt. When adapting to new domains, as few as 100 questions proved sufficient in experiments to improve agent performance on specialized tasks.

"With just 4B parameters without any distillation, DR-Tulu2-4B – our model – sets a new state of the art among open DR agents on 9 of 10 challenging benchmarks."

Without relying on distillation, the 4B parameters DR-Tulu2-4B outscored the strongest open baseline, Tongyi DeepResearch with a page summarizer by an average of 9.7 points across ten benchmarks spanning general web, financial, and scientific research. Furthermore, the compact model outperformed an agent built with the much larger Nemotron 3 Super 120B-A12B by more than 8 points on average across those evaluations.

The demonstration that a 4B parameter model can bypass commercial query fees while outperforming systems built on 120B architectures reframes deep research economics. Operating local retrieval loops removes third-party search dependencies, transforming specialized enterprise agent development into a reproducible internal infrastructure process.

Side by side

A search API bill of $17.52 instead of four and a half thousand dollars radically transforms the economics of training research AI agents. Allen Institute demonstrated the viability of a closed simulation environment: eliminating reliance on commercial web providers and strict request rate limits allowed engineers to expand the training context to 128,000 tokens. Will a localized document pool adapted on just 100 questions hold its ground when scaled across volatile enterprise repositories without degrading live search quality?

AI AgentsCost ReductionOpen Source AICompute Economics