DoorDash cuts AI web search costs by over 98 percent
DoorDash built a gateway that keeps web search separate from the AI model's reasoning. With saved results and cheaper search providers, it says accuracy stayed about the same while search cost per 1,000 queries fell from $7.90 to $0.11 on retail queries.
Problem: When DoorDash's AI models needed fresh facts, they used the search tool built into the model service. That bundled search limited the choice of provider, the reuse of results, control over how many results came back, and visibility into cost.
What they built: Decoupled Search Grounding, an MCP-compatible gateway that keeps finding evidence separate from the model that reasons about it. It works with Serper, Bright Data, Firecrawl, Exa and Tavily, plus native search from OpenAI and Anthropic, and turns every provider's results into titles, links and snippets. Each request is cleaned up and checked against exact and meaning-based caches, and goes to a search provider only on a miss. If one provider fails, another takes over.
Result: On 7,988 retail queries, accuracy was 93.90 percent versus 93.40 percent for native Google grounding, and search cost fell from $7.90 to $0.11 per 1,000 queries. Those figures exclude model costs. Native search did better on FreshQA, which tests very recent facts.
Lesson: Search can be treated as a separate, swappable and cacheable service. Check freshness-sensitive questions on their own, because caching and cheaper providers can lose to native search there.
New to this? The key idea
When an AI needs fresh facts it can search the web, and most model services bundle that search in at a set price. "Decoupling" means splitting search from reasoning, so you can swap search providers or reuse past results. A cache works like a notebook of answers you already looked up, so you do not pay to look them up twice.
Use it at work
Copy this: put a thin gateway between your agent and search tools. Normalise each query, check an exact-match cache and then a meaning-based (semantic) cache, and call a paid provider only on a miss. Add provider fallback, and log provider choice, cache outcome, depth, latency and cost per call. DoorDash used MCP as the interface, with YAML adapters so a new search provider needs no code. It found that raising results per query from 2 to 6 lifted SimpleQA accuracy from 78.7% to 84.9%, with little gain beyond that.
Watch out: native search did better on FreshQA, so test freshness-sensitive questions separately. The cost figures exclude model costs. Multi-hop reasoning is still a weak spot, and third-party search providers can be unreliable. Warm-cache numbers (99.4% hit rate) came from a repeat test, so expect lower hit rates on varied traffic. The code and licence are not stated.
Summaries are written by AI from the linked source. Always check the original.