
DoorDash Decouples Search Grounding to Cut QIU Search Costs by Over 98%
DoorDash built Decoupled Search Grounding for its query intent understanding system, matching or slightly beating native search accuracy while cutting search costs by more than 98%.
DoorDash introduced Decoupled Search Grounding (DSG), a shared search layer for its query intent understanding (QIU) system. In DoorDash's QIU evaluation, DSG matched or slightly exceeded native search accuracy while reducing search costs by more than 98%. The system separates reasoning from retrieval through a Model Context Protocol (MCP) compatible gateway.
Why native search became a bottleneck
Native search keeps retrieval decisions inside the model provider's API, making control, reuse, observability, and output contracts harder to manage. DSG addresses three production problems: control over model and backend choices, reuse of search evidence across agents, and visibility into per-query cost and latency. It also returns evidence as a structured tool response rather than inside the generation stream. On HotpotQA, Claude Sonnet 4 native-search answers violated an explicit answer-only instruction 78.1% of the time, while DSG did not show the same pattern.
How DSG works
DSG sits between agents, the reasoning model, and pluggable providers such as Serper, BrightData, Firecrawl, Exa, and Tavily, with native search able to run as one provider. Requests normalize the query, check exact and semantic caches, walk a provider fallback chain, normalize results into title, URL, and snippet, write cache entries, and return a structured tool response. Every step emits telemetry on branch, provider, latency, and cost. New HTTP providers can onboard through a YAML adapter covering endpoint, request template, response mapping, and cost metadata.
Accuracy and cost results
DoorDash evaluated DSG against native search across five frontier models, three public QA benchmarks, and its QIU workload. DSG configurations achieved 83% to 86% accuracy, on par with native search's 87.7% at a fraction of the cost. DSG with BrightData stayed within 1.6 accuracy points of native search at roughly 11 times lower cost, and the Serper configuration cost under $0.70 per 1,000 queries. On 7,988 general non-food retail queries, DSG with Serper reached 93.90% accuracy versus native search's 93.40%, while cost fell from $7.90 to $0.110 per 1,000 queries. On 2,335 synthetic long-tail queries, DSG reached 87.79% versus 87.62%, with cost falling from $10.37 to $0.146 per 1,000 queries. Native search outperformed DSG across all five models on FreshQA, which focuses on recency-sensitive questions.
Caching and retrieval depth
A warm cache raised the hit rate from 6.2% to 99.4%, cut average latency from 4,570 ms to 1,465 ms, and lowered search cost per 1,000 queries from $0.7385 to $0.0045. Increasing retrieval depth from 2 to 6 results raised average accuracy from 78.7% to 84.9%, while increasing to 10 results added only 0.6 points to 85.5%. DoorDash says native search still has advantages on freshness-sensitive queries, so backend choice can remain a per-workload decision.
Sources: careersatdoordash.com
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.