Hello, I'm Maneshwar. I'm building git-lrc, a Micro AI code reviewer that runs on every commit. It is free and source-available on Github. Star git-lrc to help devs discover the project. Do give it a try and share your feedback.
So, funny story
I basically don't code alone anymore.
Cursor is open on my left, Claude is open on my right, and I spend my day describing things to two very confident interns who never sleep.
It's great.
My output has genuinely gone up.
Then today evening, mid-prompt, a thought crept in: how much am I actually spending on all this? Not the flat subscription.
The other bill.
The sneaky usage-based one that quietly climbs while I'm busy telling an AI to "just refactor this real quick."
My brain did what any healthy developer brain does.
It panicked, calmed itself with a lie, then panicked harder.
That little spiral is what sent me looking, and that's how I found
junhoyeo
/
tokscale
🛰️ A CLI tool for tracking token usage from OpenCode, Claude Code, 🦞OpenClaw, Pi, Codex, Gemini, Cursor, AmpCode, Factory Droid, Kimi, and more! • 🏅Global Leaderboard + 2D/3D Contributions Graph
A high-performance CLI tool and visualization dashboard for tracking token usage and costs across multiple AI coding agents.
Tip
v2 is here — native Rust TUI, cross-platform support, and more.
I drop new open-source work every week. Don't miss the next one.
🇺🇸 English | 🇰🇷 한국어 | 🇯🇵 日本語 | 🇨🇳 简体中文
Run
bunx tokscale@latest submitto submit your usage data to the leaderboard and create your public profile!
Overview
Tokscale helps you monitor and analyze your token consumption from:
| Logo | Client | Data Location | Supported |
|---|---|---|---|
![]() |
OpenCode |
~/.local/share/opencode/opencode.db (1.2+, all channels including opencode-stable.db) or/and ~/.local/share/opencode/storage/message/ (legacy/unmigrated) |
✅ Yes |
![]() |
Claude Code |
~/.claude/projects/ and ~/.claude/transcripts/
|
✅ Yes |
![]() |
OpenClaw |
~/.openclaw/agents/ (+ |
What tokscale actually is
Short version: it's a CLI that adds up your token usage and cost across pretty much every AI coding tool you already use.
Claude Code, Cursor, Codex, Gemini, Copilot, Amp, and a long list of others I've never even opened.
The clever bit is that it doesn't ask you to wire up API keys or babysit some dashboard.

All these tools already write logs to your machine.
tokscale just reads what's sitting there, prices it against live rates, and hands you the damage in a terminal UI.
No account required to see your own numbers.
Here's the flow, because I think it's cooler than it has any right to be:
The core is written in Rust, so parsing months of logs is fast enough that you won't go make coffee waiting for it.
It breaks everything down by input, output, cache reads and writes, even reasoning tokens, so you can finally see which model is quietly eating your lunch.
Trying it is one line. Nothing to install permanently:
npx tokscale@latest
That drops you straight into the interactive dashboard.
There's a GitHub-style contribution graph in there too, except instead of green squares for commits, you get a heatmap of how hard you leaned on the robots each day.
Humbling. Beautiful. Slightly incriminating.
The name is a whole flex, and I respect it
Here's the part that made me smile. tokscale is named after the Kardashev scale, the astrophysics idea that ranks a civilization by how much energy it can harness.
Type I bends a whole planet's energy. Type II captures an entire star. Type III commands a galaxy.
The pitch is that in AI-assisted dev, tokens are the new energy. So tokscale ranks you on the same idea:
I opened the tool fully expecting to be a humble Type I. A polite, energy-conscious little developer.
Reader, I was not.
Was it worth knowing?
Honestly, yes. Not because the number was scary (okay, it was a little scary), but because I finally had a real number instead of a vibe.
I could see that most of my spend came from one specific "just one more prompt" habit late at night, and that one model was doing the heavy lifting while I paid premium rates for another out of pure muscle memory.
That's the actual value here. It turns "eh, probably fine" into a receipt you can act on.
A token of appreciation, if you will, for your own bank account.
If you're pair-programming with AI every day like I am, spend the sixty seconds.
Run it, poke around the dashboard, and find out which Kardashev type you really are.
Worst case, you learn something.
Best case, you save enough to justify the subscription that got you here.
You can grab it on the repo, and there's a slick web version of the whole thing to explore too.
Now if you'll excuse me, I have a prompt to send. Just one more.
AI agents write code fast. They also silently remove logic, change behavior, and introduce bugs — without telling you. You often find out in production.
git-lrc fixes this. It hooks into git commit and reviews every diff before it lands. 60-second setup. Completely free.
Any feedback or contributors are welcome! It's online, source-available, and ready for anyone to use.
⭐ Star it on GitHub:
HexmosTech
/
git-lrc
Free, Micro AI Code Reviews That Run on Git Commit
| 🇩🇰 Dansk | 🇪🇸 Español | 🇮🇷 Farsi | 🇫🇮 Suomi | 🇯🇵 日本語 | 🇳🇴 Norsk | 🇵🇹 Português | 🇷🇺 Русский | 🇦🇱 Shqip | 🇨🇳 中文 | 🇮🇳 हिन्दी |
git-lrc
Free, Micro AI Code Reviews That Run on Commit
GenAI today is a race car without brakes. It accelerates fast -- you describe something, and large blocks of code appear instantly. But AI agents silently break things: they remove logic, relax constraints, introduce expensive cloud calls, leak credentials, and change behavior -- without telling you. You often find out in production.
git-lrc is your braking system. It hooks into git commit and runs an AI review on every diff before it lands. 60-second setup. Completely free.
In short, git-lrc helps Prevent Outages, Breaches, and Technical Debt Before They Happen
At a glance: 10 risk categories · 100+ failure patterns tracked · every commit…













Top comments (0)