Amazon saves millions by replacing Sonnet 4.6 with Strands Decider
- armcat - 34649 sekunder sedanAbout six years ago we built a ticket classification/routing model and pipeline [1]. The initial version was trained using SVMs, it took a couple of minutes to train, and the ticket classification was just a few milliseconds. It's so fascinating to watch how the field moved over to LLMs, and then back to faster/cheaper classifiers again.
[1] "Linnaeus: A highly reusable and adaptable ML based log classification pipeline", https://arxiv.org/abs/2103.06927
NOTE: the work was actually accepted at the International Conference on Software Engineering (ICSE) in 2021.
- Kaedon - 34336 sekunder sedanAt ~$21,700 saved per million tickets, saving millions annually would suggest at least 92 million tickets a year to reach $2 million saved. Is that about right?
I initially thought of tickets as just customer support, or internal JIRAs, but the article mentions alarms, security findings, and capacity increase requests, so that makes the scale feel more plausible. Still surprising so many tickets go through the system.
- Otterly99 - 8309 sekunder sedanIt's baffling to me that a company like Amazon would choose to use a LLM for a task as simple as ticket classification. Don't they have thousands of engineers and petabytes of data? They even have their Mechanical Turk program if they want a cheap labelling workforce.
- Gasp0de - 28540 sekunder sedanThis article is so confusing. For example, they say they tried the Strands Decider model and dismissed it for Gemma, then they continue to call the model they used Strands Decider? Did I miss something?
- smcg - 1954 sekunder sedanTo generalize, I expect that specialized agents will start chipping away at the market share of the more general AI technologies. They are much cheaper and the market for them is maturing.
- psnehanshu - 30402 sekunder sedanOk, but why did they chose Sonnet in the first place? Couldn't they have chosen Haiku or GPT Luna or maybe even some small cheap Chinese model?
- theahura - 1966 sekunder sedanI read this as "saves millions of lives" and was very confused
- 3eb7988a1663 - 32937 sekunder sedanClassifying into one of 20 groups? Did anyone try scikit learn?
- origini - 25964 sekunder sedanSo why did they not even try Haiku 5.5?
Why would Amazon go to another company to let them provide an adjusted decider model?
Amazon already has all these tickets labeld, they could just have build it themselves?
- oorestisime - 9930 sekunder sedanMatches what I see in my own setup. Most agent calls don't need the frontier model, they need something fast that decides what happens next. Deepseek very underrated here as well. Then again, with the subscriptions the tokens still are pretty cheap so subagent delegation and improvements dont matter. Yet.
- tdhz77 - 33753 sekunder sedanYou can do this even more efficiently with the rust crate bonsai. You will have more control and you can create sceneries of logic. You can use incredibly cheap models this way and get way better results.
I built a real time character story. In which players interact and integrate fictional characters. There is no delay in response and the characters are all in character. Oh and it’s all voice.
It’s shocking how effective this is.
- bilekas - 15051 sekunder sedanI'm not very up to date on the Ai lingo, but is a Strands Decoder just a decision tree in the same vein as Jev ?
- fumeux_fume - 8865 sekunder sedanThey keep referring to the solution as an agent, but it's actually just a single call to a model.
- gvv - 29278 sekunder sedanWhat I don't understand is why are they not offering the decision model via Bedrock yet. Sagemaker / Lambda are quite expensive if you're not using the model continuously.
- hubertzhang - 30844 sekunder sedanPeople use machine learning models before and after LLM is invented.
- egorfine - 28350 sekunder sedan> JSON key order changed the answer. Sending the same content with keys in a different order moved the output probabilities by up to 0.19
Isn't it detrimental?
- docheinestages - 16144 sekunder sedanNo mention of quality, or at least I didn't see it. What seem to matter nowadays are speed and cost.
- andai - 27936 sekunder sedan50x cheaper, damn. I recall Chinese LLMs being similarly cheaper (and quite suitable for such simple tasks).
I think a decision model is superior here based on the task, and of course they weren't out yet when they started, but I'm wondering if they wouldn't have similar results (on price, probably not on speed) if they went with DeepSeek or something?
I don't mean send the data to china obviously — there must be an American provider that offers it?
Anyway it's moot in this case (decision model is a better fit) but it just makes me wonder who else is overpaying by 2 orders of magnitude.
- iririririr - 2966 sekunder sedanthe biggest take sway here is that profit chances from the model provider to the generic computation provider.
the bubble is bubbling
- cmiles8 - 30492 sekunder sedanThis pattern is playing out a lot. Running LLM inference at scale on apps typically lacks ROI. But I increasingly see folks use LLMs to help improve classical techniques.
So there’s some LLM use to develop a new version of algo, but maybe 2% of what would have been used by putting LLMs in the path of every API call. That generally does have ROI.
Putting LLMs in the loop each time is generally a dumb move, unless you’re an AI bro trying to get everyone to use LLMs for all the things.
- llukas - 30001 sekunder sedanAre developments like that priced in Anthropic IPO?
- nikit1411 - 29634 sekunder sedanyah i mean older models dosent mean they are worthless i still use cluade opus 4.6 for day to day task
- Rapzid - 18273 sekunder sedanSlop article. First paragraph is 100% AI! Fucking lazy ass slop drivel.
- simianwords - 26616 sekunder sedanwhy didn't they use Jev or Luna decision model? Seems odd that they used Sonnet and Strands instead of trying out of the box solutions
- phillennium - 34379 sekunder sedanIt's funny how AI sometimes feels like it went full circle:
— "Let's build efficient classifiers"
— "Forget about the silly classifiers, LET'S BUILD A MACHINE GOD"
— "Ah, that machine god is often too expensive and underwhelming. Let's build efficient classifiers"
- tveita - 26829 sekunder sedan> One thing that surprised us was that JSON key order changed the answer. Sending the same content with keys in a different order moved the output probabilities by up to 0.19.
That's like... really basic LLM knowledge? Like how e.g. this article measures how often answers change based on order https://zachlandes.com/trolley-problem/#appendix-a:~:text=Ch...
Or is this the Claudish "One thing that suprised us" that just means "and here's another thing"?
- pietz - 12138 sekunder sedanWait, are you telling me that if you replace an oversized and outdated model, with a small one that fits the use case and reduce your input by 70%, you end up saving money?!??
- speedboat199 - 29492 sekunder sedanMeanwhile they could have just switched to Haiku 5.5 to get same savings. No need for complex orchestration involving GPU instances and would have just been a one line change in the code.
- ZiiS - 25344 sekunder sedanAmazon saves millions by asking their pencil manufacture to make them 1mm shorter. At that scale anything adds up to millions.
- coolgoose - 35481 sekunder sedanYea right... Paying market price of 3 usd per mil tokens on sonnet 4.6...
- 0x00cl - 28146 sekunder sedanSounds like a bunch of `if` statements with extra steps. Maybe throw an RNG decider too.
- milimetric - 13069 sekunder sedanooh, this is gonna hurt later:
"except that on long tickets Strands Decider drops the oldest comments to fit."
- milimetric - 13050 sekunder sedanooh, this'll hurt later:
"except that on long tickets Strands Decider drops the oldest comments to fit."
- lencastre - 32950 sekunder sedancounting the miliseconds until the insurance industry picks this up
- Oras - 29488 sekunder sedanNice marketing to sell their decision model.
- OtomotO - 22349 sekunder sedanIf you use the right tool for the job at hand, you save money.
Of course you can try to dig a hole with a hammer instead of a shovel...
- oofbey - 35607 sekunder sedanIf their model costs 98% less than Sonnet, and Amazon is saving “millions” then these folks are raking in 2% of millions. Congrats I guess?
- arbor-group - 4805 sekunder sedan[flagged]
- ankur_misra - 3262 sekunder sedan[flagged]
- geberele - 372 sekunder sedan[flagged]
- sarathkavuru - 8788 sekunder sedan[flagged]
- unnataisolution - 26414 sekunder sedan[flagged]
- novalyn_ai - 9520 sekunder sedan[flagged]
- GordyNumberOne - 29664 sekunder sedan[dead]
- - 29535 sekunder sedan
- nlpnerd - 31859 sekunder sedanFounder of Seldon AI (www.seldon-ai.com) here. We are working on dev tools to help developers with this kind of refactoring and continual production work.
Basically there is a whole host of tarpit usage of LLMs in application backends today. This is simply another case of LLMs enabling people to build what they cannot productionize or maintain.
Today developers without any AI/ML skillset can prototype a fancy new feature with LLMs, what used to require collecting and curating data to train a pipeline of ML models then serving them in production.
The problem comes when it's time to take the new feature into production. That $20 cost with prototype/beta workload is now $30k per month in LLM costs, and those hallucinations that never happened on their 200 test samples is happening 600 times per day.
They are then stuck, because they lack the knowledge and budget to build and run the production ML pipeline properly, the infra stack necessary to handle production workload. Management also doesn't understand why they have to invest in rebuilding something that "seems to work" with "outdated methods".
These system one or decision models are a step up from LLMs when it comes to this usage. Problem is that they are still difficult to work with (limited in expression power) for many application logic. Despite the initial popularity, I hear about a lot of frictions refactoring LLM based backend with them, and multiple cases of production rollbacks to LLMs already.
I think system one models is a sensible paradigm, and we are on the precipice of something great, but there is a lot more work needed above the model layer to make this work.
- sznio - 35522 sekunder sedanwhy didn't they upgrade to further sonnet versions?
- nalekberov - 25128 sekunder sedanAs a customer I don’t care what model they are using. Amazon is one of the worst e-commerce platforms (at least here in Germany) - damaged boxes, damaged items, items taking forever to ship, having to deal with rude delivery people just to name a few.
This is perfect example of how to not approach solving business problems. What do they actually need? Listening to customers.
What are they doing? Outsourcing delivery to third parties, lowering quality controls, creating worst working conditions, filling the platform with sponsored listings and ads, allowing any sort of cheap Chinese garbage with fake 5 stars on the platform, making the UI worse and worse everyday, and the list goes on and on…
Nördnytt! 🤓