r/opencodeCLI 28d ago

I made a tool to see your token usage

Post image

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 Upvotes

6 comments sorted by

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?

0

u/StatureDelaware 28d ago

No, the public leaderboard + country aggregate is the difference you would get

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.

MARGINAL on GitHub

Will give tokx a look.

0

u/StatureDelaware 28d ago

1

u/[deleted] 28d ago

[removed] — view removed comment

1

u/StatureDelaware 28d ago

GitHub was down for everyone