mooracle.io

Free & open source

FinOps Tools

AI assistants bill by the token, but the value lands in commits. These tools close that gap: every AI-assisted commit gets a cost trailer in git history, so you can answer "what did this feature cost?" straight from git log.

  • Copilot Budget

    A VS Code extension that puts a price on every commit made with GitHub Copilot. It reads per-span token counts from Copilot Chat's local telemetry database and appends an AI-cost trailer to your commit message via a prepare-commit-msg hook — so the receipt lives in git history, next to the code it paid for.

    • VS Code extension
    • Works on any Copilot plan
    • MIT-licensed
    • No accounts, no telemetry sent anywhere
  • claude-budget

    The same idea for Claude Code, with no editor in the loop: a single static Go binary that reads the session transcripts Claude Code already writes, prices the tokens against an embedded Anthropic rate card, and attaches a Claude-Cost trailer to each commit. One setup command installs the hooks; then you commit as usual.

    • Single static Go binary
    • No daemon, no account linking, no telemetry
    • MIT-licensed

The methodology behind both tools — why the commit is the right place to attribute AI cost, and how to read the numbers once you have them — is in FinOps for AI: Track What Your Code Actually Costs Per Commit.

Rolling out AI cost tracking across a whole engineering org? That's a conversation.