DoorDash Cuts LLM Search Costs 98% by Decoupling Retrieval
In this article
DoorDash reduced search-provider costs in its LLM-powered query understanding system by more than 98% while keeping comparable accuracy, according to DoorDash's evaluation reported by InfoQ AI. The change came from Decoupled Search Grounding (DSG), an MCP-compatible gateway that separates evidence retrieval from model reasoning. The target is a production failure mode: treating search as a bundled provider feature instead of an independently controllable infrastructure layer.
Native LLM search integrations bundle retrieval into the model provider's API, limiting provider choice, result reuse, retrieval-depth controls, and cost visibility. DSG exposes retrieval through a shared interface so applications can switch search providers independently of the underlying model. It supports Serper, Bright Data, Firecrawl, Exa, and Tavily, plus native search from OpenAI and Anthropic, and normalizes responses into a common format with titles, URLs, and content snippets. Each request passes through query normalization, exact and semantic cache lookups, and provider routing. Exact caching reuses identical queries; semantic caching matches similar queries using embeddings. External searches fire only on cache misses. If a provider fails or times out, the gateway tries another configured provider. Provider-specific caches use configurable time-to-live settings, and YAML-based adapters let teams onboard HTTP search providers without changing application code. Telemetry tracks provider selection, cache outcomes, retrieval depth, latency, and cost. DSG also returns evidence through structured tool responses, reducing search-induced verbosity and preserving strict output formats such as JSON or Boolean values.
Pratik Dhanave, AI Architect at ClearRoute, said: "Reasoning models and retrieval infrastructure evolve at different speeds. Decoupling them makes grounding a reusable and observable platform capability rather than a vendor-controlled feature."
DoorDash evaluated DSG across five models, three public question-answering benchmarks, and its production query intent understanding workload. DoorDash reports that on 7,988 general retail queries, DSG with Gemini Flash and Serper reached 93.90% accuracy, compared with 93.40% for native Google search grounding. On 2,335 synthetic long-tail queries, accuracy was 87.79%, compared with 87.62% for native search. Search-provider costs fell from $7.90 to $0.11 per 1,000 retail queries and from $10.37 to $0.146 per 1,000 long-tail queries, excluding model inference costs.
| Metric | Baseline | DSG (DoorDash-reported) |
|---|---|---|
| Retail query accuracy (7,988 queries) | 93.40% | 93.90% |
| Long-tail query accuracy (2,335 queries) | 87.62% | 87.79% |
| Search cost per 1,000 retail queries | $7.90 | $0.11 |
| Search cost per 1,000 long-tail queries | $10.37 | $0.146 |
| Warm-cache hit rate | 6.2% | 99.4% |
| Warm-cache average latency | 4,570 ms | 1,465 ms |
In a warm-cache evaluation, search costs dropped to $0.0045 per 1,000 queries. Increasing retrieval depth from two to six results lifted SimpleQA accuracy from 78.7% to 84.9%, with diminishing gains beyond six. DoorDash found native search performed better on FreshQA, a benchmark focused on freshness-sensitive questions. Multi-hop reasoning and third-party provider reliability remain open challenges. Planned work includes adaptive provider routing, contract-aware output validation, and iterative retrieval for workloads requiring evidence from multiple sources.
AI Mastery analysis
The 98% reduction is almost entirely a caching story, not a retrieval-quality story. The warm-cache data makes that explicit: a hit-rate jump from 6.2% to 99.4% drives the cost collapse. Teams evaluating this architecture should ask how much of their query distribution is genuinely novel versus near-duplicate. Food-delivery search is full of queries such as "can I get a burrito near me" with minor variations, so semantic caching fits. An application with high-entropy, genuinely novel queries will not see anything close to these savings.
This matches our earlier reporting that infrastructure rewrites, not model-weight changes, are driving the largest production AI gains in 2026. DSG extracts efficiency from the deployment layer rather than chasing a better model. Its MCP compatibility also positions retrieval as a swappable contract, the same portability argument we have made about AI deployment layers where interfaces matter more than generated text. The FreshQA result shows the unresolved risk: caching and grounding are in tension, and DoorDash has not yet demonstrated an automated mechanism for resolving that tension at query time.
Sources
Frequently asked questions
How much did DoorDash cut LLM search costs?
DoorDash reports a more than 98% reduction in search-provider costs. In its evaluation, costs fell from $7.90 to $0.11 per 1,000 retail queries and from $10.37 to $0.146 per 1,000 synthetic long-tail queries, excluding model inference costs.
Which search providers does DSG support?
DSG is MCP-compatible and supports Serper, Bright Data, Firecrawl, Exa, and Tavily, plus native search from OpenAI and Anthropic. Provider responses are normalized into titles, URLs, and content snippets.
What were DoorDash's warm-cache results for DSG?
In DoorDash's warm-cache evaluation, hit rate rose from 6.2% to 99.4%, average latency fell from 4,570 ms to 1,465 ms, and search costs dropped to $0.0045 per 1,000 queries.
Where did native search outperform DSG?
Native search performed better on FreshQA, which focuses on freshness-sensitive questions. That suggests caching may be weaker for time-dependent queries.
Related Reading
Z.ai GLM-5.4: A 750B Loop Transformer Runs 28 Layers Twice
GLM-5.4 loops 28 weight-shared layers twice at 750B scale; Z.ai reports only 30B ablation gains, with no flagship benchmarks, public API, or weights yet.
Build Retrieval-Augmented Conversational Memory with Milvus
Store LangChain conversation exchanges in Milvus and retrieve only the relevant fragment at inference time using VectorStoreRetrieverMemory.
Four-Step Exploit Chain Let Attackers Hijack ChatGPT Accounts
Parameter Labs chained four weaknesses in ChatGPT's HTML preview to create a shareable URL that silently exfiltrated any signed-in user's data.