The exact scripts a one-person AI API business runs in production — templated, de-branded, drop-in ready for One API / New API / LiteLLM.
On 2026-09-18 a solo operator's billing pool hit zero. 19 customer keys returned 403 for ~45 hours — silently. The health check watched the web app, not the dependency. The fix was written the next morning and has run every 5–30 minutes since. This pack is that exact stack, with every secret turned into a one-line config.
Is this a SaaS? No. You run the scripts on your own server. That's the point — the value is battle-tested logic from a real 45-hour incident, not a dashboard you have to trust.
Any dependencies? Python 3 standard library only. No pip install.
Will it leak my data? No telemetry, no phone-home. Config is a block at the top of each file.
What if I use LiteLLM, not One API? Same SQLite/MySQL schema. Point ONEAPI_DB at it; queries are portable.