| ▲ | simonw 6 hours ago | ||||||||||||||||||||||
It's definitely technically difficult. You can't easily estimate how much an operation is going to cost before you kick off that operation, which means as soon as you get close to the limit you are at risk of tripping it. Consider something like a "select * from bigtable" SQL query that might process a trillion rows. Hard to know that's going to cost $100 until after you have run it. | |||||||||||||||||||||||
| ▲ | joshdavham 5 hours ago | parent | next [-] | ||||||||||||||||||||||
> You can't easily estimate how much an operation is going to cost before you kick off that operation I recently had a debate with a colleague on this topic but concerning estimating the costs of AI agent work. For example, if you prompt an AI to refactor your codebase, the final cost can't be estimated perfectly, but I'm sure it can at least be estimated with some amount of precision! Like simply knowing that it will cost < $100 is actually great information even if the final work only ends up costing $5. I think there actually might be a business opportunity (or at least the opportunity to build something cool here) if anyone wants to work in the AI cost estimation space. It's not exactly an idea I want to pursue, but just thought I'd put it out there. AI cost estimation (even with wide confidence bands) would be very useful to a lot of people. | |||||||||||||||||||||||
| ▲ | nvader 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Yeah, we probably want some kind of traffic light system: Green means go Orange means finish what you're doing but don't start anything new Red means stop everything And probably a special rule to permit stable, critical spend through regardless, the same way we allow police and ambulance to run lights. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | mcapodici 6 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Yes and then the choice is run it and forgive it, or, stop the process midway. If you stop then you have to decide whether to charge for uncompleted work. Interesting tradeoffs. For very small ops e.g. individual Lambda invocation you have similar concerns especially if lots are fired at once from a queue or schedule or fanout. | |||||||||||||||||||||||
| ▲ | stuartaxelowen 6 hours ago | parent | prev [-] | ||||||||||||||||||||||
Advertising platforms have had this since their inception. They were just motivated because they could be left holding the bag. | |||||||||||||||||||||||