π¦ ClawHub
OEE AI Cost Tracker
by @odinbot33
Tracks AI API usage by logging calls, reporting spending by model and period, and suggesting cheaper models to optimize costs.
π‘ Examples
Logging (in your code)
from tracker import log_usage
log_usage(model="claude-3-haiku", input_tokens=500, output_tokens=200, task="humanize")
Reports
# Full spend report
python report.pyLast 7 days
python report.py --days 7By model
python report.py --by-model
TERMINAL
clawhub install oee-ai-cost-tracker