CPA Usage Keeper
Somewhere between the third coding agent and the fifth model subscription, nobody can say where the tokens went. CPA Usage Keeper keeps the receipts for a CLIProxyAPI gateway, saving every request locally with scheduled backups so history survives restarts. The Overview page shows requests, success rate, tokens, cache hit rate, and estimated cost with sparklines and a calendar heatmap, and Realtime plots time to first token against total latency and shows rolling cache levels and model speed. Analysis breaks usage down by API key, model, credential, or provider with donut charts and ranked lists. The Request Events log filters by model, source, and status, adjusts its columns, and exports records. Credentials cards show success rates, remaining five-hour and weekly quotas, priorities, and enable switches, and quota history charts how many tokens and dollars each percentage point costs over a cycle. Individual API keys can be given a read-only usage view. Deployment uses a Docker Compose file that bundles CPA with Keeper or runs Keeper beside an existing gateway, and the interface switches between English and Chinese and between light and dark themes. Check the dashboard before the invoice arrives and see exactly who spent what. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Deploy