CodeBurn is a free, open-source tracker for AI coding costs. It reads the session files your tools already write - Claude Code, Cursor, Codex, Copilot, 40 in all, and shows every token and dollar by the task, model, project, and pull request that used it. The Optimize tab finds waste like cache bloat or retry tax, applies the fix, and tracks what it actually saved. Everything runs on your machine: no account, no uploads. MIT-licensed and genuinely free, used by 150k+ developers across the world.
Building Eywa & CodeBurn
CodeBurn tracks token usage, cost, and performance across 40 AI coding tools. See exactly where your budget goes.
Everything runs locally. No wrapper, no proxy, no API keys. CodeBurn reads session data directly from disk and prices every call using LiteLLM.
Cost tracking - prices every API call using input, output, cache read, cache write, and web search token counts
13 task categories - classified from tool usage patterns, fully deterministic (no LLM calls)
Daily breakdowns - per-project, per-model, per-activity with one-shot rate
Models - per-model token and cost table with filtering and grouping
Optimize - scans for waste patterns and gives copy-paste fixes
Compare - side-by-side model performance and efficiency metrics
Yield - correlates AI sessions with git commits to track productive spend
Menu bar - native macOS app showing today's spend at a glance
GNOME extension - same functionality on Linux
Plans & Currency - subscription tracking in 162 currencies
AI coding tools store session transcripts on disk as JSONL files, SQLite databases, or JSON. CodeBurn discovers these files, parses token usage from each turn, and prices them using the LiteLLM model pricing database.
The result is a full breakdown: which model, which project, which task type, and how much each cost. The interactive dashboard lets you switch between time periods, toggle providers, and drill into individual sessions.
Loading comments...
How the community currently views this idea
Former logistics executive who launched a software platform that automates the sorting of post-consumer garments for textile mills.
Loading...