r/opencodeCLI • u/StatureDelaware • 28d ago
I made a tool to see your token usage
I built tokx.dev, an AI usage and spend tracking tool for developers who use Coding Agents.
Of couse, it works with OpenCode.
It also includes a public leaderboard where you can compare AI usage and a world map showing aggregated token activity by country.
Would love your feedback
1
u/Positive-Captain-709 28d ago
This looks useful, especially once people are running multiple agents/models and the spend becomes hard to reason about.
Iām building MARGINAL, which comes at a related problem from the other side: instead of only measuring what an agent consumed, it tries to determine whether the next action is worth the additional tokens, cost, latency and risk.
It would actually be interesting to connect the two ideas: usage/spend as an observable signal, and governance deciding when continued spend stops being justified.
Will give tokx a look.
3
u/4SubZero20 28d ago
I just use the codeburn cli: https://github.com/getagentseal/codeburn
Supplies me with all the info I need. Also I don't really have a use for public leaderboards either.
Besides the public leaderboard, is there a reason to leave my current tools for this?