DoorDash's engineering team reports cutting search costs in its LLM pipeline by 98% or more while keeping accuracy at or slightly above the level of its model providers' built-in web search[1]. The figures — the 98% cost cut and the accuracy comparison — come from DoorDash's own evaluation, published on its engineering blog. That URL returned HTTP 403 to our fetcher at publication time across three attempts, so every number below is attributed through the detailed summaries carried by GeekNews and the Hacker News discussion[1][2][3][4]. The cost figure counts search-provider fees only, not model inference, and its baseline is hosted-LLM grounding: the web-search feature inside a model provider's API, not a search index you run yourself[2]. If you pay for that grounding feature, the useful part of this story is the five engineering moves behind the percentage, and your first step is to measure what each workload actually spends on search before deciding anything.
The baseline: what native search made invisible
DoorDash's Query Intent Understanding (QIU) system classifies ambiguous marketplace queries using product-catalog data and web evidence; in one example, a model without grounding classified "450 north" as a restaurant, while catalog and web search identified it as a craft brewery, sending subsequent searches to product inventory instead of restaurant results[2]. The team's complaint about native search was not accuracy. It was structure: there was no boundary between the reasoning model and the search backend, so switching models or reacting to provider price changes meant modifying model integration code; two agents asking the same question each paid for search separately, with no interception point for reuse; and per-query search cost and latency were invisible, while enabling search broke strict output formats that downstream parsers depended on[2].
One gateway, config-driven routing
The first two moves attack that structure. DSG — Decoupled Search Grounding — sits between agents, reasoning models, and a registry of swappable search backends, exposing a single Model Context Protocol-compatible interface; the backends include Serper, BrightData, Firecrawl, Exa and Tavily, and native search can be registered as just another provider behind the same interface[2]. Provider choice, fallback order, cache policy and search depth are configuration rather than code, so a new HTTP provider connects through a YAML adapter holding its endpoint, request template, response mapping and cost metadata, without touching application code[1]. When a provider times out, requests walk a configured fallback chain, so one provider's outage does not strip every agent of grounding[2]. Search depth itself became a tunable parameter: on SimpleQA, raising results from 2 to 6 lifted average accuracy across three models from 78.7% to 84.9%, while 10 results added only 0.6 percentage points to reach 85.5%[2] — a curve that tells you where to stop paying for depth.
Caches, one result format, answers that parse
The remaining moves attack volume and format. Each request is normalized, checked against an exact-match cache, then a semantic cache keyed on embedding similarity; only when both miss does the request reach the provider chain[2]. Caches are shared across workloads — one workload's resolved query serves another's similar question — but isolated per provider so results never silently overwrite each other, and each entry carries a TTL matched to how fast its information decays[1]. All providers return results in one format of title, source URL and snippet, which gives models visible provenance and gives the platform logging and debugging material[2]. Grounding returns as a structured tool response rather than being merged into the generation stream; in a building-height comparison where the contract demanded only the final answer, native search produced a 245-character response starting "Based on the search results…", while DSG returned the 3-character "Yes" — both correct, one parseable[2]. On HotpotQA, Claude Sonnet 4's native-search responses violated the "answer only" instruction 78.1% of the time[1].
What the measurements show
The measured results carry the conditions stated up front. On QIU production queries — 7,988 non-food retail and 2,335 synthetic long-tail, with Gemini Flash as the reasoning model — DSG+Serper scored 93.90% versus 93.40% for native search on non-food retail, and 87.79% versus 87.62% on long-tail, at under US$0.70 per 1,000 queries[2]; DSG+BrightData stayed within 1.6 percentage points of native accuracy at roughly one-eleventh of the cost[1]. With the cache warm, hit rates rose from 6.2% to 99.4%, average latency fell 68%, and per-1,000-query search cost fell 99% or more[1]. These are search-provider fees only; inference is excluded, and the absolute dollar figure moves with provider pricing[2]. Hacker News commenters pressed both ends of that framing: one argued the savings mostly reflect an expensive baseline ("If you make something that costs that much then when you optimize it to be sane … then you can produce this blog post"), and another noted, "I suspect the cost comparison would not be nearly so favorable against ElasticSearch or Lucene," since native search here means hosted-LLM grounding, not a text index[3].
Where native search still wins
The evaluation's own losses set the boundaries. On FreshQA, the freshness-sensitive benchmark, all five tested models — GPT-4o, GPT-4o-mini, Gemini 2.5 Flash, Gemini 2.5 Pro and Claude Sonnet 4 — did better with native search, because provider search stacks hold indexing and recency advantages that general-purpose search APIs do not always match[1][2]. Multi-hop reasoning gained less from search either way, with HotpotQA improvements small for both configurations and iterative search loops a possible requirement for deeper tasks[2].
What transfers to your cost structure
DoorDash itself concludes that the durable value is the replaceable interface rather than any specific price level[2]. That conclusion is also the transfer rule: a team running multiple agents over web grounding can inventory per-workload search spend, pilot a shared gateway with two cache layers on one high-volume workload whose queries stay stable, keep native search registered as a fallback provider for freshness-critical routes, and re-benchmark whenever provider prices move. The percentages belong to DoorDash's evaluation; the pattern — one gateway, config-driven routing, caches that accumulate across workloads, depth you set deliberately, grounding that respects your output contract — is what survives into someone else's cost structure.