DoorDash reduced LLM search costs by 98% without losing accuracy (opens external site)
Comments loaded (182)
1 comment is not loaded here. Read them on Hacker News ↗.
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
1 comment is not loaded here. Read them on Hacker News ↗.
Replies (5)
Replies (1)
so it's slightly better, and cheaper. plus it has additional benefits, e.g. in the third paragraph:
Native search made grounding easy to enable, but kept retrieval decisions inside the model provider’s API. We needed to choose search providers, reuse evidence across applications, tune retrieval depth, and measure search cost and latency independently of the reasoning model.
Replies (2)
One good reason for using an LLM is the intent understanding, because they are good at that, a classic search engines don't really understand intent. However a search engine also doesn't make the mistake they mention, thinking that "450 north" is a restaurant, when it's a brewery, because it has absolutely data suggesting that.
Frankly I don't understand the need for the AI here, other than maybe as a means to parse strange queries. My take away (hehe, take away) is that DoorDash doesn't have their own datasets and they rely on 3rd party search APIs, which may or may not be agentic in nature, and those APIs aren't actually that good or their data is not the quality which DoorDash really needs. They are then trying to cover up the poor data quality and direct queries better (both in terms of quality and price) by introducing a caching/routing layer.
It does still seem like something that would be better addressed by improving data quality and bringing search in-house.
https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/...
Replies (7)
Replies (1)
Replies (3)
Replies (2)
Replies (1)
Replies (2)
This particular food delivery service, the way it treats employees, strike that, independent contractors and their clients, totally fucked up. VC capital to undercut restaurants ability to handle their own deliveries if they want that clientele. Some stranger making 5 bucks shows up irate at front of house because they’re going to get penalized by the algorithm if they don’t make quota, a dozen other reasons it’s a lose lose lose creating an underclass of undesirables (that is, people you are ostensibly paying for a service except you literally hide while they set food down on your door step and stay out of sight)
Replies (1)
Replies (3)
Replies (1)
Its
Continue this thread (2 replies) →
Obviously DoorDash didn't create the underclass, a thing that's existed for most of, if not all of, human existence. But is DoorDash exploiting the underclass? That's certainly up for debate and there's reasonable arguments on both sides. Even if you don't agree, you'd be acting unreasonable if you didn't recognize that there are reasonable arguments.
FYI, you don't need to Stan for big corps. You won't get anything for it. Not even a pat on the back. With great power comes great responsibility. Great power needs great checks, least that power is abused. Certainly you, a reasonable person would agree that we shouldn't let those in power go unchecked, right?
Now you just get cold food that has been sitting waiting for the driver, made even colder by the fact they combine pick up orders from different restaurants and you have no idea if you'll be the first or last delivery. Plus you get to pay a marked up fee for the bad food.
I get DoorDash plus through a few different services I pay for and still think for free it's not worth it. I only get delivery from the few places that do not farm it out.
Also don't some huge companies like Chipotle directly integrate it into their own official apps so that they don't have to manage the delivery stuff themselves? Seems like genuine value
I'm certainly not saying it's perfect or anything though
Replies (2)
It really is an inferior service to what once was.
Replies (8)
I also agree that restaurant's own delivery was usually better, though communicating over the phone with a guy next to a busy kitchen struggling to understand your address or order wasn't always pleasant.
But before doordash many restaurants didn't deliver at all. So your options were to walk/drive/bus to get your taco bell, or go without it. Having a middle man that brings anything-to-anyone provides genuine value.
Replies (1)
Replies (2)
Continue this thread (2 replies) →
Replies (1)
Replies (2)
Continue this thread (1 replies) →
The demographic that keeps these apps alive are willing to pay 10-20% extra soley for the convenience of having a single app that consolidates all available food into one spot where they can just press a button and have the food show up 45 minutes later.
For them, convenience, not price, is the most important thing.
I have (not-so) fond memories of entering my credit card number in a non-TLS web form. And then waiting 1 to 2 hours for my food to arrive, with no communication or status.
Replies (1)
Replies (1)
In my top-10 US metro, this was generally not true for most restaurants. Pizza (except fancy) and (some) Chinese was about the extent of it pre-apps.
In addition to adding delivery to places that didn't deliver before, the apps also act as a menu. We definitely order from any number of places we discovered through the apps (I skip ghost kitchens though).
Replies (1)
(I'm really disinterested in paying extra for a tepid cheeseburger and a box of sadness that used to be french fries, even if it does get delivered to my front door.)
It's a beautiful ecosystem.
Just because someone wants to pay for a service doesn't mean it makes the world a better place.
Replies (1)
Replies (1)
That's not really a high bar, considering that their search is crap. So are they saying it's still crap, but it costs them less now?
Replies (1)
Replies (1)
Replies (1)
They shouldn't be having to pay that much per order, maybe just like a small network join fee, and each store front has total control of their system. Seems easy to manage now on their own now with agents.
Replies (24)
Replies (4)
Replies (2)
Replies (1)
Replies (1)
Replies (1)
Continue this thread (1 replies) →
I had this happen recently with DoorDash and the McDonald’s app. For the heck of it, I chased support escalation as far as I could go, and even when I got replies from (seemingly) real humans at each company they both very formally stated that all disputes are the other company’s responsibility. I suspect the only option is to do a credit card chargeback, although I didn’t bother with that.
From a quick online search it seems this is extremely common. It’s wild that it’s legal for two huge companies to have a formal arrangement deliberately designed to make all customer disputes impossible.
Replies (2)
- order using the taco bell app, it'll be cheaper, and still delivered by doordash, but if anything goes wrong, you're screwed
- order using doordash, it'll be more expensive, but if anything goes wrong, their AI support bot will approve any and all refunds
Replies (1)
Replies (2)
Replies (2)
It works fine for me.
Replies (1)
Replies (1)
Continue this thread (2 replies) →
1. Marketing & Advertising & Promotions to generate leads
2. Rewards & Subscription bonuses to upgrade customers into premium tiers
3. Social conditioning behavior, like the Apple Pay chime noise
4. 1st Party fulfillment at ghost kitchens etc
5. Multi-year contracts with select restaurants & enterprise customers
6. The logistical challenge of managing drivers / last mile fulfillment
7. Managing customer support / chargebacks / payouts
8. Internationalization, quality control, etc
---
The answer is DoorDash does a lot to keep people on their platform. It is very easy as a developer to underestimate the pull of convenience, enticements, etc., but I think at this point they have proven to work.
The dark realization is that this is both the "secret sauce" and the dark underbelly for many Tech / SaaS companies. Many do not provide that much value at all, and some charge ludicrous prices for what ends up being only a minor convenience.
Replies (2)
Replies (1)
But, delivery driver pools could form in a really decentralized fashion anyway, right? I mean you don’t even need an app, might just be doable via text messaging. Maybe this sort of thing is so decentralized and geography tied that we just don’t hear about it.
Replies (1)
What you describe is essentially what we had before. Outlets would have access to their own drivers and you'd call up or go on their website and order.
No cut going to a middleman, but now you gotta hire your own drivers etc.
Replies (2)
Since that comment was deleted, I'll just leave this one here.)
---
The driver doesn't get 30%, though.
Doordash charges between 15 and 30%[1], plus a delivery fee[2]. The drivers generally get paid way, way less than that[3].
(Imagine how it would be would be if an extra 30% plus a $9.75 delivery fee were tacked onto every order, ostensibly to cover the expense of the waitress taking it down and carrying it out from the kitchen. Now imagine that this waitress only gets to keep get to keep $2 of that windfall.)
[1]: https://merchants.doordash.com/en-us/pricing
[2]: https://developer.doordash.com/en-US/docs/drive/overview/pri...
[3]: https://help.doordash.com/en-us/dashers/article/how-is-dashe...
Replies (1)
Replies (1)
Which restaurants did for the last 100 years, and many still do today.
The tech industry didn't invent food delivery. It just shifted the expense from the restaurants to the people delivering the food, while taking in that sweet sweet middleman money.
Replies (7)
Even in NYC, not every restaurant used to offer takeout. Outside NYC in smaller cities/towns it was almost the exception rather than the rule. As recently as the early 2000s, delivery food options were basically pizza or Chinese.
That said - all of these services take obscene explicit and implicit fees that drive up the cost for consumers while also squeezing the low margin restaurant business even more.
Replies (1)
Replies (1)
Replies (1)
Most restaurants don't have the delivery volume to support hiring their own dedicated delivery drivers.
What DoorDash enables is the ability to share drivers between restaurants, as well as improve delivery speeds.
DoorDash really does provide value. Restaurants wouldn't be paying for it if it didn't. They don't have to participate. Remember, when they hire their own delivery drivers, they have to pay them too.
Replies (3)
Define "few." The number is likely in the millions over that timespan.
You must live in an under-developed area. Even restaurants in small American towns have delivery. The pizza joints, almost always. Then the Chinese place. Then, as the town grew, many more restaurants.
In the 1970's I lived in a town under 3,000 people. Both pizza parlors delivered.
They don't have to participate.
Actually, they participate whether they want to, or not. Rando delivery apps scrape Yellow Pages data and set up bogus web sites for non-participating restaurants all the time. Articles are posted on HN about it frequently. Many delivery apps charge rates much higher than the restaurant's menu prices. How is that "value" for the restaurant? Oh, right. It's only value for the middleman.
when they hire their own delivery drivers, they have to pay them too.
Which is exactly what I wrote. The cost got shifted from the restaurant to the delivery driver, with the tech industry taking a slice of that sweet sweet middleman money.
Replies (3)
But in 2026 can go on DoorDash and get food from sit down restaurants in every category.
I once witnessed someone receive a DoorDash delivery of shoes when she was out at a bar wearing uncomfortable heels.
When I talk about participation, I'm talking about the restaurants paying. If rando delivery apps create bogus web sites with higher prices, yes that's a problem, but the restaurant isn't paying anything to DoorDash in that case. The restaurant is getting full payment without any cut being taken.
And of course the delivery company gets to take a slice of middleman money. They are the middleman, making these on-demand delivery people available. I don't really see how you can complain about providing a service for money.
Seriously, i remember the before times. Pizza, Chinese, and Jimmy John's. That was the whole list in a city of 400,000 where i grew up.
Doordash is evil and sucks for drivers but let's not reinvent the past
https://thecounter.org/grubhub-domain-purchases-thousands-sh...
https://www.foxbusiness.com/small-business/doordash-grubhub-...
Replies (1)
Continue this thread (1 replies) →
If you live in a major US city, it's all the same restaurants as before.
Replies (1)
Even in big cities it was mostly limited to pizza/chinese, with the rare experiment from a big chain for a small number of stores.
I absolutely hate what doordash has done to restaurants, but let's be factual.
Replies (1)
- Subsidize something new that not a ton of people use regularly
- Create a network of users and "service providers"
- Reap profits by squeezing both the suppliers and customers
For Doordash and Uber, arguably it's the job of the government to step in force them to spin off the supply side into a separate entity per geographical region with regulated % profit. The "last mile" should be publicly controlled.
Replies (1)
You need to understand restaurant economics before you start arguing restaurant economics. Saying DD takes 30% is way out of the ballpark, especially since DD actually charges you more than the retail cost of the dish.
Replies (1)
What I find most egregious is the cut taken by DD or UE etc.. for simply taking the order but not doing the delivery part. It's the same mark-up, but the only service you get is replacing a phone call. A $50 Uber Eats gift card is embarrassingly less efficient than a gift card directly to the restaurant, because you get sometimes significantly less food for your money
Replies (1)
Not an argument that the current setup is ideal but connecting customers, delivery people and restaurants IS the service that doordash et al charge for.
They are currently getting sued for not complying with Uber era laws.
As a regular person, I can offer $X to go pickup a delivery for me, or a restaurant can offer deliveries on a spot market so to speak.
Intuitively, im always offput by this business idea, because the core idea is I can somehow undercut an industry known for being a ripoff yet also somehow barely profitable for anyone.
They don't have to. Most restaurants list higher prices in doordash than their own delivery. It's just like instacart in that respect where the fees are just passed onto customers who wish to use that service.
> Seems easy to manage now on their own now with agents.
Small restaurant owners rarely have that much time on their hands to learn such a thing. Besides, it's the network that's valuable not the software.
Replies (1)
Also, they shouldn't have to be making the prices more expensive, that hurts both consumer and the restaurant.
Replies (1)
In some cases the apps listed them without asking, see the GrubHub lawsuit. Besides, this adaptation was with PoS not with delivery specifically. I.e. they bought proprietary hardware that cover the register, inventory, delivery, menus etc. Integration with doordash etc is just built in.
> Also, they shouldn't have to be making the prices more expensive, that hurts both consumer and the restaurant.
Time and expertise is also expensive. Managing a delivery fleet is costly. I worked in small food service businesses for years and it's sad to see so much profit extracted from a low-margin business. But this kind of software does provide value to the consumer and the business. A small mom and pop shop can't afford to have enough drivers on hand to flex with demand to get food out quickly. Beyond that often the hardest part of being successful is getting in front of the customer as most people don't know you even exist.
Food delivery companies like DoorDash have much better control over their logistics chain, and that really matters, especially for short-haul deliveries. Customers are unforgiving when it comes to food.
Yes, there is the usual anecdote of someone being able to call a restaurant and reliably getting its food delivered, but that's becoming increasingly rare.
Replies (3)
No need to charge 30% when smaller amounts work just as fine.
At least where I live, drivers are already used to dealing with pings from many different services, so I think the logistics chain is already more competed.
Every time I see one it fills me with a mixture of smugness and existential dread. This high efficiency refactoring kinda stuff is my bread and butter, but also DoorDash pulled in more than $13 billion in revenue in 2025 in spite of TFA (and whatever else is deeply wrong with their tech).
Replies (1)
I think we see the paradox with these models, where it does amazing job with programming, software, solving math problems, etc. but yet it gets things frequently wrong with the general research, common queries, etc. I think, thats down to 'search'.
Also, i don't think frontier labs have real incentive to make that better. Majority of improvements are happening on enterprise front, with programming, problem solving, etc. where this doesn't come into play as much. This matters on consumer front, but criticality of the use case is not as much to matter for consumers.
Replies (1)
Replies (1)
The real problem with LLMs in place of internet search isn't the lost profits of people wanting to make a buck at everyone else's expense, it's that it means you lose the opportunity to review multiple sources, consider different perspectives, and reach your own conclusions and instead you just get force fed one company's answer which you're expected to treat as fact even while the LLMs are wrong a lot of the time. Getting a fast answer can be nice sometimes, but you learn a lot more and have opportunists to discover more by spending even short amounts of time looking at websites.
Replies (1)
Also, your point of monetization itself degrades the quality of the content has some merit but its evidence is thin with examples like Wikimedia, where a a high bar is maintained despite the lack of monetary incentives, but those examples are very limited.
Replies (1)
The most recent example would be the countless AI generated websites that are just ad filled pages of LLM generated text filled with hallucinations flooding search results. When the goal is making profit people will optimize for that goal which often means minimizing the money/time/effort put into the content. AI slop websites are a great example that, low effort/high reward.
Even when the content itself starts out great, once the desire to make money takes over the website can become so filled with ads and annoyances that it becomes obnoxious to actually use. A good example is fandom.com which absorbs fan wikis and turns them into trash. Take a look at this example and see which website you'd rather visit/contribute to: https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi...
The internet is filled with websites which were great until the owners (often not the original creators) decided to extract more money from them making them worse. The root cause of enshittification is greed. Websites whose creators are focused on "what can I offer" instead of "what I can take" won't have that problem.
So, I bet they did reduce system costs elsewhere by even more than 98%!
If you optimize something by 50x, you've stopped doing something stupid.
I feel like article was written long time ago and published only now
Replies (4)
Replies (1)
Replies (2)
The semantic cache is very interesting, and I'd imagine is what's doing the heavy lifting on cost reduction. Would be curious to know more about it, though I imagine it's part of the secret sauce of this tool.
For the rest of it, it feels like tooling that a lot of people in the space have already built? I mean, when we started spending real money on tokens, the first thing we spun up was a unified exact cache match/logging/telemetry interface for LLM calls with provider/model fallback chains. I imagine a lot of people do the same, but maybe not?
Replies (1)
If this was driven by the business people, they'd probably focus on a consumer ChatGPT/Claude plugin and maybe a Siri integration with advertising campaigns to get people used to ordering agentically - which, admittedly, would probably drive order volume since people would be able to compartmentalize and repress the reality of Doordash's exuberant fees.
The reality is they're caching the results of searches that AI makes (the web search API fee).
98% means that after 5 interactions, one in ten users has experienced the system shitting the bed and a good chance one user had it never work at all.
We need a different way to talk about stats. The fact we have whole industries based on people misunderstanding them is a big deal.
Blizzard actually broke how RNG works because they had quests that relied on RNG, which would make a couple percent of people lose the lottery regularly and make them ragequit. With 10 million players, and people playing as teams or with friends, quickly everyone knew a guy who ragequit from having it happen to them several times across fifty quests and a handful of alts. And if one person in a friends group won’t play they will pressure the others to do the same.
You cannot cheat the same way with AI. Someone would have to detect when things are going off the rails and automatically switch to a more expensive solution for that percentage of interactions.
Replies (1)
It's not 98% accuracy like what you're implying
So they pretty much add another MCP that cache and read cache as well.
They can fuck right off.
In any case, I'm mad because the advancements on LLM would imply at least some advancements in embedding spaces and I'd imagine those would trickle down to semantic search. Yet everything is seems to getting actively unsearchable.
Replies (1)