AI NewsInfrastructureAnnouncement

DoorDash cut LLM search costs 98 percent with a swappable grounding gateway

DoorDash moved its LLM search off native grounding and onto a gateway that picks a cheaper provider.

AI News

Editorial2 min read

LinkedInX
Diagram comparing native LLM search grounding with DoorDash's Decoupled Search Grounding gateway

Image: DoorDash

Why it mattersThe gateway turns search into a line item a team can swap, cap and cache. The agent code does not change.

The search that an LLM does on your behalf is a big share of the bill. DoorDash's engineering team says Gemini Flash with Google's built-in grounding ran about $7.90 per thousand retail queries. Long-tail queries cost $10.37 per thousand.

DoorDash has released Decoupled Search Grounding. It is a gateway that moves the search step out of the model. The team says it cut search costs by more than 98 percent on the same workloads. Answer quality held steady. The gateway follows the Model Context Protocol. An existing agent calls it like any other MCP tool.

How the gateway works

DoorDash's own Query Intent Understanding system reads a shopper's search phrase. It gathers evidence from the web and the product catalog. Then it asks a model what the shopper probably meant. In the old setup the model did its own web lookup. In the new one a separate service does the lookup. The model only sees the pages the service picked.

The gateway supports Serper, Bright Data, Firecrawl, Exa and Tavily. It also calls the built-in search tools in OpenAI and Anthropic models. Each provider's response is turned into the same shape of title, link and snippet. A team can swap providers in one setting. The agent code and the SQL that calls it do not change.

Two caches sit in front of every provider. An exact-match cache replays the same question. A semantic cache answers a question that is close enough to one asked earlier. DoorDash says the cache hit rate went from 6.2 percent on native search to 99.4 percent on the gateway. Average latency on a warm cache fell from 4,570 milliseconds to 1,465 milliseconds.

The accuracy test

The team measured the gateway against native grounding on its own Query Intent Understanding dataset. Gemini Flash was the reasoning model on both sides. The gateway running Serper scored 93.90 percent accuracy on retail queries. Native search scored 93.40 percent. On a long-tail test set the gateway scored 87.79 percent. Native scored 87.62 percent. DoorDash ran the same test with GPT-4o, GPT-4o-mini, Gemini 2.5 Pro and Claude Sonnet 4. It also ran it on SimpleQA, FreshQA and HotpotQA.

A warm-cache call ended up at $0.0045 per thousand queries in DoorDash's figures. Pratik Dhanave, an AI architect at ClearRoute, told InfoQ that "reasoning models and retrieval infrastructure evolve at different speeds. Decoupling them makes grounding a reusable platform capability."

A team that leans on a model's built-in web search pays the model's price for three things at once: the search, the reasoning and the lock-in. A gateway in front of it lets the search bill fall as new providers compete. It lets a team cache the queries it sees most often. It lets the owner of an agent see what the agent reads before the model does.

Source

How DoorDash reduced LLM search costs by 98 percent without losing accuracy, DoorDash engineering blog. Reported by InfoQ, by Leela Kumili.

SourceDoorDash

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project