Newsroom Wire

US12-01 15:23⏱ 4 min read

DoorDash AI Team Cuts LLM Search Costs 98% With an MCP Search Gateway

DoorDash AI Team Cuts LLM Search Costs 9

DoorDash engineers have published how they cut LLM web search costs by more than 98%. Their approach, DoorDash Decoupled Search Grounding (DSG), pulls web search out of the model provider’s API. Search instead runs behind a shared gateway compatible with the Model Context Protocol (MCP). In DoorDash’s production query intent workload, DSG matched or slightly beat native search accuracy.

In one example, native search returned 245 characters opening with ‘Based on the search results’. DSG returned ‘Yes.’ Only one was parseable.

DSG reduces this drift because evidence arrives as a tool response, outside the generation stream.

DSG is a shared search gateway from DoorDash that separates LLM reasoning from web retrieval. With native search, the provider’s API runs its own search stack inside generation. That breaks down when the model call is one node in a pipeline.

DoorDash lists 3 problems with native search:

Every agent and reasoning model calls 1 MCP-compatible interface. Behind it sits a registry of pluggable backends: Serper, Bright Data, Firecrawl, Exa and Tavily. Native search can be registered as 1 more provider.

New HTTP providers onboard through a YAML adapter, with no application code changes. Every request logs provider, cache outcome, retrieval depth, latency and cost.

Many DoorDash LLM calls feed JSON parsers, enums or Booleans. With native search on, models often ignore ‘answer only’ instructions. On HotpotQA, Claude Sonnet 4’s native-search answers violated that instruction 78.1% of the time.

In one example, native search returned 245 characters opening with ‘Based on the search results’. DSG returned ‘Yes.’ Only one was parseable. DSG reduces this drift because evidence arrives as a tool response, outside the generation stream.

DoorDash tested 5 models: GPT-4o, GPT-4o-mini, Gemini 2.5 Flash, Gemini 2.5 Pro and Claude Sonnet 4. The public benchmarks were HotpotQA, SimpleQA and FreshQA.

The production test used DoorDash’s query intent understanding (QIU) system, which maps ambiguous searches to shopping intents. Gemini Flash was the reasoning model. The native baseline used Gemini’s integrated Google search grounding. Costs cover search-provider charges only, not model inference.

Intent ambiguity for the query "Wildflower": the Restaurant category surfaces a fictional chain, the Retail category surfaces literal flower products (from the DoorDash arXiv case study, CC BY 4.0)
Intent ambiguity for the query "Wildflower": the Restaurant category surfaces a fictional chain, the Retail category surfaces literal flower products (from the DoorDash arXiv case study, CC BY 4.0)arXiv

Both sets show a cost cut of about 98.6% (Marktechpost calculation from DoorDash’s table).

~98.6%

Search cost cut

Both test sets; Marktechpost calculation from DoorDash's table

$0.0045

Search cost per 1,000 queries

Down from $0.7385; provider charges only

1,465 ms

Average search latency

Down from 4,570 ms, a 68% cut

99.4%

Shared cache hit rate

With a warm cache; up from 6.2%

84.9%

SimpleQA accuracy (6 results)

Up from 78.7% at 2 results; 85.5% at 10

78.1%

Native answers violating 'answer only'

Claude Sonnet 4 on HotpotQA

A warm shared cache raised the hit rate from 6.2% to 99.4%. Average latency fell from 4,570 ms to 1,465 ms, a 68% cut. Search cost dropped from $0.7385 to $0.0045 per 1,000 queries.

Search cost per 1,000 queries ($)
Native baselineDSG

Before/after on DoorDash's production QIU workload; native baseline is Gemini's integrated Google search grounding. Provider charges only, no model inference.

Average search latency (ms)
Native baselineDSG

Before/after on the same production workload; the article states it as a 68% cut.

Retrieval depth is now a setting. On SimpleQA across 3 models, going from 2 to 6 results lifted accuracy from 78.7% to 84.9%. Going to 10 results added only 0.6 points, reaching 85.5%.

SimpleQA accuracy by retrieval depth (%)
2 results6 results10 results

Same benchmark across 3 models; going from 6 to 10 results added only 0.6 points.

Check out the full DoorDash engineering post and the QIU case study on arXiv. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

Asif Razzaq is the CEO of Marktechpost AI Media Inc..As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good.His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience.

The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

What 70,000+ AI engineers read before standup

Get the AI releases that matter, before they trend.

Model releases, open weights, agents and papers with code — the 5 that matter, in 1 email. Free.

Get the stories that didn’t make it on the homepage.

Last issue: ▲ what's inside: lingsante 3.1, sage-med, cot-proxy, docseam

The newsletter 70,000+ AI builders read

Model releases, open weights and papers with code — in 1 email. Free.

▲ AI DEV SIGNALS · FREE NEWSLETTER

Get the AI releases that matter, before they trend.

70,000+ AI builders · Past issues →

The newsletter 70,000+ AI builders read. Model releases, tools and research, without the hype.

Practitioner-first AI/ML news and analysis, read by 1M+ developers and researchers every month.

The self-improving layer for AI agents is here

AI agents look great in demos. Until real users break them. Plurai built a world where your agent can fail, learn, and get fixed before your users ever see it.

01Where does native search break down?

When the model call feeds JSON parsers, enums or Booleans, native search's bundled prose breaks parsing — DoorDash measured Claude Sonnet 4 violating the 'answer only' instruction on 78.1% of HotpotQA answers with native search on.

02Which part of the bill does 98.6% cover?

The scope is search-provider charges only, no model inference, and the figure is Marktechpost's calculation from DoorDash's table — compare with the same scope when applying it to your own stack.

03The cache drives the cut

The drop to $0.0045 per 1,000 queries came with a cache hit rate lifted from 6.2% to 99.4%; apps with low query repetition may not see the same magnitude.

04Does deeper retrieval keep helping?

Going from 2 to 6 results lifted accuracy from 78.7% to 84.9%, while going to 10 added only 0.6 points — past 6 results, the gains flatten.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…