juliantanx / aiusage
PublicTrack AI coding assistant usage, token consumption, cost, and tool calls across Claude Code, Codex, OpenClaw, and OpenCode.
aiusage is a local-first tool that automatically reads session logs from your AI coding assistants (Claude Code, Codex, OpenClaw, and OpenCode), aggregates all the data into a searchable database, and presents it through a beautiful web dashboard. It tracks token usage, calculates costs, shows which models you use most, ranks your most-invoked tools, and breaks down spending by project. You can keep everything on one machine or sync data across multiple computers using cloud storage. The dashboard updates automatically and lets you filter by time period, device, or AI tool.
How It Works
You rely on tools like Claude Code, Codex, OpenClaw, or OpenCode to help write code every day.
Curious about how much you're spending, which models you're using, and how often the AI calls tools.
You install aiusage with one simple command. Everything stays on your own computer.
Run a simple command to automatically read through your existing session logs and bring all your data together.
Open a beautiful web page showing your total tokens, costs, active days, and which tools you use mostβall in one place.
Just you, running the dashboard locally whenever you want to check your stats.
Connect to GitHub, S3, or R2 storage so you can see combined stats from all your computers.
Dive into detailed views: daily token trends, cost breakdowns by tool and model, which projects consume the most, and your most-used AI commands.
No more guessing about AI costs or usage. You see everything clearly, stay within budget, and understand your workflow better.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.