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.
TL;DR
Scope: 1 MCP-compatible gateway, 5 pluggable search providers, plus native search as an option.
Runs on: DoorDash’s internal GenAI platform, in front of any reasoning model. Not open-sourced; hardware not disclosed.
Performance: Matches native search in production and lands near it on public QA benchmarks.
Best: 93.90% vs 93.40% native on 7,988 retail queries, at $0.110 vs $7.90 per 1K.
What is DoorDash Decoupled Search Grounding?
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:
Control: Swapping models or reacting to a vendor price change means touching the model integration.
Reuse: Two agents asking the same question pay for 2 searches.
Observability: Per-query cost and latency stay invisible.
How does the MCP search gateway work?
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.
Each query follows 7 steps:
Normalize the query so near-identical phrasings hit the same cache entry.
Check the exact cache.
Check the semantic cache, which matches on embedding similarity.
Walk the provider fallback chain only if both caches miss.
Map results into a shared title, URL and snippet schema.
Write both cache layers, scoped per provider, with tuned time-to-live.
Return a structured tool response.
New HTTP providers onboard through a YAML adapter, with no application code changes. Every request logs provider, cache outcome, retrieval depth, latency and cost.
Why does native search break output formats?
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.
How does DSG compare with native search on benchmarks?
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.
DSG configurations scored 83% to 86% accuracy, versus 87.7% for native search.
DSG reached native-level accuracy at roughly 10 to 30 times lower cost.
DSG with BrightData landed within 1.6 points of native at roughly 11 times lower cost.
DSG with Serper cost under $0.70 per 1,000 queries.
Production results: query intent understanding
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.
Evaluation set
Native accuracy
Native cost / 1K
DSG + Serper accuracy
DSG cost / 1K
Retail, general non-food (N=7,988)
93.40%
$7.90
93.90%
$0.110
Tail, synthetic long-tail (N=2,335)
87.62%
$10.37
87.79%
$0.146
Both sets show a cost cut of about 98.6% (Marktechpost calculation from DoorDash’s table).
What do caching and retrieval depth add?
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.
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%.
Play query</button>
<button class="btn gh" id="dsgHit">Simulate exact-cache hit: off</button>
<span class="note">Providers: Serper, BrightData, Firecrawl, Exa, Tavily, plus native search.</span>
</div>
</div>
<div class="pnl" data-p="1">
<p class="lead">Query intent understanding (QIU) workload. Reasoning model: Gemini Flash. Native baseline: Gemini with Google search grounding. Costs are search-provider charges only.</p>
<div class="row" style="margin:0 0 14px">
<button class="btn gh on" data-s="r">Retail (N=7,988)</button>
<button class="btn gh" data-s="t">Tail (N=2,335)</button>
</div>
<div class="grid2">
<div class="card"><h4>Search cost per 1K queries</h4>
<div class="bars">
<div><div class="bl"><span>Native search</span><strong id="cN"></strong></div><div class="tr"><div class="fl n" id="bcN"></div></div></div>
<div><div class="bl"><span>DSG + Serper</span><strong id="cD"></strong></div><div class="tr"><div class="fl d" id="bcD"></div></div></div>
</div>
<div class="big"><em id="cut">98.6%</em> lower</div><div class="note">Calculated from DoorDash Table 1.</div>
</div>
<div class="card"><h4>Accuracy (resolved intent)</h4>
<div class="bars">
<div><div class="bl"><span>Native search</span><strong id="aN"></strong></div><div class="tr"><div class="fl n" id="baN"></div></div></div>
<div><div class="bl"><span>DSG + Serper</span><strong id="aD"></strong></div><div class="tr"><div class="fl d" id="baD"></div></div></div>
</div>
<div class="big"><em id="gain"></em> pts</div><div class="note">DSG minus native. Single reasoning model.</div>
</div>
</div>
</div>
<div class="pnl" data-p="2">
<p class="lead">The cache sits behind the shared gateway, so a query answered for 1 workload can serve another. Compare a cold pass with a warm pass.</p>
<div class="row" style="margin:0 0 6px">
<button class="btn gh on" data-c="cold">Cold pass</button>
<button class="btn gh" data-c="warm">Warm pass</button>
</div>
<div class="kpis">
<div class="kpi"><small>Cache hit rate</small><div id="kH">6.2%</div></div>
<div class="kpi"><small>Cost / 1K queries</small><div id="kC">$0.7385</div></div>
<div class="kpi"><small>Avg latency</small><div id="kL">4,570 ms</div></div>
</div>
<div class="bars">
<div><div class="bl"><span>Hit rate</span><strong id="kH2"></strong></div><div class="tr"><div class="fl d" id="bH"></div></div></div>
<div><div class="bl"><span>Average latency (vs 4,570 ms cold)</span><strong id="kL2"></strong></div><div class="tr"><div class="fl n" id="bL"></div></div></div>
</div>
<div class="info">Warm vs cold: latency down 68%, search cost down more than 99%. Exact cache first, then semantic cache, each scoped per provider with its own time-to-live.</div>
</div>
<div class="pnl" data-p="3">
<p class="lead">With search decoupled, retrieval depth becomes a parameter. SimpleQA, average across 3 models. Click a depth.</p>
<div class="dep" id="dsgDep"></div>
<div class="coll"><div>2 results</div><div>6 results</div><div>10 results</div></div>
<div class="info" id="depInfo" style="margin-top:14px"></div>
</div>
<div class="pnl" data-p="4">
<p class="lead">DoorDash frames native search as a different point on the trade-off curve. Click a row for detail. Red marks the side that wins.</p>
<table class="cmp" id="dsgCmp"><thead><tr><th>Dimension</th><th>Native search</th><th>DSG</th></tr></thead><tbody></tbody></table>
</div>
<div class="ft">
<span>Source: <a href="https://ift.tt/WEMOQbe" target="_blank" rel="noopener">DoorDash Engineering, Oct 29, 2026</a>. Self-reported results.</span>
<span class="brand">Built by Marktechpost</span>
</div>
</div>
<script>
(function(){
var R=document.getElementById('mtp-dsg');
function post(){try{parent.postMessage({mtpDsgH:R.offsetHeight+40},'*')}catch(e){}}
var tabs=R.querySelectorAll('.tab'),pn=R.querySelectorAll('.pnl');
tabs.forEach(function(t){t.onclick=function(){tabs.forEach(function(x){x.classList.remove('on')});pn.forEach(function(x){x.classList.remove('on')});t.classList.add('on');var p=pn[+t.dataset.t];p.classList.add('on');if(t.dataset.t==='1')prod(cur);if(t.dataset.t==='2')cache(cc);if(t.dataset.t==='3')depth(dsel);setTimeout(post,60)}});
/* lifecycle */
var S=[["Normalize","Normalize the query so near-identical phrasings hit the same cache entry."],["Exact cache","Check the exact cache. A hit returns immediately, with no provider call."],["Semantic cache","Check the semantic cache. Reuse a prior result if its embedding is similar enough."],["Fallback chain","Only if both caches miss: call providers in configured order. Timeouts and errors advance to the next provider."],["Normalize result","Map every provider's output to one schema: title, source URL, content snippet."],["Write cache","Write both cache layers, scoped per provider, with a TTL tuned to how fast the answer goes stale."],["Tool response","Return a structured tool response, which keeps strict output formats intact. Telemetry logs provider, cache outcome, depth, latency and cost."]];
var F=document.getElementById('dsgFlow'),I=document.getElementById('dsgInfo'),hit=false,tm=[];
S.forEach(function(s,i){var d=document.createElement('div');d.className='st';d.innerHTML='<b>'+(i+1)+'</b><span>'+s[0]+'</span>';d.onclick=function(){clr();sel(i)};F.appendChild(d)});
var st=F.querySelectorAll('.st');
function sel(i){st.forEach(function(x){x.classList.remove('on')});st[i].classList.add('on');I.innerHTML='<b>Step '+(i+1)+': '+S[i][0]+'.</b> '+S[i][1]}
function clr(){tm.forEach(clearTimeout);tm=[];st.forEach(function(x){x.classList.remove('skip')})}
document.getElementById('dsgPlay').onclick=function(){clr();var path=hit?[0,1,6]:[0,1,2,3,4,5,6];if(hit)[2,3,4,5].forEach(function(k){st[k].classList.add('skip')});path.forEach(function(k,j){tm.push(setTimeout(function(){sel(k);if(hit&&k===6)I.innerHTML+=' <b>Cache hit: steps 3 to 6 skipped, no provider charge.</b>'},j*900))})};
var hb=document.getElementById('dsgHit');hb.onclick=function(){hit=!hit;hb.classList.toggle('on',hit);hb.textContent='Simulate exact-cache hit: '+(hit?'on':'off');clr()};
/* production */
var D={r:{n:7.90,d:0.110,an:93.40,ad:93.90},t:{n:10.37,d:0.146,an:87.62,ad:87.79}},cur='r';
function prod(k){cur=k;var x=D[k];var $=function(i){return document.getElementById(i)};
$('cN').textContent='$'+x.n.toFixed(2);$('cD').textContent='$'+x.d.toFixed(3);
$('aN').textContent=x.an.toFixed(2)+'%';$('aD').textContent=x.ad.toFixed(2)+'%';
$('cut').textContent=((1-x.d/x.n)*100).toFixed(1)+'%';$('gain').textContent='+'+(x.ad-x.an).toFixed(2);
['bcN','bcD','baN','baD'].forEach(function(i){$(i).style.width='0'});
setTimeout(function(){$('bcN').style.width=(x.n/10.37*100)+'%';$('bcD').style.width=Math.max(x.d/10.37*100,1.2)+'%';$('baN').style.width=x.an+'%';$('baD').style.width=x.ad+'%'},60)}
R.querySelectorAll('[data-s]').forEach(function(b){b.onclick=function(){R.querySelectorAll('[data-s]').forEach(function(z){z.classList.remove('on')});b.classList.add('on');prod(b.dataset.s)}});
/* cache */
var C={cold:{h:6.2,c:'$0.7385',l:4570},warm:{h:99.4,c:'$0.0045',l:1465}},cc='cold';
function cache(k){cc=k;var x=C[k],g=function(i){return document.getElementById(i)};
g('kH').textContent=g('kH2').textContent=x.h+'%';g('kC').textContent=x.c;g('kL').textContent=g('kL2').textContent=x.l.toLocaleString('en-US')+' ms';
['kH','kC','kL'].forEach(function(i){g(i).style.color=k==='warm'?'#FF3008':'#fff'});
g('bH').style.width='0';g('bL').style.width='0';setTimeout(function(){g('bH').style.width=x.h+'%';g('bL').style.width=(x.l/4570*100)+'%'},60)}
R.querySelectorAll('[data-c]').forEach(function(b){b.onclick=function(){R.querySelectorAll('[data-c]').forEach(function(z){z.classList.remove('on')});b.classList.add('on');cache(b.dataset.c)}});
/* depth */
var DP=[[2,78.7,'Baseline at 2 results: 78.7% average accuracy.'],[6,84.9,'2 to 6 results: +6.2 points, to 84.9%. Most of the measured gain arrives by 6 results.'],[10,85.5,'6 to 10 results: only +0.6 points more, to 85.5%. Extra depth mostly adds latency and cost.']],dsel=1;
var DE=document.getElementById('dsgDep');DP.forEach(function(d,i){var c=document.createElement('div');c.className='col';c.innerHTML='<div class="colv">'+d[1]+'%</div><div class="colb"></div>';c.onclick=function(){depth(i)};DE.appendChild(c)});
function depth(i){dsel=i;var cs=DE.querySelectorAll('.col');cs.forEach(function(c,j){c.classList.toggle('on',j===i);var b=c.querySelector('.colb');b.style.height='0';setTimeout(function(){b.style.height=((DP[j][1]-70)/16*100)+'%'},60)});document.getElementById('depInfo').innerHTML='<b>Depth '+DP[i][0]+'.</b> '+DP[i][2]+' <span class="note">(Bars scaled from 70%.)</span>'}
/* compare */
var CM=[["Public QA accuracy","87.7%","83% to 86%","n","5 models (GPT-4o, GPT-4o-mini, Gemini 2.5 Flash, Gemini 2.5 Pro, Claude Sonnet 4) on HotpotQA, SimpleQA, FreshQA. DSG + BrightData lands within 1.6 points of native at roughly 11x lower cost."],
["Freshness (FreshQA)","Won on all 5 models","Trailed","n","Provider search stacks have freshness and indexing advantages. DoorDash keeps native search as one routable provider."],
["Production accuracy (Retail)","93.40%","93.90%","d","QIU, 7,988 general non-food retail queries, Gemini Flash reasoning model."],
["Search cost / 1K (Retail)","$7.90","$0.110","d","Search-provider charges only; model inference excluded."],
["Repeated-query reuse","Not exposed","99.4% warm hit rate","d","Exact plus semantic cache, shared across workloads."],
["Output contract","78.1% 'answer only' violations","Structured tool response","d","The 78.1% figure is Claude Sonnet 4 with native search on HotpotQA. DoorDash says verbosity is mitigated, not solved."],
["Setup","1 request, provider-managed","Gateway to run and maintain","n","Native search is simpler to enable. DSG adds third-party vendor dependence for stability, latency and data quality."]];
var TB=R.querySelector('#dsgCmp tbody');CM.forEach(function(r){var tr=document.createElement('tr');tr.className='r';tr.innerHTML='<td><b>'+r[0]+'</b></td><td class="'+(r[3]==='n'?'w':'')+'">'+r[1]+'</td><td class="'+(r[3]==='d'?'w':'')+'">'+r[2]+'</td>';var ex=document.createElement('tr');ex.innerHTML='<td colspan="3" class="x">'+r[4]+'</td>';tr.onclick=function(){ex.firstChild.classList.toggle('on');setTimeout(post,30)};TB.appendChild(tr);TB.appendChild(ex)});
sel(0);prod('r');cache('cold');depth(1);
window.addEventListener('load',post);window.addEventListener('resize',post);setTimeout(post,300);setTimeout(post,1200);
})();
</script>
</body></html>
">
Microsoft Research proposes BitNet Distillation , a pipeline that converts existing full precision LLMs into 1.58 bit BitNet students for specific tasks, while keeping accuracy close to the FP16 teacher and improving CPU efficiency. The method combines SubLN based architectural refinement , continued pre training , and dual signal distillation from logits and multi head attention relations. Reported results show up to 10× memory savings and about 2.65× faster CPU inference , with task metrics comparable to FP16 across multiple sizes. What BitNet Distillation changes? The community already showed that BitNet b1.58 can match full precision quality when trained from scratch, but converting a pretrained FP16 model directly to 1.58 bit often loses accuracy, and the gap grows as model size increases. BitNet Distillation targets this conversion problem for practical downstream deployment. It is designed to preserve accuracy while delivering CPU friendly ternary weights with INT8 activa...
Table of contents Introduction What Is MCP- RL? ART: The Agent Reinforcement Trainer Code Walkthrough: Specializing LLMs with MCP- RL Explanation: Under the Hood: How MCP- RL Generalizes Real-World Impact and Benchmarks Architectural Overview Practical Integration Summary Introduction Empowering large language models (LLMs) to fluidly interact with dynamic, real-world environments is a new frontier for AI engineering. The Model Context Protocol (MCP) specification offers a standardized gateway through which LLMs can interface with arbitrary external systems—APIs, file systems, databases, applications, or tools—without needing custom glue code or brittle prompt hacks each time. Still, leveraging such toolsets programmatically, with robust reasoning across multi-step tasks, remains a formidable challenge. This is where the recent combination of MCP- RL (a reinforcement learning loop targeting MCP servers) and the open-source ART (Agent Reinforcement Trainer) library ...
Can a 3B model deliver 30B class reasoning by fixing the training recipe instead of scaling parameters? Nanbeige LLM Lab at Boss Zhipin has released Nanbeige4-3B, a 3B parameter small language model family trained with an unusually heavy emphasis on data quality, curriculum scheduling, distillation, and reinforcement learning. The research team ships 2 primary checkpoints, Nanbeige4-3B-Base and Nanbeige4-3B-Thinking, and evaluates the reasoning tuned model against Qwen3 checkpoints from 4B up to 32B parameters. https://ift.tt/bMCdZs2 Benchmark results On AIME 2024, Nanbeige4-3B-2511 reports 90.4, while Qwen3-32B-2504 reports 81.4. On GPQA-Diamond, Nanbeige4-3B-2511 reports 82.2, while Qwen3-14B-2504 reports 64.0 and Qwen3-32B-2504 reports 68.7. These are the 2 benchmarks where the research’s “3B beats 10× larger” framing is directly supported. The research team also showcase strong tool use gains on BFCL-V4, Nanbeige4-3B reports 53.8 versus 47.9 for Qwen3-32B and 48.6 for Qwen...
Comments
Post a Comment