One API Bill, Ten Clients: Dev Ships a Client Ledger With Hard Spending Caps for AI API Costs
HospitalFar1258 · reddit · 2026-09-10
A developer juggling multiple clients on shared API keys got burned when an agent loop ran overnight before he noticed the spend. He shipped a self-serve ledger layer that stamps every call with client + project tags, enforces hard budget caps that refuse the next request rather than alerting after the fact, and exports client-facing monthly PDF reports. BYOK, no markup. Aimed at operator-led shops with 3+ clients and unexplainable blended API bills; he's explicit that teams already running LiteLLM for a single app don't need it.
More from coding & agent
- FrogNano: a 4B model trained purely with RL on synthetic tasks hits repo-level coding — burkov · 2026-09-10
- Instinct launches Trusted Person network letting AI agents negotiate plans with each other — mon__lim · 2026-09-10
- diagram-design skill gives Codex and Claude Code 39 actually-good diagram types — daniel_mac8 · 2026-09-10
- Simular to host CUA party at SF Tech Week debating if 2027 brings AGI for computer-use agents — xwang_lk · 2026-09-10
- LangChain's Harrison Chase: code-writing LLMs will make computer use take off — hwchase17 · 2026-09-10
- Open-source Chrome extension lets a browser agent keep working in its tab while you browse elsewhere — Silly_Entertainer92 · 2026-09-10