JupiteX Get the app
Science & Technology1 Dec 2026 · about 6 min

DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval from Reasoning

The brief

Decoupled Search Grounding, or DSG, is DoorDash’s MCP-compatible gateway for connecting applications to search providers. It separates evidence retrieval from model reasoning, instead of bundling search inside a model provider’s API. That matters because teams can change search providers without changing the underlying model, and can manage search as a shared capability. For example, an application can use Gemini Flash with Serper, while DSG handles the search request and returns normalized evidence such as titles, URLs, and snippets. The model then reasons using that evidence. DSG also offers caching, provider routing, and controls over retrieval depth, so search does not have to be embedded separately in each agent. DoorDash reported comparable accuracy on its production workload while reducing search-provider costs by more than 98%. Its gateway also tracks latency, cost, provider choice, and cache outcomes. The approach leaves teams able to select providers independently, though DoorDash notes that provider reliability and multi-hop reasoning remain challenges.

01

What is Decoupled Search Grounding, and how does it separate evidence retrieval from an LLM's reasoning?

Decoupled Search Grounding, or DSG, is DoorDash’s MCP-compatible gateway for connecting applications to search providers. It separates evidence retrieval from model reasoning, instead of bundling search inside a model provider’s API. That matters because teams can change search providers without changing the underlying model, and can manage search as a shared capability.

For example, an application can use Gemini Flash with Serper, while DSG handles the search request and returns normalized evidence such as titles, URLs, and snippets. The model then reasons using that evidence. DSG also offers caching, provider routing, and controls over retrieval depth, so search does not have to be embedded separately in each agent.

DoorDash reported comparable accuracy on its production workload while reducing search-provider costs by more than 98%. Its gateway also tracks latency, cost, provider choice, and cache outcomes. The approach leaves teams able to select providers independently, though DoorDash notes that provider reliability and multi-hop reasoning remain challenges.

02

How much did DoorDash reduce search-provider costs per 1,000 queries, and are model inference costs included?

DoorDash reported that DSG reduced search-provider costs by more than 98% on the tested workloads. For every 1,000 general retail queries, costs fell from $7.90 to $0.11. For 1,000 synthetic long-tail queries, they fell from $10.37 to $0.146. These are search-provider costs, not the full cost of generating answers.

The comparison used DSG with Gemini Flash and Serper against native Google search grounding. On 7,988 general retail queries, accuracy was 93.90% with DSG and 93.40% with native search. On 2,335 synthetic long-tail queries, the respective scores were 87.79% and 87.62%. The cost figures exclude model inference costs, so they should not be read as total system costs.

Caching could lower search spending further in a warm-cache evaluation: search costs reached $0.0045 per 1,000 queries. That result depends on cache hits; external searches still happen on misses. The reported figures show savings for DoorDash’s evaluated setup, not a guarantee for every workload.

03

What happened to accuracy and latency when DoorDash used DSG instead of native search?

DoorDash found that DSG maintained accuracy comparable to native search on its tested retail and synthetic long-tail queries. With Gemini Flash and Serper, general retail accuracy was 93.90%, compared with 93.40% for native Google search. On synthetic long-tail queries, DSG scored 87.79%, compared with 87.62% for native search.

Latency improved in a separate warm-cache evaluation. The hit rate rose from 6.2% to 99.4%, and average latency dropped from 4,570 to 1,465 milliseconds. Caching lets DSG reuse evidence for identical or similar queries rather than contacting a search provider each time. Those results describe the warm-cache test, not every request or workload.

The results suggest DSG can lower search costs and latency without a large accuracy tradeoff in those evaluations. But performance was not uniformly better: native search did better on FreshQA, which focuses on freshness-sensitive questions. DoorDash also identified third-party provider reliability and multi-hop reasoning as remaining challenges.

04

How do caching and provider fallback help DSG make searches cheaper and more reliable?

DSG checks for reusable results before sending a query to an external search provider. Exact caching reuses results for identical queries. Semantic caching uses embeddings to identify similar queries, including queries worded differently. Searches go outside the gateway only when both kinds of cache miss. This reduces repeated provider calls and can lower cost and latency.

If a selected provider fails or times out, DSG tries another configured provider. Teams can also set provider-specific cache lifetimes, and YAML-based adapters let them add HTTP search providers without changing application code. Together, caching and fallback give the gateway ways to reuse evidence and route around a provider problem.

In DoorDash’s warm-cache evaluation, hit rate rose from 6.2% to 99.4%, average latency fell from 4,570 to 1,465 milliseconds, and search costs reached $0.0045 per 1,000 queries. These figures come from that evaluation; the article also lists third-party provider reliability as a remaining challenge.

05

When might a model provider's built-in search be a better choice than an interchangeable search provider?

A model provider’s built-in search may be the better choice when a workload depends especially on fresh information. DoorDash found that native search performed better on FreshQA, a benchmark focused on freshness-sensitive questions. The article does not give FreshQA scores, so it does not quantify the size of that advantage.

DSG’s main alternative is to separate search from model reasoning. It supports external providers such as Serper, Bright Data, Firecrawl, Exa, and Tavily, as well as native search capabilities from providers including OpenAI and Anthropic. This lets teams choose providers through a shared interface, rather than tying search to one model provider’s API.

The reported DSG accuracy was comparable to native search on DoorDash’s retail and synthetic long-tail tests, but the FreshQA result shows that performance depends on the task. A team choosing between approaches should consider whether the workload resembles DoorDash’s tested queries or emphasizes freshness. The article identifies freshness as a case where native search performed better.

06

What does it mean to ground an LLM answer in retrieved evidence, and why keep that evidence separate from the model's response?

Grounding an LLM answer means connecting its response to information retrieved for the question, rather than relying only on what the model already knows. In DSG, search providers retrieve evidence, and the model uses it for reasoning. The article describes the evidence as separate from the model-generated response.

DSG normalizes provider results into a shared format containing titles, URLs, and content snippets. It returns evidence through structured tool responses, which can reduce search-induced verbosity and preserve strict output formats such as JSON or Boolean values. Separating retrieval also lets applications switch search providers without switching the underlying model.

This separation makes search a reusable and observable platform capability, with telemetry for provider selection, cache outcomes, retrieval depth, latency, and cost. It also lets teams tune retrieval independently. DoorDash’s evaluations found comparable accuracy on retail and long-tail workloads, but native search did better on FreshQA, so keeping the parts separate does not mean every provider performs equally well for every task.

07

What are embeddings, and how can they help a system recognize that two differently worded search queries are similar?

An embedding is a numerical representation of text. In common machine-learning usage, texts with related meanings can have representations that are close to one another. This is general background; the article does not explain how embeddings are built or compared in DSG.

DoorDash says DSG’s semantic cache uses embeddings to identify similar queries. That means the system can potentially recognize that two differently worded questions are similar, even when their exact text is not the same. If a relevant cached result exists, the gateway can reuse it instead of making another external search. Exact caching, by contrast, handles identical queries.

The article reports that DSG checks exact and semantic caches before routing a request to a provider, and searches externally only on cache misses. In a warm-cache evaluation, its hit rate increased from 6.2% to 99.4%, while average latency and search costs fell. Those are evaluation results, not a claim that every pair of similar queries will safely share evidence.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web