logoalt Hacker News

Amazon saves millions by replacing Sonnet 4.6 with Strands Decider

540 points • by aloukissas • today at 6:01 AM • 194 comments • view on HN

Comments

armcat • today at 6:39 AM

About 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.

➕ show 15 replies
Kaedon • today at 6:44 AM

At ~$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.

➕ show 6 replies
Otterly99 • today at 1:58 PM

It'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.

➕ show 3 replies
smcg • today at 3:44 PM

To 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.

theahura • today at 3:44 PM

I read this as "saves millions of lives" and was very confused

Gasp0de • today at 8:21 AM

This 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?

➕ show 3 replies
psnehanshu • today at 7:50 AM

Ok, 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?

➕ show 4 replies
3eb7988a1663 • today at 7:08 AM

Classifying into one of 20 groups? Did anyone try scikit learn?

➕ show 2 replies
oorestisime • today at 1:31 PM

Matches 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.

origini • today at 9:04 AM

So 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?

➕ show 2 replies
tdhz77 • today at 6:54 AM

You 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.

➕ show 3 replies
bilekas • today at 12:06 PM

I'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 ?

➕ show 1 reply
fumeux_fume • today at 1:49 PM

They keep referring to the solution as an agent, but it's actually just a single call to a model.

➕ show 1 reply
gvv • today at 8:09 AM

What 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 • today at 7:43 AM

People use machine learning models before and after LLM is invented.

egorfine • today at 8:24 AM

> 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 • today at 11:48 AM

No mention of quality, or at least I didn't see it. What seem to matter nowadays are speed and cost.

➕ show 1 reply
iririririr • today at 3:27 PM

the biggest take sway here is that profit chances from the model provider to the generic computation provider.

the bubble is bubbling

andai • today at 8:31 AM

50x 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.

➕ show 1 reply
cmiles8 • today at 7:49 AM

This 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 • today at 7:57 AM

Are developments like that priced in Anthropic IPO?

nikit1411 • today at 8:03 AM

yah i mean older models dosent mean they are worthless i still use cluade opus 4.6 for day to day task

Rapzid • today at 11:12 AM

Slop article. First paragraph is 100% AI! Fucking lazy ass slop drivel.

simianwords • today at 8:53 AM

why 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

➕ show 1 reply
phillennium • today at 6:44 AM

It'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"

➕ show 3 replies
tveita • today at 8:50 AM

> 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"?

➕ show 1 reply
pietz • today at 12:54 PM

Wait, 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?!??

➕ show 1 reply
speedboat199 • today at 8:05 AM

Meanwhile 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 • today at 9:14 AM

Amazon saves millions by asking their pencil manufacture to make them 1mm shorter. At that scale anything adds up to millions.

coolgoose • today at 6:25 AM

Yea right... Paying market price of 3 usd per mil tokens on sonnet 4.6...

0x00cl • today at 8:28 AM

Sounds like a bunch of `if` statements with extra steps. Maybe throw an RNG decider too.

milimetric • today at 12:39 PM

ooh, this is gonna hurt later:

"except that on long tickets Strands Decider drops the oldest comments to fit."

milimetric • today at 12:39 PM

ooh, this'll hurt later:

"except that on long tickets Strands Decider drops the oldest comments to fit."

lencastre • today at 7:08 AM

counting the miliseconds until the insurance industry picks this up

Oras • today at 8:05 AM

Nice marketing to sell their decision model.

➕ show 1 reply
OtomotO • today at 10:04 AM

If 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 • today at 6:23 AM

If their model costs 98% less than Sonnet, and Amazon is saving “millions” then these folks are raking in 2% of millions. Congrats I guess?

➕ show 3 replies
ankur_misra • today at 3:22 PM

[flagged]

arbor-group • today at 2:57 PM

[flagged]

sarathkavuru • today at 1:50 PM

[flagged]

novalyn_ai • today at 1:38 PM

[flagged]

unnataisolution • today at 8:57 AM

[flagged]

GordyNumberOne • today at 8:02 AM

[dead]

nlpnerd • today at 7:26 AM

Founder 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.

➕ show 2 replies
sznio • today at 6:25 AM

why didn't they upgrade to further sonnet versions?

➕ show 2 replies
nalekberov • today at 9:18 AM

As 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…

➕ show 1 reply