Developer builds tool to link 2.86B AI coding tokens to actual Git commits
A developer built an open-source tool called Centrail after noticing that AI coding invoices show token counts but not what those tokens actually produced. By tracking his own usage across tools like Claude Code and Copilot, he logged 2.86 billion tokens and $4,099 in spend across 944 commits, arriving at a unit cost of $4.34 per commit. The CLI tool runs locally, reads usage data from AI coding agents, and ties each token and dollar to the Git commit it generated. Results sync to a shared dashboard, eliminating the need for manual spreadsheet updates across teams. The tool also estimates the energy, water, and carbon footprint associated with each token, using a publicly documented methodology.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in