A shopper types “apple pencil tips.” They could want replacement nibs, advice about using a stylus, or an accessory for a different product. Sending the words to a web search provider can give a model enough context to choose a catalog category. DoorDash reported paying 11 cents for that search step across 1,000 general retail queries, down from $7.90, while slightly more queries received the expected intent.
The number an ecommerce manager needs is the cost of serving the whole request at their store. A model still reads the evidence. A cache needs hosting. And a cheap answer that routes someone shopping for replacement nibs to a page of tablets leaves a merchandising problem. Download the retail search cost calculator to put those costs and a measured accuracy rate in the same estimate.
- 01Read the 11 cents against its unitDoorDash reported external search charges per thousand shopper queries. The published retail comparison excludes model inference.
- 02Preserve both test populationsThe general retail set contained 7,988 queries. A separate set contained 2,335 synthetic long-tail queries with different costs and accuracy.
- 03Count calls on cache hitsReusing a search result can remove a provider charge while the model still runs. Measure the two billing events independently.
- 04Put a price on a correct intentA low lookup bill is easier to interpret alongside the cost per correctly understood query and examples of the remaining mistakes.
01 — Field reportWhat DoorDash bought for 11 cents
DoorDash Engineering’s October 29 report, “How DoorDash Reduced LLM Search Costs by 98% Without Losing Accuracy,” describes a query intent task. The company compared Gemini Flash with built-in Google search grounding against a system using the reasoning model with a separate retrieval service backed by Serper. In Table 1, accuracy means the model’s final interpretation matched the expected intent. A sale, a successful checkout and the relevance of the top product are separate outcomes.
On general non-food retail queries, dividing the $7.79 difference by the $7.90 baseline produces a 98.6% reduction in provider charges, rounded to one decimal. The measured accuracy difference is half a percentage point. An average like that leaves open whether either version struggles with a commercially important slice, such as ambiguous brand names or replacement parts. The table gives no reason to budget for additional orders from that half point.
| Evaluation set | Native grounding | Separate retrieval |
|---|---|---|
| General retail · 7,988 queries | 93.40% accuracy · $7.90 / 1K | 93.90% accuracy · $0.110 / 1K |
| Synthetic tail · 2,335 queries | 87.62% accuracy · $10.37 / 1K | 87.79% accuracy · $0.146 / 1K |
DoorDash Engineering, October 29, 2026, Table 1. Costs cover search-provider charges in USD per thousand queries.
02 — MechanismWhere a provider charge disappears
DoorDash’s system first standardizes a search request and looks for a previously retrieved result. It can reuse an exact match or evidence for a sufficiently similar query. A miss goes to a provider, with another available if the first fails. The model receives structured results with source information. Because retrieval has its own interface, the team can change providers, vary the amount of evidence or change how long a result stays usable.
Consider “stylus nibs” and “replacement tips for my stylus.” A shared lookup may establish that the shopper is looking for a part. It cannot establish that the part fits the particular device they own. In a store, keep the evidence used to interpret the phrase separate from the catalog facts used to recommend a variant. A retailer can reasonably cache an explanation of what a nib is for longer than a promise that one can be collected today.
Start by checking whether external knowledge adds anything. A direct match on a current SKU or an exact product name may already settle the intent. The store search merchandising guide covers the ranking and availability decisions that follow once the catalog knows what the shopper means. Those later decisions should keep working if the external search provider changes.
03 — Billing unitsCount requests before and after the cache
The calculator starts with shopper queries during one period. Multiply that number by retrieval requests per query, then multiply by the share that misses the cache. Apply the invoice rate per billable provider request to the result. A query can require more than one retrieval attempt, or none. Sampling only the requests that reached the provider hides cache hits and makes it easy to claim the same saving twice.
For example, one hundred shopper queries could produce sixty requests for outside evidence. If forty requests reuse cached evidence, only twenty remain to call the provider in this simplified case. Your retrieval requests per shopper query would be 0.60 and the cache hit share would be forty divided by sixty. Keep retries in the count if the provider charged them. When providers have different rates, divide their combined invoice by the actual billable request count to get a blended rate for the same traffic.
DoorDash’s 11 cents is already an effective cost per thousand shopper queries on its experiment. Entering it as a per-request rate and applying another discount for caching would change both the unit and the experiment. Keep the published table beside the workbook and populate the blue cells with invoices and request logs from your own design.
04 — Worked exampleFollow a fictional store’s $400 bill
The example workbook starts with 100,000 shopper queries, 1.2 retrieval requests per query and a 75% cache hit share. Of the 120,000 retrieval requests, 30,000 reach a paid provider. At $0.004 per request, provider charges come to $120. All figures in this store example are illustrative. They have been chosen so the arithmetic can be reproduced without access to DoorDash logs.
The store also averages 1.1 model calls per shopper query at $0.002 per model call. Those 110,000 calls add $220. Another $60 covers the period’s other included costs, bringing the modeled bill to $400, or $4 per thousand shopper queries. At a measured intent accuracy of 94%, the estimate is 94,000 correctly resolved intents and roughly $0.0043 per correct intent. Fixed overhead omitted from the inputs stays outside the total.
Try changing just the cache hit share to 100%. The external search line falls to zero, while model inference and other costs leave $280. Then restore the original inputs and halve the traffic. The fixed $60 now sits over fewer queries. These two changes answer different questions about the next invoice, even if a provider is willing to guarantee its request price.
05 — MerchandisingLabel the mistakes a shopper would notice
Build a small set from real store searches before switching traffic. Keep the query, expected product family, model interpretation and evidence the reviewer used. Include queries that should lead to a clarification. “Case for the mini” may identify several incompatible products. Scoring the first plausible guess as correct would reward a system for confidently inventing the missing model number.
Run the candidate and incumbent on the same labels. Review cases where their answers differ, with the intended answer fixed before anyone sees the cheaper system’s output. Report sample size and accuracy alongside the result for replacement parts, new arrivals, brands and ambiguous terms. Keep a separate group for requests that need fresh information. DoorDash’s report says that its native search route led across the five models on its freshness-sensitive public benchmark.
On the storefront, inspect what the correct interpretation actually displays. A product family can be correct while the first page contains no available variants. A zero-results search that now finds a compatible substitute is a concrete improvement a merchandiser can check. The catalog optimization guide describes the product attributes that let a search system make that distinction.
06 — Operating conditionsPrice launch week separately from a replay
A repeated test file is economical because yesterday’s results are already in the cache. A newly launched collection, an influx of new search terms or a regional catalog change can produce a different bill. In DoorDash’s separate cold and warm cache passes, the reported hit shares were 6.2% and 99.4%. Those passes answer a cache question. Substituting either percentage for an unreported input to Table 1 would mix two experiments.
Save two copies of the workbook for your own trial. In one, enter the traffic and hit rate captured immediately after a catalog update. In the other, enter an ordinary week in which repeated searches are common. Include the expense of clearing or rewriting evidence when a category changes. A practical cache policy gives the store owner a way to correct a bad result while it is still affecting the customer.
Compare the totals to a usage export over the same dates. A minimum invoice, a batch credit, a different model rate for cached tokens or repeated fallback calls may account for a gap. Put costs in the line that generated them, then record the unexplained balance before using the estimate to negotiate a contract.
07 — Buying decisionPick a routing rule you can reverse
Start with one category whose labels a merchandiser can check and whose traffic contains repeated ambiguous queries. Define which inaccuracies would justify sending that category back to the incumbent, and retain a sample of both systems’ resolutions. A proposal that says which queries stay on a fresh route is easier to approve than a blanket promise to make every search cheaper.
Decide who owns each outcome. Engineering can reconcile provider and inference charges. Merchandising can identify wrong variants and unsuitable substitutions. The ecommerce lead can read conversion and abandonment for the exposed group, with the test design and traffic differences documented. A store search assessment can use those three records to determine whether the next change belongs in retrieval, catalog data or result ranking.
Download the editable calculator. Use it once per routing design and measurement period. Keep each estimate with its labeled query sample.
Approve a cost for a specific workload
The 11-cent result gives a retailer a reason to run the comparison. A decision about its own store needs an invoice-sized estimate, a labeled group of queries and a way to reverse the route when the cheaper interpretation leads to the wrong product.