# I tracked 2.86 billion AI coding tokens. Here's what a commit actually costs.

> Source: <https://dev.to/centrail/i-tracked-286-billion-ai-coding-tokens-heres-what-a-commit-actually-costs-3745>
> Published: 2026-09-24 17:46:04+00:00

Every team I talk to is paying for Claude Code, Copilot, Codex or all three. Almost none of them can answer a simple question: **what did that AI spend actually ship?**

The provider invoice tells you how many tokens you bought. It doesn't tell you which commits those tokens turned into. So I built a tool that does, and pointed it at my own work first.

Here's everything Centrail has tracked on my own AI-assisted development so far:

| Metric | Total | 
|---|---|
| Tokens | 2.86 billion | 
| AI spend | $4,099 | 
| Commits | 944 | 
| Cost per commit | **$4.34** | 

"We spend $X a month on AI" is a budget line. "$4.34 per shipped commit" is a unit cost you can actually manage. Once you have it, you can ask better questions:

Centrail runs where the work happens, on your machine, not at the invoice level. The CLI reads local usage from your AI coding agents and ties each token and dollar to the Git commit it produced. That syncs to a dashboard, so the whole team or organization stays up to date on real AI metrics automatically. Nobody has to update a spreadsheet.

It also estimates the energy, water and CO2 behind every token, with a public methodology, because AI's footprint is a cost too.

What does a commit cost on your team? If you don't know, I'd love to hear how you're thinking about AI spend in the comments.
