Built a CLI that tells me what I'm spending on AI APIs before the invoice does

📰 Dev.to AI

I kept finishing coding sessions with a small idea what I'd just spent on API calls :'D. The dashboards from the providers lag, and none of them give you a per-call breakdown tied back to your own code. So I built Tirith ; an open-source CLI that sits as a transparent proxy between your code and any AI API. One import to add, one to remove. What it does Drops in with a single line; no config changes Works with any provider you're

Published 16 Apr 2026
Read full article → ← Back to Reads