Agents burnlog counts
Local logs when they exist. Provider usage when they don't. Tokens only.
$ npx @sxnalabs/burnlogrun once · already connected? skip it
Read from local logs
The agent already writes its own usage to disk. Nothing to configure, and your first run counts history you already have.
- Claude Codereads directlyRead directly from the session logs Claude Code already writes. Nothing to configure, and it works retroactively on history you've already accumulated.
- Codexreads directlyRead directly from ~/.codex/sessions. Like Claude Code, it needs no key and no proxy, and it counts the history you already have.
- Cursorreads directlyCounted exactly, subscription included. burnlog reads Cursor's own usage records — the same ones on your Cursor dashboard — using the Cursor login already on your machine.
- Gemini CLIreads directlyCounted from disk, history included. Gemini CLI records tokens for every turn in its saved chats; burnlog reads those and nothing else.
- opencodereads directlyCounted from disk, any provider, history included. opencode records tokens for every assistant message; burnlog reads them.
Counted at the wire
No readable log, so burnlog reads the usage field off the API response instead — the provider's own number, not an estimate.