Budi
FreeLocal-first cost analytics for AI coding agents. Tracks token usage and spend across Claude Code and Cursor.
About Budi
Budi is a local-first, open-source cost analytics daemon and CLI for AI coding agents. It tracks token usage and spend across multiple agents including Claude Code, Cursor, Codex CLI, Copilot CLI, and Copilot Chat (VS Code/JetBrains), breaking down costs by repository, branch, ticket, and file. Data stays on the user's machine by default, with an optional cloud sync that sends only aggregated metrics (prompts and code never leave the machine). Features per-message cost attribution, session health detection (context bloat, cache degradation, cost acceleration), and a live status line for VS Code/Cursor. The Rust binary is approximately 13 MB, requires zero configuration, and supports one-time historical imports.
Key Features
Pros & Cons
- Local-first design ensures privacy of prompts and code
- Free and open-source
- Lightweight Rust binary with no dependencies
- Supports multiple major AI coding agents
- Granular per-message cost breakdown
- Actionable session health insights
- Optional cloud sync for team-wide dashboards
- Limited to specific AI coding agents; some like Gemini CLI are deferred
- JetBrains support is partial (session discovery + daily spend only)
- Cloud sync is optional but may require additional setup for team use
- Requires command-line installation and initial configuration
- No native mobile or web app beyond the cloud dashboard