Skip to content

CodeBurn

CodeBurn is a free, open-source tool that tracks AI coding token usage and cost across various tools, including Claude Code, Cursor, and Codex, providing multiple interfaces.

Free · macOS, Windows, Linux

stork
I am a painting.
One still painting and one typed sentence.
This painting was never filmed.
A photo, a cartoon, a painting or a 3D character. From 10 cents a minute. Free to try.
Make a photo talkDevelopers: there is an API

What is CodeBurn?

CodeBurn is an AI observability tool developed by getagentseal that enables developers and project managers to track and visualize token usage and costs across a wide range of AI coding assistants. It provides detailed insights into AI expenditures, helping to optimize resource allocation and identify inefficiencies.

Key Features of CodeBurn

CodeBurn offers a comprehensive suite of features designed to provide granular control and visibility over AI coding assistant usage and costs.

  • Tracks AI coding token usage and associated costs across 36 AI tools and agents.
  • Supports specific tools including Claude Code, Cursor, and Codex.
  • Provides multiple user interfaces: a desktop application, a macOS menu bar application, a command-line interface (CLI), and a web dashboard.
  • Functions as a local-first tool, reading session files directly from disk without requiring API keys or proxies.
  • Offers a grading system to assess and improve efficiency of AI coding usage.
  • Identifies waste patterns such as repeated file reads, low read-to-edit ratios, and unused agents.
  • Classifies usage into 13 task categories (e.g., coding, debugging, conversation) without additional LLM calls.
  • Includes codeburn context for interactive terminal browsing of Claude Code and Codex sessions.
  • Allows user price overrides for any model via codeburn price-override.

Who Should Use CodeBurn?

CodeBurn is primarily designed for developers and teams utilizing AI coding assistants who require detailed insights into their token consumption and associated costs.

  • Developers: To monitor personal AI token usage and costs across various coding assistants like Claude Code and Cursor, optimizing individual spend.
  • Teams using AI coding assistants: To track and analyze AI spend by task, model, tool, and project, facilitating cost-benefit analysis post-feature implementation.
  • Project Managers: To identify waste patterns, detect inefficiencies in AI usage, and receive optimization suggestions for resource allocation.
  • Startups: To inform scaling decisions by accurately tracking token usage and reallocating resources to more cost-efficient features.
  • Organizations focused on efficiency: To compare the performance and efficiency of different AI models and correlate AI session spend with actual code shipped via Git commits.

How to Use CodeBurn

CodeBurn is designed for straightforward installation and immediate use, primarily through its command-line interface and various dashboards.

  1. Installation: Install CodeBurn globally via npm using npx codeburn.
  2. Launch CLI/TUI: Run codeburn in your terminal to access the interactive TUI dashboard.
  3. Access Web Dashboard: Open the web dashboard in your browser for a mobile-responsive view of usage data.
  4. Utilize Desktop/Menubar Apps: Install the dedicated desktop application or macOS menubar app for continuous monitoring.
  5. Audit Usage: Use codeburn audit to scan for waste patterns and receive optimization suggestions.
  6. Override Prices: Customize model pricing with codeburn price-override for personalized cost tracking.

CodeBurn Pricing & Plans

CodeBurn is a free and open-source tool, making all its features and functionalities accessible without any cost.

  • Free: All features, including token usage tracking, cost analysis, multiple interfaces, and optimization suggestions, are available at no charge.

Pros

  • Free and open-source, providing full access without cost.
  • Local-first operation ensures privacy and security by reading session files directly.
  • Broad compatibility, tracking usage across 36 different AI coding tools and agents.
  • Offers granular cost and usage breakdowns by task, model, tool, and project.
  • Provides actionable insights and optimization suggestions for reducing AI spend.
  • Multiple interface options (CLI, TUI, desktop, web) cater to diverse user preferences.

Cons

  • Requires local installation and management, not a cloud-hosted service.
  • No API available for programmatic integration with other systems.
  • Relies on parsing local session files, which might be subject to changes in AI tool logging formats.
  • The extensive feature set might have a learning curve for new users.

CodeBurn vs Competitors

CodeBurn distinguishes itself in the AI token tracking landscape through its broad tool support, local-first operation, and detailed analytical capabilities.

CodeBurn

Free · macOS, Windows, Linux

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking