InfoQ Homepage News DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval from Reasoning.

Nov 30, 2026 2 min read.

Industry observers note that doorDash reduced search-provider costs in its large language model (LLM)-powered query understanding system by more than 98% while maintaining comparable accuracy on production workloads. The organization introduced Decoupled Search Grounding (DSG), an MCP-compatible gateway that separates evidence retrieval from model reasoning, allowing applications to switch search providers independently of the underlying model.

According to recent reports, 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 these capabilities through a shared interface rather than embedding search integrations in individual agents.

The gateway supports multiple search providers, including Serper, Bright Data, Firecrawl, Exa, and Tavily, as well as native search capabilities offered by model providers such as OpenAI and Anthropic. It normalizes provider responses into a common format containing titles, URLs, and content snippets, keeping retrieved evidence separate from model-generated responses.

As Pratik Dhanave, AI Architect at ClearRoute, observed in a LinkedIn post,.

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.

Native search compared with DoorDash's decoupled search architecture. (Source: DoorDash Blog Post).

Each request passes through query normalization, exact and semantic cache lookups, followed by provider routing. Exact caching reuses identical queries, while semantic caching identifies similar queries using embeddings. External searches occur 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. 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.

Jean-Pierre Palomba-Marin, a Consultant Analyst, in a linked post, shared an implementation perspective,.

Its MCP-compatible architecture uses interchangeable search providers, semantic caching, and configurable retrieval to improve cost efficiency, latency, and reliability.

Industry observers note that doorDash evaluated DSG across five models, three public question-answering benchmarks, and its production query intent understanding (QIU) workload. On 7,988 general retail queries, DSG with Gemini Flash and Serper achieved 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 for long-tail queries. These figures exclude model inference costs.

In a recent development, DSG request lifecycle and caching architecture. (Source: DoorDash Blog Post).

In a warm-cache evaluation, the hit rate increased from 6.2% to 99.4%, average latency fell from 4,570 to 1,465 milliseconds, and search costs dropped to $0.0045 per 1,000 queries. Increasing retrieval depth from two to six results improved SimpleQA accuracy from 78.7% to 84.9%, with diminishing gains beyond six.

In a recent development, doorDash found that native search performed better on FreshQA, a benchmark focused on freshness-sensitive questions. The team also identified multi-hop reasoning and third-party provider reliability as remaining challenges. Planned work includes adaptive provider routing, contract-aware output validation, and iterative retrieval for workloads requiring evidence from multiple sources.

It has been revealed that find the bugs your tests miss. Antithesis uses deterministic simulation to explore thousands of failure scenarios, uncovering hard-to-reproduce bugs before they reach production. See how it works.

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example.

📌 Read also:

→ Read original article