Skip to content

About

Track your AI coding token usage (Claude Code, Cursor, Codex, OpenCode, Gemini CLI, Copilot) in your own GitHub repo. Free public API on GitHub Pages. npx @bicrick/tokentracker init

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

tokentracker: every AI token, every tool, every machine

npm CI MIT license stored in your GitHub macOS, Linux, Windows

Website · npm · Docs · llms.txt · Example


Every AI token you spend, across Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Copilot and more, on every machine, as one API. Stored in a repo on your own GitHub. Free, no account.

Install

Ask your agent:

Install tokentracker for me: run npx @bicrick/tokentracker init

Or run it yourself (Node 22.13+; you'll sign in to GitHub with a code):

npx @bicrick/tokentracker init

Use it

Ask your agent:

How many tokens did I use this month, and on which models? Use my tokentracker API.

Agents get everything they need from llms.txt and AGENTS.md. People can read the docs.

curl https://<github-username>.github.io/tokentracker-data/api/v1/stats.json

License

MIT

About

Track your AI coding token usage (Claude Code, Cursor, Codex, OpenCode, Gemini CLI, Copilot) in your own GitHub repo. Free public API on GitHub Pages. npx @bicrick/tokentracker init

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages