Top
Best
New

Posted by nprateem 11 hours ago

AWS: Inaccurate Estimated Billing Data – $1.7 billion

URL already posted: https://health.aws.amazon.com/health/status

I've got an estimated bill for $1.7 BILLION over this month. Normal usage is < $5.

Obvs have created an urgent AWS support ticket. Anyone else seeing something like this?

Update: Reddit link: https://www.reddit.com/r/aws/comments/1uyuaw7/help_my_bill_s...

901 points | 489 comments
donavanm 4 hours ago|
Ive dealt with this error at AWS. It’s a unit error. In my case we _meant_ to charge like 5¢/GB, but missed the unit (GB), and then the billing system defaults to bytes. 5¢ per Byte of data transferred meant some customers were seeing MM bills within hours. Got paged by support around 2am, had it fixed and amendments issues by 3-4am, apology emails shortly after.

Services emit metering values that arent directly tied to prices. Every SKU/line item is defined in a “pricing plan”, with a unit type, regions, and price per unit. The metering records are joined to a pricing plan based on account id, region, sku, etc. mess up the unit type in the pricing plan and the metering data conversion doesnt work, and you get crazy bills.

01284a7e 3 hours ago||
No tests? Just mess up some mundane detail [1] and voila! Wake-up calls and heart attacks for 100,000s of administrators?

1: "Oh, well, this is not a mundane detail, Michael!" https://www.youtube.com/watch?v=3fGHaVn5rGo

CobrastanJorji 51 minutes ago|||
There will have been tests, but there will have been missing end-to-end tests. Test 1 will verify that the new system/product emits billing entries in some expected way ("We did 100 bytes of operations and we see we called the billing system for 100 bytes of stuff, yay, test pass"). Test 2 will be in the billing system ("We provide an incoming bill for SKU#12345 for 100 gigabyte-units and we see it costs $17, yay, test passes"). But they won't test the two things together because it will be harder to do and the teams will have different management chains. Seen it happen several times at several companies. Somebody will have said at some point "we should actually have the tests charge money" and somebody else will have said "well we can't have the tests actually charge money, that's a legal/accounting problem, it might even be a crime" and then nobody would have asked what the next best thing was.
akdev1l 3 hours ago||||
Not even tests but just some basic anomaly detection lol.

Like maybe if the bill amounts increase by like 10M% there should be someone that looks into it

qurren 3 hours ago|||
You overestimate how much people give shits at big techs like Amazon. When literally everything is driven with sticks instead of carrots, the work culture does not invite employees to proactively care about product quality.

You'd be better off letting the heart attacks happen and take the 3am on-call and be the hero instead. It would be good promo doc material, and being a hero is extremely good insurance against getting kicked out of the country (via the PIP->H1B grace period expiry mechanism).

mightyham 2 hours ago|||
Speaking from my experience at Amazon this is not the case. Any customer impact like this would necessitate a COE (correction of errors) report, which means a list of required action items to prevent such issues from happening again, which typically suck up at least man-month of labor. Not to mention the report itself, which has to be written by a manager.

In fact, there are regular AWS-wide meetings where L10 technical staff will randomly pick and review reports from across the organization. Getting picked for one of these is not a fun experience.

COEs are such a huge annoyance for teams that they create a strong incentive to be proactive in preventing issues like this from happening. One of the rules when it comes to writing COEs is that they are not the fault of individuals but processes; but in reality, no one wants to be the cause of one.

awakeasleep 1 minute ago|||
Having been the manager writing those reports, you can only practically find causes that are within a single team’s ability to resolve.

If you find a problem like this thread’s hypothetical, the process stops being an annoyance just to line level managers, and something that directors and vice presidents need to handle by changing strategic priorities within their organizations.

That entails a real loss of face for them, and because they are the ones who actually run the show and actually own the company. It would will only happen if you have one that is naïve or a masochist. In either case that moves them out of management.

eventualcomp 1 hour ago|||
Amazon is heterogeneous. So much so, that positive anecdotes and negative anecdotes are near worthless without specifying the org.

Depending on if you're a cost cutting team, fixed expense team or organization, if you're a revenue driving team, or if you're a core team, or the very many other splits you can come up about the relationship between the expense/balance sheets and the team itself...there are very very different attitudes towards COEs and leadership principles.

tyre 3 hours ago||||
Are you speaking from experience or simply making things up? I know a fair number of former AWS engineers and managers. None of them think like this.
mendigou 2 hours ago|||
I am former AWS and this is pretty accurate.

The other factor to add here is that, with some exceptions, the whole company feels like a Rube Goldberg machine and very few people care about what happens outside their cog (because they’re not incentivized to do so).

zelphirkalt 2 hours ago||||
Maybe they are former AWS employees for a reason and now want things to go better than they were at AWS.
nullsanity 2 hours ago||
[dead]
geodel 3 hours ago||||
"Former" seems to an important detail here.
switchbak 2 hours ago|||
If I worked at a place like that, I'd sure as hell work my butt of to get a job somewhere else.

Or in my case, actively ignore any and all recruiting from that sesspool.

gleenn 2 hours ago|||
If someone quits their job, do all their opinions suddenly become suspect? You're kind of damned-if-you-do-damned-if-you-don't. Either you work for the company and you are biased one way, or you quit and now your bias is now suddenly the other way. I've joined and quit many jobs and my opinion may or may not have changed due to my change in status but it is clearly and ad hominem attack.
FabCH 50 minutes ago||
Not the OP, but:

The point was not that their opinion is suspect, the point was that they are former because people who care about the customer get fired and/or that everyone who cared is former, so nobody who is left cares.

qurren 1 hour ago|||
Yes, I am a former AWS employee.

I got put on Focus because my "contributions were not coming through" to leadership.

nullorempty 3 hours ago||||
This ^^^ amplified by indifference and not giving a shit caused by "AI Adoption".

There is literally no fucking reason to try to improve your skill. Any IDIOT with AI will do an OK job.

And no one is shooting for better than OK.

thewebguyd 52 minutes ago|||
> take the 3am on-call and be the hero instead

Ah yes, the good old ITism "Everything's good, what are we even paying you for?" followed by "Everything's on fire, what are we even paying you for?"

I moved out of it largely for that reason, am now an infrastructure/IT project manager, quite refreshing actually.

qurren 26 minutes ago||
The trick to surviving under such management is to jump in and put out other peoples' fires but not spend time preventing them even if you know how to.
mcpherrinm 2 hours ago||||
While I didn't work on AWS, I did intern on the retail side of Amazon, and there's definitely this sort of monitoring in place. Surely somebody was paged. And even if not, this is "just" the cost explorer estimations, not what is ending up on folk's bills.

I learned about <https://en.wikipedia.org/wiki/2011_T%C5%8Dhoku_earthquake_an...> from alarms like this, as sales in Japan almost entirely stopped.

I've been told a tale of another incident where some customer ran some huge cpu-intensive workload that didn't do any networking. It caused various alarms to fire because it "looked like" a part of the network was idle (potentially indicating some sort of networking failure)

It's generally (in the broad sense) easy to add alarms for things going wrong, but in my experience anomaly detectors are just as likely to fire from other weird things like that happening.

el1s7 19 minutes ago||||
I think billing is the only thing AWS doesn't really care about optimizing or putting enough tests to avoid anomalies lol.
Groxx 1 hour ago||||
They've already got anomaly detection: their users.
01284a7e 3 hours ago|||
If only there was some way to get anomaly detection services [1] inside of AWS...

1: https://aws.amazon.com/what-is/anomaly-detection/

deltaray3 2 hours ago||||
It's just like in Superman III
mvdtnz 2 hours ago|||
Why would you think there are "no tests"?
27183 2 hours ago||
We have a pretty strong existence proof... the thing happened in production. Unless they have some means to override a failing test and scp broken shit to prod, there wasn't a test.
chasd00 1 hour ago|||
why would a test setting unit to Bytes fail and not MB, KB, or GB, and so on? That's like trying create a unit test for email opt-in, both true and false are valid values. It's up to the user to select the right one.
27183 46 minutes ago||
I'm not quite following your objection.. I'd expect a test that checks the multiplier is correct would detect orders of magnitude discrepancy. So if you're billing $x/byte you'd write a test for the billing thing that checks that, given y bytes, the bill is x*y.

[edit] This may need to be an integration test to be effective, there is a certain peril to mocking that could bite you here. But that's fine, we have the technology.

nullorempty 2 hours ago|||
Technically, there could be a test. It could just be wrong!
27183 1 hour ago||
If a tree falls in the forest and nobody hears it...

[edit] Testing your tests, like testing your backups, is a good idea

fragmede 6 minutes ago||
Yes, test the negative case as well. eg if you get the system setup so you can log in, also make sure you get permission denied for bad login info.
Twirrim 1 hour ago|||
I wonder if AWS billing still uses CSV files for passing data around.

IIRC it was one of my first on-calls at AWS over a decade ago now, and I got a page early evening because some stuff we did with billing records broke because some "smart" engineer thought it'd be a great idea to put an experimental record in with a description something like "I wonder what happens if I put, a comma in this field", into the production record. I watched region after region fail the same way as the record spread. That one engineer made a mess of lots of people's evenings. They could have used the test endpoint, but no. Much better to test in production!

anvuong 25 minutes ago|||
That was just a massive operational failure, not the fault of any single engineer. No change, except hotfixes, should be able to land on prod unless it has at least go through test, staging, and at the scale of Amazon, shadow testing.

Engineers will do what engineers will always want to do, they want to see how things break, and sometimes they manage to fix it.

hotstickyballs 1 hour ago|||
CSV files are widely known to be used by the most frugal companies so of course it is.
fragmede 5 minutes ago||
Have you seen what RDS costs‽ AWS couldn't possibly afford that!
sscaryterry 1 hour ago|||
This isn't a flippant comment. Imagine though, being presented with this. Imagine having some underlying health problem (e.g. cardiovascular).

Do not be surprised if real people actually die from this mistake, from the anxiety, the surprise, the helplessness.

edelbitter 1 hour ago||
[dead]
nurettin 3 hours ago|||
This is why I always fail loud rather than pick a stupid default.
crossroadsguy 2 hours ago|||
Had it been half a million dollars or something or say like a few hundred dollars?
dev_l1x_be 1 hour ago|||
Imagine a programming language that has physical measurement unit support so this could have never happened.
pudgywalsh 3 hours ago||
"I must've put a decimal point in the wrong place or something. I always mess up some mundane detail."
AlotOfReading 3 hours ago|||
Unit mistakes happen all the time, which is why you should be using your units library religiously and still being vigilant even then.

Worst case I've found was off by 15 orders of magnitude.

gleenn 2 hours ago|||
One of the Mars landers famously failed due to unit conversion errors from metric to standard.
blemasle 1 hour ago|||
I didn't know the imperial system was named "standard". Funny, cause its everything but standard both internationally and its definitions (which are not standard as based on SI)
fc417fc802 1 hour ago|||
Claiming something isn't standard because it isn't based on SI is entirely circular in the case of weights and measures.

That said I wish the US would bite the bullet and make the switch. Mandating dual labeling on everything would be a great start. Then in 20 years we could narrow it back down to one.

reddalo 17 minutes ago||
You just need to start teaching kids the metric system. Then when they'll grow up the switch will almost magically happen by itself.
Dan_- 1 hour ago|||
I know you’re being snarky, but the US system is not “imperial” anyway. It’s properly “US Customary” but is often called “US Standard.”
golem14 2 hours ago|||
Wasn't it (also?) the Ariane V flight in 1996? Oh, NVM, that was an overflow error.
zapkyeskrill 2 hours ago||||
Degrees, very funny.
27183 2 hours ago|||
It's not difficult to write regression tests that catch unit mistakes.
anvuong 20 minutes ago|||
Multiple rockets exploded and space missions failed because of the imperial vs. metric BS, and those mistakes were made by people all with PhDs or equivalences. This is still pretty mild in comparison haha.

Units and datetime will always be the bane of any professions ...

yuchen20 10 hours ago||
I got 3 consecutive emails warning that my budget crossed its $18 threshold. Opened it up: cost was 78 million. Thought it was a phishing attempt, logged into my actual account, and... still 78 million. EMOTIONAL DAMAGE.
root-parent 6 hours ago||
Wanna bet the description of this job post will be updated by the end of the day?

"Software Development Engineer II, AWS Invoicing"

https://www.amazon.jobs/de/jobs/10428480/software-developmen...

"...Our platforms are powered by generative AI, large language models, knowledge graphs, and agentic architectures that dynamically compose specialized agents based on context. We apply these capabilities across three reinforcing areas: intelligent launch readiness — where autonomous AI agents analyze, generate, and validate the information needed to go live in a new market; cloud-native service orchestration — where configuration-driven microservices replace per-launch bespoke engineering with centralized, reusable capabilities so that expanding into a new country becomes a zero-code configuration change rather than a development cycle; and continuous validation..."

ibejoeb 5 hours ago|||
Wow:

    In this role you will:
    - Design and build agentic AI systems that analyze, generate, and validate...
    - Build agentic architectures that compose specialized AI agents dynamically...
    - Build AI-driven continuous validation frameworks powered by agentic workflows and large language models that autonomously manage...

This is invoicing? If ever there was a domain that was purely deterministic, you'd hope it was invoicing.
cliglot 5 hours ago|||
I just find it funny how people claim that LLMs will put money in the hands of domain experts. There’s not a single damn bullet about the fucking domain lol.
zero_k 1 hour ago||
Wow, so true! Domain expertise is apparently not a requirement. At all. Wow.
thewebguyd 49 minutes ago||
Of course not, domain expertise is expensive no matter what the field is, and to the big companies like Amazon the whole point of GenAI is to get rid of those pesky expensive humans and replace them with cheaper humans.
root-parent 5 hours ago||||
The irony is, the only purely deterministic thing, will be token consumption...
jdiff 5 hours ago|||
I severely doubt the world ever gets to such a point that the entire world melts into AI hallucination. And token consumption depends on so many other things, it's not all that deterministic either.
serf 5 hours ago||
(token usage) is trending towards predictability for a lot of reasons. it's not deterministic but it's getting easier to reason about usage.
LetsGetTechnicl 4 hours ago|||
How can a random generator be deterministic?
johnbarron 4 hours ago||
Truth is, you can never know: https://imgur.com/random-number-generator-bwFWMqQ
curun1r 3 hours ago||||
I’m not so sure about that. I can see a real rationale for creating sanity checks using AI to more quickly/proactively catch pathological billing issues before they become HN nightmare stories. They wouldn’t replace billing code, but there are many ways that stupid customer mistakes can cause real costs to Amazon that either have to be refunded and absorbed by Amazon or paid by the customer causing a negative opinion of AWS. If a billing AI watching costs in realtime could detect, say, a lambda loop in the first 10 min and either alert the customer or kill it, that would make AWS feel a lot safer to use. Enumerating these conditions and fixing them individually is a task that Amazon has proven incapable of achieving. An AI watchdog layer might be the perfect shortcut to addressing all of these problems at once. Because it’s well-trodden territory that AWS has so many multi-thousand dollar foot guns that make it really scary to use as a hobbyist or small business on a tight budget.
hvb2 2 hours ago|||
> I can see a real rationale for creating sanity checks using AI to more quickly/proactively catch pathological billing issues before they become HN nightmare stories

Right, so invoicing is still a deterministic problem. You can bolt whatever on but in the end it's just product x price x units

skywhopper 45 minutes ago|||
This is exactly the sort of thing that’s not possible, though. An AI will not be able to detect a “lambda loop” because it will look exactly like a “successful lambda rollout”. This sort of watchdog would just as likely shut down the wrong things and make AWS feel a lot less safe.
londons_explore 4 hours ago||||
Probably not actually. Transferring one kilobyte across a network link has such a low value that the billing costs of aggregating it cost more than the revenue.

So instead you take a probabilistic approach - charge the user for a megabyte of data transfer 0.1% of the time, and bill nothing 99.9% of the time.

Now the typical cost is the same, the users bill is probably accurate to the cent, but you have divided the number of billing records by 1000.

svobodovic 1 hour ago|||
I don't know how cloud services count usage, but this is certainly not true for telco. I manage several fleets of hundreds/thousands of SIM cards (mostly IoT/M2M applications), and almost every provider counts the data traffic per byte. Different business and use case, I know, but still.
michaelmrose 2 hours ago|||
The way you describe requires somehow counting every bit but somehow discarding most which is obviously nonsense.

This seems statistically invalid insofar as it will tend to overbill potentially by a lot on the minority of cases.

Don't you know how much of the pipe is occupied by a given customers code at any given time or what data is being sent

londons_explore 1 hour ago||
You have to do it when the customer list is too big to keep a counter per customer.
fc417fc802 49 minutes ago|||
A probabilistic counter per customer is also a counter per customer. Still, probabilistic billing is an amusing thought though.
michaelmrose 1 hour ago|||
No you don't
TJSomething 2 hours ago|||
This is like half of all job listings I've read recently. And it's a decent amount of fintech that's like this.
blitzar 5 hours ago||||
> 194,400.00 USD annually

Fuck it, im in.

fragmede 52 seconds ago|||
That's base, don't forget bonus and stock.
TheOtherHobbes 2 hours ago|||
Just wait until the same system runs payroll and you're getting paid $1.94400 annually.
blitzar 2 hours ago|||
I will just tell the HR bot that I am meant to be paid 1.944 billion.
sgarland 2 hours ago|||
10/10, no notes.
sebmellen 6 hours ago|||
That job description feels so far beyond parody that I could scarcely believe it until opening the link! What a world.
root-parent 6 hours ago|||
It gets worst:

"Senior Software Development Manager, AWS Global Bill Generation" https://www.amazon.jobs/de/jobs/10471948/senior-software-dev...

"We're transforming from monthly batch processing and manual war rooms to continuous billing, autonomous agents, and self-healing infrastructure. We believe operational burden is a technical problem, not a staffing problem"

This looks clearly...a staffing problem...

ghurtado 5 hours ago|||
> This looks clearly...a staffing problem..

I think that big tech recently decided that I got 99 problems but staffing ain't one

I guess Nothing is a staffing problem when you make a rule that firing people is always the solution.

wbl 5 hours ago||||
If you can make the software cover the toil you save the staff for the tough cases.
quickthrowman 4 hours ago||||
They need to fire whoever is running AP and AP software development. Vibe invoicing is ridiculous for anyone to do, let alone Amazon.
iam-TJ 5 hours ago|||
The best bit of that is:

> In this role, you will own end-to-end bill run execution across all AWS partitions, drive the technical vision for autonomous billing operations, and build the team that ensures every customer receives an accurate cost estimated in minutes ...

LPisGood 4 hours ago||||
Seriously! If I were making a joke I would say something like

> Build AI-driven continuous validation frameworks powered by agentic workflows and large language models that autonomously manage…

But that’s word for word a 250k+ TC job in the big ‘26.

paganel 5 hours ago|||
> enabling domain experts to review in hours what previously took weeks.

This is a gold-mine. They need to get sued heavily for this incompetence.

rcleveng 6 hours ago|||
I did too, those awstrack.me URL's look super suspicious and I hadn't seen this alert trigger before so didn't know what to expect.

At first I was sure it was a phishing attempt. Then went to the console (not using those links) Saw there was an outage where the console was wrong (no mention of email alerts) Then I thought I was hacked - what a perfect cover up for someone to evade detection when the console was wrong. Looked at some logs, realized the incident text was just not exhaustive on the impact. Went back to my cup of coffee.

Note to self- should have looked here first.

jayanmn 5 hours ago|||
Enterprise account . We got - 3trillion and change
chii 5 hours ago|||
-$3 trillion! That's the highest earning investment that has ever existed!
theflyingelvis 4 hours ago||||
3.7 billion. Offered to pay it in monthly installments. Haven’t hears back
rconti 37 minutes ago||||
same. over 2t in one day.
idiotsecant 5 hours ago|||
Quick do your IPO before the books update
munk-a 1 hour ago||
It's true, if you're spending that much money you must be worth a ton! Just look at SpaceX!
antognini 1 hour ago|||
To paraphrase the old joke, if you wake up with a $78,000 AWS bill, you have a problem. If you wake up with a $78 million AWS bill, Amazon has a problem.
corvad 1 hour ago|||
Please do not open up emails directly always login to your account.
01284a7e 5 hours ago|||
Yes, I am taking legal action, no doubt.
bot403 3 hours ago|||
Why? What's the damages? They showed you a wrong number, then later acknowledged it and fixed it. Just because the number was "very big" to you doesn't mean you were actually aggrieved in some way.
amelius 2 hours ago||
Big numbers can lead to stress which can lead to all kinds of disorders.
TheSoftwareGuy 1 hour ago|||
In order to successfully sue for emotional damages, you have to prove quantifiable damages. Usually that means if you ended up having to get therapy to deal with it, you can sue for the cost of the therapy.
mito88 2 hours ago|||
small numbers too....

:)

fc417fc802 42 minutes ago||
We should just go with numbers in general in order to play it safe. The new guidance from legal is absolutely no numbers on invoices for liability reasons. Similar to the removal of actual math from math class we're going to let the experts figure out how to implement it.
dymk 4 hours ago|||
…for emotional damage?
inigyou 3 hours ago||
If you were a business maybe you could claim for the emergency on-call time spent diagnosing, but you'd probably still lose AND amazon would fire you as a customer.
SegfaultSeagull 6 hours ago||
Time to get a second job buddy.
wglass 5 hours ago||
It's crazy enough this will be fixed soon.

Years ago I found an actual hidden error in my bill. (This was early 2010s). The system was calculating the EC2 reservation savings incorrectly for some of my servers. I was crunching all their detailed usage data on a regular basis in an 18 tab spreadsheet and couldn't get it to fully reconcile. I spent months trying to track down the discrepancy. Once I found it, I had to convince AWS their system was wrong, which took another big chunk of time. Meanwhile the discrepancy continued to accumulate.

After 14 months I got a $7,000 refund. I was told it had to be approved by the head of AWS. I've never seen a calculation error on their part since.

donavanm 4 hours ago||
> After 14 months I got a $7,000 refund. I was told it had to be approved by the head of AWS.

$7,000 of credits is no problem. At that time a friendly neighborhood PM or director could issue the credit without much oversight.

Your problem is the time period. Amending a bill in the same cycle is EZ. Fixing the previous cycle is a PITA but pretty common. Issuing amendments for the previous financial _years_ would be a huuuuge PITA going through finance etc.

kccqzy 1 hour ago|||
Banks and financial institutions are the same. If they haven’t issued you a monthly/quarterly statement yet, they can just apologize and tell you the numbers are wrong please wait for the statement. But it is a major issue if an actual statement has the wrong numbers.
michaelmrose 3 hours ago|||
Reminds me of working for a cable company and being told that even if we screwed up and stole from the customer the look back period was only a few months and if we found an error from before that we weren't supposed to correct it.
SoftTalker 2 hours ago||
There's a certain obligation on both sides of a contract to pay attention.

If you're not watching your billing, and then try to claim overcharging a year later, you'll get a lot less satisfaction even from regulators or judges than if you notice it when (or soon after) it happens.

michaelmrose 2 hours ago||
Cable bills are extremely complicated on purpose and people are taxed for time attention and intelligence.

The employees and company have an obligation not to exploit this even if the issue is only discovered after the fact.

You don't get to export any of the responsibility to your customer. They don't prepare the bill and it's not their job to find your fuck ups

SoftTalker 1 hour ago||
No argument, but fuck-ups happen, and get fixed more quickly and easily when people are paying attention.

I once got a monthly water bill for ~$35,000 at a residential, single-family home. Good thing I was paying attention and looked at the bill before the auto-pay bank draft hit.

Someone had misread the meter.

steve_adams_86 5 hours ago|||
A couple of my coworkers think I’m nuts for watching cost explorer so closely but

1. The time it takes to look and notice costs that don’t make sense easily pays for itself, and then some (in my experience). I doubt you spent $7k of your time tracking this down, and you probably noticed optimization opportunities that saved you even more

2. I hate the idea of wasting money on buying Jeff Bezos a bigger yacht

jarrettcoggin 4 hours ago|||
I've personally noticed and saved multiple $xx,xxx monthly cost billing spikes just by take a daily glance at our cost explorer. I'm in the AWS accounts every day doing investigative work anyway that an extra 30-60 seconds is trivial.

Seeing something "small" like an ECS task that is continuously failing to start properly because of a bug and repeatedly pulls a container image or a lambda function that's taking longer that it reasonably should (takes 5-10 seconds when it's normally a tens or a few hundred milliseconds) can dramatically drive up a bill in short order.

inigyou 3 hours ago|||
> 2. I hate the idea of wasting money on buying Jeff Bezos a bigger yacht

Then you aren't using AWS. At least half of all the money you give to Amazon is yacht money.

steve_adams_86 1 hour ago||
Unfortunately not a choice at my organization
johnbarron 4 hours ago||
>> It's crazy enough this will be fixed soon.

Its going on for 12 hours. Looks like the humans can´t understand the agentic code that was checked in....

lukaslueg 10 hours ago||
Apparently what used to be `GB of storage consumed` is confused with `Bytes of storage consumed`, leading to a cool off by 2*30 error.

> You're right to question my calculation. The MCP server failed to connect when I tried to look up the field definition. I guessed instead of validating. This is on me. But look at all the revenue!

VulgarExigency 6 hours ago||
The user is asking me to calculate how much money they should charge their customer. The values they've given me are 0.45, 1.67, and 2.50. This is 2.50 + 1.67 + 0.45 = 4.62, but it could be any other number. Perhaps we should be concatenating the numbers instead. Wait! The . could also mean multiplication. 0 . 45 . 1. 67 . 2 . 50 = 3015000. But wouldn't multiplying by 0 zero it out? That can't be right, we wouldn't be charging anything. So 3015000 must be correct.

You should charge your customer 3015000 thousand dollars.

idiotsecant 5 hours ago|||
Would be funny if it wasn't so close to true
yunnpp 3 hours ago||
'My absurd statement doesn't sound right, so the "opposite" (assuming it's well-defined and unique) must be true' is peak LLM logic. You can tell it was trained on Reddit commentary.
Izkata 1 hour ago|||
So uh did you type that out or generate it somewhere?

Number felt high so I wanted to double check and I only get 301500.

ghurtado 5 hours ago|||
> You're right to question my calculation.

Literally impossible to tell whether this is parody or an actual response any longer.

I challenge anyone to write something so stupid that an LLM couldn't possibly respond with it. I don't believe such limit exists.

ihateolives 4 hours ago|||
Just today I gave my local agent a CSV which listed a bunch files with of human readable size units and asked it to count rows in each GB range. Sounds simple enough but it completely miscalculated, because it parsed MB as GB for some reason. In hindsight it would've be quicker just to do it in Excel or something.
dabbz 4 hours ago|||
I've found personally it's better to use AI to build a deterministic script for calculations like that. (anything that manipulates data should be a script not an AI).
ihateolives 3 hours ago||
It was just one off task and I already had agent doing categorising with the same data so I just asked it. Otherwise I agree.
marcta 3 hours ago|||
That is literally what Excel is for. Why didn't you use that first of all?
ihateolives 3 hours ago|||
Because I was already doing categorising and analysing same data with agent and I had my session open already. It should've been an easy task for an agent, right?
AlienRobot 3 hours ago|||
When all you have is a hammer, but the hammer looks more like a swiss knife
leugim 6 hours ago|||
Oh great so 2*30=60 he only owes 28.3$ million... hehe

I guess you wanted to say 2^30 which makes 1.5$

hansvm 6 hours ago|||
My hunch is the HN formatter swallowed the double asterisk typical of python exponents.

While we're being pedantic, 2^30 is 28 in normal programming languages ;)

tomjakubowski 1 hour ago|||
But 2^30 is 28.
stefan_ 6 hours ago|||
Vibecoded the billing system, raised revenue 9000%. Great for that promo package.
poly2it 4 hours ago|||
This error could be fixed with better typing. If you compute on GiB in a billing system, make sure it can only ever be mutated with a GiB type!
raverbashing 6 hours ago||
AI slop. Or just a distracted dev
root-parent 6 hours ago|||
>> Or just a distracted dev

And a distracted tester? And a distracted pipeline of regression tests?

No, the truth is way worst...

silon42 5 hours ago|||
I'd love to see the spike in their projected earnings internal dashboard :)
anvuong 4 hours ago||||
Yep, the truth is nobody cares when people start submitting dozens of PRs a day with a bunch of AI-generated code reviews attached to it, all saying everything looks good. I'm witnessing this happening at my workplace right now: Sr/Staff uses Claude to generate 10 pages of design document, Jr uses Claude/Cursor to generate a humongous commit based on this document and create a PR, then bunch of automated AI-based code reviews kick in and say this looks good, another Sr/Staff takes a glance and rubber stamp it, while looking at the company's stock value and/or OpenAI/Anthropic job description.

It's a shit show.

pixl97 2 hours ago||
> the truth is nobody cares

The number of errors I've seen over the last 30 years seems to say humans not caring is as much of a deal AI use. It's easy to blame AI for humans being lazy, but I do think it comes naturally to us.

chanux 4 hours ago|||
What if there's only half a dev and a swarm of agents after the layoffs?
jayd16 4 hours ago||
> only half a dev

That's one way to cut staff.

27183 6 hours ago|||
Either way it shows their QA and testing procedures are incompetent. It's just not acceptable for a utility like AWS to move fast and break shit. Should make you question whether it's safe or advisable to use any of their services.

It probably shouldn't be legal for banks, hospitals, governments, or any other critical infrastructure to be hosted on AWS if they do things like this.

rboyd 9 hours ago||
Ask for some leniency. Let your account rep know about your budget difficulties and ask if you can make good faith payments of a few billion per month until you get back on your feet.
whoamii 2 hours ago|
Ummm no. Do not show a sign of weakness like this. Address the problem head on and get a credit card with a bigger limit.
sierra1011 7 minutes ago||
I got an email this morning.

> You requested that we alert you when the actual cost associated with your Monthly AWS budget exceeds $2.00 for the current month. The month actual cost associated with this budget is $646,677,805.51.

Current usage: $1.70.

I called it a rounding error and figured it would wash out within a couple of days...

ruddct 10 hours ago||
If you owe the bank $100, that's your problem. If you owe the bank $1.7 billion, that's the bank's problem.
fatnoah 6 hours ago||
I saw this in action on a smaller scale. In a past job, my wife organized events for a decent sized company. After an event, she'd typically have a $300k+ balance on her corporate Amex. When she went on maternity leave, the person filling in for her job neglected to actually pay the bills, so when she returned there were quite a few emails and voicemails from Amex regarding the over $500k balance.

The messages started as polite and eventually started to get more desperate in tone. At no point were they threatening or adversarial.

Imustaskforhelp 5 hours ago||
I think that this might reflect more on Amex to be honest.

Amex realises that threatening would hurt their business trust more than anything. During the great depression, Amex accepted checks from other banks which were falling and paying through their own wallet as a matter of integrity. Amex has always been built around this idea of trust and prestige.

They make most of money from what I have heard on the transaction fees which are more than others (3% compared to 1%). They might get desperate but I am sure that they are one of the last guys who would wanna threaten you if you are paying some large bills for them (as compared to normal credit card companies which might even hire people to extract your loans in some messy situations)

So perhaps be so rich that the credit card company understands it as well and treats ya differently :-D

xp84 5 hours ago||
Interesting. And hard to square with my perception of banks as completely mercenary and ruthless. I had a decade-long personal boycott (I know, LOL) of Amex after they, because, with otherwise perfect credit, I forgot about a $30 department-store card bill and got a 30-day-late mark on my report, Amex got spooked and abruptly closed both my never-late accounts with them (which were at or close to 0 balances). This was around 2008 though, so perhaps this was a genius algorithm designed to try and detect the very first whiff of consumer defaults, so they assumed that $30 was the first domino to fall of my personal financial ruin that could lead to me charging my accounts to the max and then going bankrupt.

(I eventually admitted to myself that Amex isn't a person and thus not really capable of insulting my honor, but it took a while!)

Imustaskforhelp 2 hours ago||
Most banks are completely mercenary and ruthless unless its in their incentives to other outcomes. Incentives lead to outcomes and mostly AMEX's incentives are in being the most trustworthy because their real targets are mostly billionaires/heavily influential people.

This does feel a bit silly for amex to do from what I've heard. Probably 2008 were a weird time in general where trust in systems itself were mostly eroded, whether of people to banking institutions and also vice versa.

> (I eventually admitted to myself that Amex isn't a person and thus not really capable of insulting my honor, but it took a while!)

haha :-)

danlitt 6 hours ago|||
This joke only works if you actually impose a cost on AWS of 1.7 billion. If they just serve you a bill for no reason, it's still your problem.
xp84 5 hours ago|||
Next question we'll find out is what if you owe the bank $1.7 trillion?
mNovak 4 hours ago||
That's the government's problem
sajithdilshan 6 hours ago||
Not if you’re Elon Musk
michelb 6 hours ago||
Elon Musk is everyone's problem
focusgroup0 6 hours ago|||
[dead]
bobbiechen 6 hours ago||
AWS saw Anthropic billing a guy for $16 million on zero usage and thought, why stop at the millions?

https://www.techtimes.com/articles/320266/20260712/anthropic...

AlienRobot 3 hours ago|
>AI billing audit startup Vaudit reviewed $34 million in AI invoices submitted by 60 enterprise customers and found approximately $1.7 million in mistaken overcharges — a billing error rate of roughly five percent.

That sounds bad.

browningstreet 5 hours ago||
I realized recently that Whole Foods no longer automatically and reliably detects your Chase Amazon Prime credit card when paying. So they don’t give you the discounted pricing automatically. I wonder how many customers are checking out the way they always do and are paying full price when, for years and decades, this worked fine.

The customer service people I talked to in the grocery store said this changed sometime in the last year. My guess is that it’s an unintended side effect of removing the pay-by-palm feature.

This is obviously unrelated but I joked about what else Amazon wasn’t reliably calculating….

hedora 5 hours ago||
Class action lawsuit time!

Either that or 1000’s of small claims court cases.

Even with arbitration, the overhead of dealing with that would be crippling. Hopefully someone over there decides to do the right thing, and auto-refund.

xp84 5 hours ago||
Relevant to this, I've recently noticed a trend of mass tort cases being opened up in the past couple years, and they seem to do very well. The way these seem to work is attorneys identify a company who has clearly ripped people off, and what I presume is a repeatable way to guarantee a win (thus translating to a guaranteed settlement offer). Then they advertise for eligible clients, sign those clients individually to contingency agreements, and run the playbook. A couple months ago after signing up for one of these, I received a check for about $350 (after the agreed-upon 40% attorney fee), from Ticketmaster, and I had another one related to AT&T. It took about 10 minutes more effort from me than a typical class-action settlement, because I had to e-sign those representation papers.

So really, there's a third option now, that's much easier than class action, even when class actions don't get certified.

ofjcihen 5 hours ago||
There are a hundred small things like this that seem to be popping up in what used to be simple and reliable systems and as much as I know they aren’t ALL because of vibe coding I can’t help but wonder how much is.
browningstreet 5 hours ago||
Weirder is what happened a day later. I got an email that said my Chase Amazon Prime credit card was being re-associated with my Amazon.com account.

I never reported this nor took it up with either Amazon or Chase directly. There was a refund of my Whole Foods purchase (they needed to void my purchase and re-ring everything to give me the discounts.. I asked them to refund my purchase and I’d do without my Whole Foods purchase entirely).

Looking back I think at least 3 recent visits were charged to me at full price because of all this. Hard not to think of enshittification and whether Amazon Prime is even worth it, alas.. I live in a fairly rural area at the moment and need delivery.

tedggh 6 hours ago|
I got a 20K bill once and it was actually drafted from my bank account. It took me a couple of months and involving the office of the AG of my state to get the issue resolved and get my money back. Since then I never touched any AWS product, moved my small stuff to Azure. It’s been years since AWS have these issues with billing, you can find the stories online, students billed 60K for a compromised account launching servers to mine crypto which AWS somehow was unable to flag and block, and let run for months.
drew870mitchell 6 hours ago||
AWS is basically a utility. I think it's inevitable that their carelessness around billing will end up with them being regulated like one.
positr0n 4 hours ago||
I can't think of another regulated utility that doesn't provide service to (essentially) all humans directly in their homes.

Everyone knows what water and electricity are, the vast majority couldn't explain what service AWS provides.

pjc50 2 hours ago|||
I wonder what fraction of homes don't load anything from AWS on a daily basis. I suspect it's way below 50%.

(Of course, they don't know they're using it, they're using a service on it)

wat10000 3 hours ago|||
And utilities are typically natural monopolies. They're good candidates for regulation because they're essentials and they don't have competitive forces to keep them behaving reasonably.

AWS has plentiful competitors. If you don't like their behavior, don't patronize them!

dawnerd 6 hours ago|||
That’s why you always use a spend limited card with variable cost providers.
myself248 5 hours ago|||
Or just own your own hardware. Spend a few bucks at Microcenter, build a machine, and there's simply no mechanism by which they could decide later that you should actually pay 100x more, and then magically suck it out of your bank account.

None of this can happen unless you first cede control.

csomar 45 minutes ago|||
Most debit/prepaid cards will get rejected. Credit Cards technically have a limit but they really don't. It's an open line to your finances.
srdjanr 5 hours ago|||
I wouldn't expect their detection of hacked accounts to be 100% correct. Sure, it might be obvious when a human takes a look, but humans can't proactively look at every account's usage.
urbnspacecowboy 3 hours ago|||
> I got a 20K bill once and it was actually drafted from my bank account.

Service provider lesson #1: Never ever ever enable auto-pay! The convenience (and even the savings, if applicable) aren't worth the risk of the service provider autonomously slurping up all your money.

ButlerianJihad 5 hours ago|||
For a while I had a portion of my "homelab" on AWS. I was an educator in a classroom where the students were learning cloud stuff, and the instructor was encouraging the students to stand-up cloud environments for learning, so I figured that I would do the same.

I used AWS' free tier, of course, and I enjoyed the initial setup in EC2, and I did a LAMP-stack MediaWiki installation. It wasn't too difficult, but two things sent me away forever.

1. It was impossible, or at least highly labor-intensive, in this modern era to adequately secure an ordinary Linux system running Internet-facing services. I put fail2ban and I filtered a lot of ports, and still spammers attacked me on Layer 7.

2. It was impossible, actually impossible, to limit or cap my cloud expenses in any billing cycle. Sure, run free-tier all I want. Sure, come in within the limits almost every month. But if I configured one thing wrong, or one thing went runaway, I'd have a sizable bill that I couldn't dispute. And even worse, those "runaways" weren't necessarily things in my sphere of control, but could be triggered by basically anyone coming in and using my VPC resources, especially egress network traffic.

So I closed out my cloud account, and I developed a lot of sympathy for businesses and corps that now are forced to run "in the cloud" rather than on-prem or their own machine rooms, but now they have no way to control expenses.

jeffrallen 4 hours ago||
Right, and good luck getting a correct bill from Azure. And when you are finally fed up, it will take months to close your Azure account.
More comments...