Home / Blog / DoorDash Cuts LLM Search Costs by 98% by Decoupling…
Tech News

DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval

DoorDash launched Decoupled Search Grounding, an MCP gateway that cut search costs by over 98% by separating web retrieval from large language model reasoning.

By Dillip Chowdary • Nov 30, 2026 • Source: InfoQ

DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval
Image: InfoQ

At a glance

Product
Decoupled Search Grounding
Interface
Model Context Protocol gateway
Cost reduction
Over 98% search-provider cost drop
Retail accuracy
93.90% with Gemini Flash and Serper
Warm cache cost
$0.0045 per 1,000 queries
Supported providers
Serper, Bright Data, Firecrawl, Exa, Tavily

DoorDash launched Decoupled Search Grounding (DSG), an architectural gateway separating web retrieval from large language model reasoning in query understanding systems. According to details shared in InfoQ's report, the Model Context Protocol compatible gateway cut search-provider costs by over 98 percent while preserving retrieval accuracy on production workloads. By decoupling retrieval mechanisms from the model API, the platform enables teams to switch search engines independently without modifying application code.

This report details the architecture of DSG, its multi-tiered caching pipeline, search provider adapters, and benchmark evaluations on production workloads. The analysis is intended for machine learning engineers, enterprise software architects, and platform teams evaluating techniques to rein in inference grounding costs without sacrificing query precision.

01Gateway architecture and provider decoupling

Native large language model search integrations bundle evidence retrieval directly into the model provider's proprietary API. This coupling restricts organizations to the provider's default search tool, obscures individual search expenses, prevents result caching across user prompts, and limits retrieval depth control. DSG resolves these constraints by exposing retrieval through a shared interface rather than embedding search connections inside individual agents.

The decoupled architecture ensures that grounding capabilities become an observable infrastructure asset rather than a rigid vendor dependency. As Pratik Dhanave, AI Architect at ClearRoute, observed in an analysis of the system, 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.

02Search provider adapters and payload normalization

The gateway integrates with third-party web search providers including Serper, Bright Data, Firecrawl, Exa, and Tavily, while supporting native tools from OpenAI and Anthropic. To abstract provider variance, the system normalizes inbound query responses into a standard schema containing page titles, source URLs, and content snippets. This consistent structure isolates raw external evidence from the model's generated text stream.

Returning evidence strictly through structured tool responses prevents unwanted verbosity that degrades prompt context windows. This approach preserves strict downstream output formats such as JSON schemas or Boolean flags required by automated production pipelines. Jean-Pierre Palomba-Marin, a Consultant Analyst, noted that the Model Context Protocol compatible architecture uses interchangeable search providers, semantic caching, and configurable retrieval to improve cost efficiency, latency, and reliability.

03Exact caching and automated provider routing

Every search request entering the gateway passes through a staged pipeline designed to maximize cache reuse before querying external search endpoints. The system executes query normalization followed by exact and semantic cache lookups, reserving external web calls strictly for complete cache misses. Exact caching reuses results for identical query strings, while semantic caching uses vector embeddings to recognize conceptually similar inquiries.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

  1. Query normalization cleans the incoming query string before evaluating cache layers.
  2. Cache lookup checks exact matches and semantic embedding similarity to avoid outbound searches.
  3. Provider routing dispatches external search requests to the active provider on cache misses.
  4. Automated fallback switches to an alternate configured search provider if the primary times out or fails.

Engineering teams onboard new HTTP search providers through YAML-based configuration adapters without modifying application code. Telemetry instrumentation monitors provider selection, cache hit outcomes, retrieval depth, request latency, and exact monetary costs. Provider-specific caches maintain configurable time-to-live settings to balance information freshness against downstream API charges.

04Benchmark accuracy and query cost reductions

DoorDash evaluated the gateway across five model families, three public question-answering benchmarks, and its production query intent understanding workload. In evaluations using 7,988 general retail queries, DSG operating with Gemini Flash and Serper achieved 93.90% accuracy, outpacing native Google search grounding at 93.40%. For 2,335 synthetic long-tail queries, the decoupled gateway scored 87.79% accuracy compared with 87.62% for native search.

WorkloadMetricNative Google searchDSG with Serper
Retail queries (7,988)Accuracy93.40%93.90%
Retail queries (7,988)Cost per 1,000$7.90$0.11
Long-tail queries (2,335)Accuracy87.62%87.79%
Long-tail queries (2,335)Cost per 1,000$10.37$0.146

The financial impact of decoupled retrieval proved substantial on production query intent tasks. Search-provider costs dropped from $7.90 to $0.11 per 1,000 retail queries and from $10.37 to $0.146 per 1,000 long-tail queries. These reported cost reductions represent search-provider charges exclusively and omit base model inference expenses.

05Cache hit latency and retrieval depth

Warm-cache evaluations demonstrated dramatic efficiency gains once queries established cache records across the gateway. The system cache hit rate rose from 6.2% to 99.4%, which lowered average response latency from 4,570 milliseconds down to 1,465 milliseconds. Under warm conditions, search-provider expenditures plummeted to $0.0045 per 1,000 queries.

In retrieval-depth evaluations on SimpleQA, expanding the returned document count from two to six results increased model accuracy from 78.7% to 84.9%. The engineering team observed diminishing accuracy improvements when configuring retrieval depth beyond six documents, indicating an optimal operating point for evidence grounding.

Note: DoorDash observed that native search performed better on FreshQA, a benchmark focused on freshness-sensitive questions, while multi-hop reasoning and third-party provider reliability remain ongoing operational hurdles.

Frequently asked questions

What is DoorDash Decoupled Search Grounding?

It is an MCP-compatible gateway separating external web search retrieval from large language model reasoning.

How much did DoorDash reduce its search-provider costs?

DoorDash cut search costs by more than 98%, dropping from $7.90 to $0.11 per 1,000 retail queries.

Which search providers are supported by the gateway?

The system supports Serper, Bright Data, Firecrawl, Exa, and Tavily, alongside native tools from OpenAI and Anthropic.

How does caching improve latency and expenses in DSG?

Warm caching increased the hit rate to 99.4%, reduced latency from 4,570 to 1,465 milliseconds, and cut costs to $0.0045 per 1,000 queries.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →