AIOpsKit / TokenLedger
TokenLedger
One CLI call records a model, token counts, cost and latency. Reports group by project and model; budgets warn at a threshold and fail the command when over.
Value $29Free editionPHP 8.1+SQLite
Download the kit
Team license
What it does
- Costs stored as integer micro-USD
- Monthly budgets with alert and over states
- CSV export
- No external service; SQLite only
- Feeds the AI Usage Dashboard
Quick start
php bin/aiopskit ledger record --project=acme --model=gpt-4o \ --in=1200 --out=300 --cost=0.012 --latency=840 php bin/aiopskit ledger report --days=30 php bin/aiopskit ledger budget --project=acme --usd=50
In the box
This tool ships inside AIOpsKit with the shared CLI, web UI and documentation. The free edition covers one production site; the team license covers unlimited sites and 12 months of updates.
See all ten tools