Live data from Hacker News

Ask HN: How are you keeping AI coding agents from burning money?

news.ycombinator.com

51–60 of 60 posts

Re: Ask HN: How are you keeping AI coding agents from burning money?

#51

AI outputs often feel like a gacha game. Paradoxically, the 'expensive' tokens are sometimes the cheapest in the long run. In my experience, higher-end models have a much higher 'one-shot' success rate. You aren't just saving on total token count by avoiding loops; you’re saving engineering time, which is always the most expensive resource anyway.

[flagged]

Re: Ask HN: How are you keeping AI coding agents from burning money?

#52
I would suggest trying a different harness. I only use OpenCode and haven't run into limits on even the $20 OpenAI plan. I will say that I use it more as an assistant and don't usually just say "hey go do this thing" without a plan broken down into tasks. With that being said, i don't think i have used even 50% of my 5 hour allotment, even when having it do everything.

So all that to say, maybe try other harnesses because it could just be a prompt issue in the harness.

I am also an unabashed opencode shill, so take that into account too.

Re: Ask HN: How are you keeping AI coding agents from burning money?

#54
The per-route breakdown is exactly what's missing from the native dashboards. I've been running Trough for this: it sits in front of your HTTP API calls and tracks cost by route, so you can see "this endpoint is costing $X/day" rather than just an aggregate total. Retry storms show up as a spike on a specific route, which makes it easy to pinpoint the loop. Self-hosted Go binary, free for one service. stockyard.dev/trough

Re: Ask HN: How are you keeping AI coding agents from burning money?

#55

The per-route breakdown is exactly what's missing from the native dashboards. I've been running Trough for this: it sits in front of your HTTP API calls and tracks cost by route, so you can see "this endpoint is costing $X/day" rather than just an aggregate total. Retry storms show up as a spike on a specific route, which makes it easy to pinpoint the loop. Self-hosted Go binary, free for one service. stockyard.dev/t…

This is great visibility..just checked the website..I will try this over weekend

Re: Ask HN: How are you keeping AI coding agents from burning money?

#58

The per-route breakdown is exactly what's missing from the native dashboards. I've been running Trough for this: it sits in front of your HTTP API calls and tracks cost by route, so you can see "this endpoint is costing $X/day" rather than just an aggregate total. Retry storms show up as a spike on a specific route, which makes it easy to pinpoint the loop. Self-hosted Go binary, free for one service. stockyard.dev/t…

This is great visibility..just checked the website..I will try this over weekend

Awesome! let me know how it goes. If you hit anything weird during setup, open an issue on GitHub (github.com/stockyard-dev/stockyard-trough) or email me directly: michael@stockyard.dev. The install is just `curl -fsSL stockyard.dev/trough/install.sh | sh` and it should be running in about 30 seconds
Post reply on HN