# DoorDash cuts search-provider costs 98% by splitting retrieval from LLM reasoning

published: 2026-11-30T15:05:42.525Z
topic: search
source: https://www.infoq.com/news/2026/11/doordash-decoupled-search/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=AI%2C+ML+%26+Data+Engineering
url: https://aiagentnews.io/stories/doordash-cuts-search-provider-costs-98-by-splitting-retrieval-from-llm-reasoning

DoorDash says its Decoupled Search Grounding gateway cut search-provider costs in its LLM-powered query understanding system by more than 98% while keeping accuracy comparable on production workloads. The MCP-compatible gateway separates evidence retrieval from model reasoning, so teams can switch search providers without changing the underlying model.

Native LLM search integrations bundle retrieval into the model provider's API, which limits provider choice, result reuse, retrieval-depth controls and cost visibility. DSG moves those capabilities behind a shared interface instead of embedding search integrations in each agent. It supports Serper, Bright Data, Firecrawl, Exa and Tavily, plus native search from OpenAI and Anthropic, and normalizes results into titles, URLs and content snippets.

Each request passes through query normalization and exact and semantic cache lookups before provider routing, and external searches run only on cache misses. If a provider fails or times out, the gateway tries another configured provider. YAML-based adapters let teams add HTTP search providers without changing application code, and telemetry tracks provider selection, cache outcomes, retrieval depth, latency and cost.

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. Search-provider costs fell from $7.90 to $0.11 per 1,000 retail queries, and these figures exclude model inference costs. DoorDash also found that native search performed better on FreshQA, and it named multi-hop reasoning and third-party provider reliability as remaining challenges.

## Why it matters if you build agents

Agent builders can route search through one gateway and change providers or caching without rewriting each agent. Cost comparisons should account for model inference, which DoorDash's figures leave out. Teams with freshness-sensitive queries may still want to benchmark native search, since DoorDash found it did better on FreshQA.
