Our AI bill hit $11,400 with no attribution: a cautionary tale of unbounded retries and prompt bloat
vigilAPI · reddit · 2026-10-10
A team running 15 LLM-backed features saw inference spend grow 8x in a quarter to $11,400/month and couldn't attribute it — all calls hid inside SDKs scattered across the codebase. Post-mortem found three culprits: an uncapped retry helper that turned one call into forty for six weeks, a summarization prompt that bloated from 1.2k to 9k tokens (7x cost), and a customer's injection-like prompts they paid for. Fix: route all provider traffic through one proxy for per-feature/per-key cost attribution, and actually cap your retries.
More from coding & agent
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29