{"slug": "doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning", "title": "DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval from Reasoning", "summary": "DoorDash cut search-provider costs in its LLM-powered query understanding system by more than 98% with Decoupled Search Grounding (DSG), an MCP-compatible gateway that separates evidence retrieval from model reasoning. On 7,988 general retail queries, DSG with Gemini Flash and Serper reached 93.90% accuracy versus 93.40% for native Google search grounding, while cost fell from $7.90 to $0.11 per 1,000 retail queries and from $10.37 to $0.146 for 2,335 synthetic long-tail queries, excluding model inference costs. The gateway supports Serper, Bright Data, Firecrawl, Exa, Tavily and native OpenAI and Anthropic search, adding exact and semantic caching, provider failover and telemetry so teams can switch search providers independently of the model.", "body_md": "DoorDash reduced [search-provider costs in its large language model (LLM)-powered query understanding system](https://careersatdoordash.com/blog/how-doordash-reduced-llm-search-costs-by-98-without-losing-accuracy/) by more than 98% while maintaining comparable accuracy on production workloads. The company 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.\n\nNative 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.\n\nThe gateway supports multiple search providers, including [Serper](https://serper.dev/), [Bright Data](https://brightdata.com/products/serp-api), [Firecrawl](https://www.firecrawl.dev/), [Exa](https://exa.ai/), and [Tavily](https://www.tavily.com/), as well as native search capabilities offered by model providers such as [OpenAI](https://platform.openai.com/docs/guides/tools-web-search) and [Anthropic](https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/web-search-tool). It normalizes provider responses into a common format containing titles, URLs, and content snippets, keeping retrieved evidence separate from model-generated responses.\n\nAs [Pratik Dhanave](https://www.linkedin.com/in/pratikdhanave/), AI Architect at ClearRoute, observed in a [LinkedIn post](https://www.linkedin.com/in/pratikdhanave/),\n\nReasoning models and retrieval infrastructure evolve at different speeds. Decoupling them makes grounding a reusable and observable platform capability rather than a vendor-controlled feature.\n\n*Native search compared with DoorDash's decoupled search architecture. (Source: [DoorDash Blog Post](https://careersatdoordash.com/blog/how-doordash-reduced-llm-search-costs-by-98-without-losing-accuracy/))*\n\nEach 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.\n\n[Jean-Pierre Palomba-Marin](https://www.linkedin.com/in/jean-pierre-palomba-marin-14508b162/), a Consultant Analyst, in a linked [post](https://www.linkedin.com/posts/jean-pierre-palomba-marin-14508b162_doordash-reduced-llm-search-grounding-costs-share-7525093890438152192-mSwM/), shared an implementation perspective,\n\nIts MCP-compatible architecture uses interchangeable search providers, semantic caching, and configurable retrieval to improve cost efficiency, latency, and reliability.\n\nDoorDash 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.\n\nDSG request lifecycle and caching architecture. *(Source: [DoorDash Blog Post](https://careersatdoordash.com/blog/how-doordash-reduced-llm-search-costs-by-98-without-losing-accuracy/))*\n\nIn 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.\n\nDoorDash found that native search performed better on [FreshQA](https://aclanthology.org/2024.findings-acl.813/), 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.", "url": "https://wpnews.pro/news/doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning", "canonical_source": "https://www.infoq.com/news/2026/11/doordash-decoupled-search/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global", "published_at": "2026-11-30 14:55:00+00:00", "updated_at": "2026-11-30 15:16:32.727162+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-search", "large-language-models"], "entities": ["DoorDash", "Decoupled Search Grounding", "Serper", "Bright Data", "Firecrawl", "Exa", "Tavily", "Gemini Flash"], "also_reported_by": [], "takeaway": "Decoupling retrieval from reasoning behind an MCP-compatible gateway with exact and semantic caching cut DoorDash's search-provider cost from $7.90 to $0.11 per 1,000 retail queries while accuracy rose slightly to 93.90% from 93.40%.", "recommendation": {"advice": "Route LLM search through a shared gateway with exact and semantic caching plus provider failover instead of native model search; DoorDash cut cost per 1,000 queries from $7.90 to $0.11 with no accuracy loss.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning", "markdown": "https://wpnews.pro/news/doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning.md", "text": "https://wpnews.pro/news/doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning.txt", "jsonld": "https://wpnews.pro/news/doordash-cuts-llm-search-costs-by-98-by-decoupling-retrieval-from-reasoning.jsonld"}}