prtokens - See how much your PR costs in LLM tokens (agent usage).
by•
I built prtokens to attribute Claude Code, Codex, and OpenCode token usage to the GitHub PR that shipped it.
It reads local agent transcripts, maps usage to commits on your PR branch, and posts/updates one GitHub comment with estimated cost, token counts, sessions, models, agents, and a per-commit breakdown.
Transcripts stay local; only aggregate numbers go into the PR comment.

Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.