Your AI spend in one view,
in 90 seconds
One command unifies your OpenAI, Anthropic, Cursor, and Copilot bills — plus the Claude Code and Codex logs already on your machine — into a single breakdown, and shows you exactly where to cut. Runs locally. Your data never leaves your machine.
Requires Node 22+. Nothing to install or sign up for.
Illustrative sample output — demo data, not real or verified numbers.
What it does
Every source, one view
Your Claude Code and Codex session logs (priced locally at API rates) — plus your real OpenAI and Anthropic bills when you connect an admin/owner key — unified into a single breakdown. Cursor and Copilot connectors are in beta. No more flipping between dashboards.
A ranked list of cuts
Surfaces your most expensive models and the concrete switches that lower the bill — move to a cheaper tier, batch offline work, cache repeats — each with an estimated $/mo saving.
The plan-vs-API math
Projects your usage at API rates against subscription plan prices, so you can tell whether Pro, Max 5x, or pay-per-token is actually cheapest. The math no provider shows you.
Runs entirely locally
One npx command reads your usage and renders the report in your terminal. No account, no upload, no telemetry. Open-source — read every line before you run it.
Every number is labeled. Figures from your local Claude Code and Codex logs are estimated at published API rates — not a bill. Connect a provider with an admin/owner key and those estimates become verified against your real invoices.
How it works
Run one command
npx ai-spend-agent — nothing to install, configure, or sign up for.
It reads what's already there
Your Claude Code and Codex session logs, locally — priced at API rates as estimates. Connect provider billing with an admin/owner key to reconcile those estimates into verified numbers.
See spend + what to cut
A headline number, a ranked cut list with dollar savings, and a plan check — in under 90 seconds.
Your data never leaves your machine
The CLI reads usage locally and renders the report in your terminal. No telemetry, no cloud, no keys shipped off-box. It's open-source — read every line before you run it.
Want it running 24/7?
The hosted version adds continuous monitoring, burn-rate alerts before you hit a credit cap, and white-label reports you can send straight to clients. Join the beta and we'll reach out as spots open.