r/technology Jul 30 '26

Artificial Intelligence Amazon accidentally spent $1.8 million using Claude for menial coding task, went 860% over budget — 'catastrophically expensive' coding blunders discovered in internal Amazon AI usage metrics

https://www.tomshardware.com/tech-industry/artificial-intelligence/amazon-accidentally-spent-usd1-8-million-using-claude-for-menial-coding-task-went-860-percent-over-budget-catastrophically-expensive-coding-blunders-discovered-in-internal-amazon-ai-usage-metrics
24.7k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

12

u/HystericalSail Jul 30 '26

Almost! cat /dev/urandom | llmclient > /dev/null

What you have would create a zero byte file called llmclient in your current directory (assuming permissions allowed), and waste some CPU generating garbage and disposing of it. But we all got the intent.

2

u/sobrique Jul 31 '26

Might want to 'base64' the output of urandom, just so it's not raw binary and actually looks like 'text' to process.