Skip to content
Tech News
← Back to articles

Show HN: CodeBurn – Analyze Claude Code token usage by task

read original get Claude Code Token Analyzer → more articles
Why This Matters

CodeBurn offers developers and organizations a powerful tool to analyze and optimize their AI coding token usage across multiple models and tasks. By providing detailed insights into token consumption and success rates, it helps improve efficiency and reduce costs in AI-assisted coding workflows, benefiting both industry professionals and consumers seeking more effective AI integrations.

Key Takeaways

CodeBurn

See where your AI coding tokens go.

By task type, tool, model, MCP server, and project. Supports Claude Code, Codex (OpenAI), Cursor, OpenCode, and Pi with a provider plugin system. Tracks one-shot success rate per activity type so you can see where the AI nails it first try vs. burns tokens on edit/test/fix retries. Interactive TUI dashboard with gradient charts, responsive panels, and keyboard navigation. macOS menu bar widget via SwiftBar. CSV/JSON export.

Works by reading session data directly from disk. No wrapper, no proxy, no API keys. Pricing from LiteLLM (auto-cached, all models supported).

Install

npm install -g codeburn

Or run without installing:

npx codeburn

Requirements

Node.js 20+

... continue reading