linkgo
CodeBurn

CodeBurn

AI

Free, local-first CLI and macOS menubar app that tracks AI coding token usage and cost across 36+ tools like Claude Code, Cursor, Codex, and Gemini CLI.

-(0 Reviews)
Free Available
Starting from Free

About CodeBurn

CodeBurn is a local-first observability tool for developers who use multiple AI coding assistants and want to know exactly where their tokens and dollars are going. It reads the session files that tools like Claude Code, Cursor, Codex, Copilot, Gemini CLI, Kiro, OpenCode, and Goose already write to disk, prices every call through LiteLLM, and produces a breakdown by task, model, tool, and project — with no proxy, wrapper, or API key required. A deterministic classifier labels every AI turn as Coding, Debugging, Feature Dev, Refactoring, Testing, and other categories without any LLM inference. A separate `codeburn optimize` command grades the developer's setup A–F, flags duplicate reads, context bloat, and ghost agents, and can apply fixes with per-change undo. CodeBurn is 100% free, open source under a permissive license, and ships as a terminal TUI and a macOS menubar app.

Key Features

Multi-tool cost tracking: Reads on-disk session files from 36+ AI coding tools including Claude Code, Cursor, Codex, Copilot, Gemini CLI, Kiro, OpenCode, and Goose and unifies them into one dashboard.
Local-first architecture: No proxy, no wrapper, no API key, and nothing leaves the machine — everything is computed from the session files the tools already write.
Task classification: Deterministically buckets every AI turn into categories like Coding, Debugging, Feature Development, Refactoring, and Testing without any additional LLM calls.
Per-project and per-model breakdowns: Slices cost and token counts by project, model, tool, and task so developers can see which repos or models drive the bill.
`codeburn optimize` grader: Grades the developer's setup A through F and flags duplicate file reads, context bloat, and ghost agents, with one command to apply the fixes and per-change undo.
TUI and menubar UIs: Ships as both a terminal TUI dashboard for deep dives and a macOS menubar app for at-a-glance daily spend.

Use Cases

Solo developer cost visibility: An indie dev running Claude Code and Cursor side by side sees which sessions burned the most tokens and adjusts their workflow.
Team AI budget attribution: Engineering managers roll up per-project spend to attribute AI costs to specific product areas or clients.
Debugging runaway sessions: When a coding agent burns thousands of tokens on one task, CodeBurn's classification pinpoints which turn category exploded.
Optimizing agent setups: Running `codeburn optimize` on a laptop grades the AI setup and removes duplicate context that quietly inflates every prompt.
Comparing model economics: Developers evaluate whether to move a task category from a frontier model to a cheaper one by looking at CodeBurn's per-model breakdown.

Frequently asked questions about CodeBurn

What is CodeBurn?

CodeBurn is a free, local-first command-line interface (CLI) and macOS menubar application that efficiently tracks AI coding token usage and costs across more than 36 tools, including Claude Code, Cursor, Codex, and Gemini CLI. It empowers developers to monitor their AI tool expenses seamlessly.

Key Points

  • Local-First Application: CodeBurn operates locally on your device, ensuring privacy and security.
  • Multi-Tool Tracking: Supports over 36 popular AI coding tools for comprehensive tracking.
  • User-Friendly Interface: Features a macOS menubar app for easy access and monitoring.

Detailed Explanation

CodeBurn is designed for developers who utilize multiple AI coding tools. It allows users to monitor token usage and associated costs in real-time. By integrating with tools like Claude Code and Codex, users can gain insights into how much they are spending on AI services.

Features:

  • Local-First Functionality: Unlike cloud-based solutions, CodeBurn stores data locally, enhancing privacy and reducing dependency on internet connectivity.
  • Comprehensive Cost Tracking: Users can view their token consumption and expenses across various platforms, which helps in budget management and optimizing usage.

Use Cases:

  1. Budget Management: Developers can set budget limits for their AI tool usage and receive alerts when approaching those limits.
  2. Cost Optimization: By analyzing usage patterns, users can switch to more cost-effective tools or adjust their workflows.
  3. Integration with Development Workflows: Ideal for teams relying on AI tools for coding assistance, CodeBurn integrates seamlessly into existing development environments.

Best Practices / Tips

  • Regular Monitoring: Make it a habit to check your usage statistics weekly to avoid unexpected costs.
  • Set Usage Alerts: Utilize CodeBurn’s alert features to notify you when you reach a certain spending threshold.
  • Explore Alternative Tools: Use CodeBurn’s tracking to identify underutilized tools, allowing you to optimize your toolkit for cost savings.

Additional Resources

How does CodeBurn work?

CodeBurn works by consolidating cost data from over 36 AI coding tools into a unified dashboard. It employs a local-first architecture for privacy, classifies tasks deterministically, and provides detailed breakdowns of project and model costs, helping developers and teams optimize their AI usage and budget effectively.

Key Points

  • Multi-tool Cost Tracking: Integrates data from various AI coding tools.
  • Local-First Architecture: Ensures privacy and security by processing data locally.
  • Task Classification: Categorizes AI interactions for better cost analysis.

Detailed Explanation

CodeBurn is designed to enhance visibility into AI coding tool expenses by reading on-disk session files from a wide array of more than 36 different AI coding tools, including Claude Code, Cursor, Codex, and Copilot. This integration allows developers to have a centralized dashboard that reflects their AI usage and related costs.

Multi-Tool Cost Tracking

By aggregating data from multiple tools, CodeBurn provides a comprehensive view of token usage and expenses. For instance, an independent developer using both Claude Code and Cursor can quickly identify which tool consumes the most resources, enabling them to adjust their workflows accordingly.

Local-First Architecture

CodeBurn stands out with its local-first architecture, meaning that it does not rely on external proxies, wrappers, or API keys. This ensures that all computations and data processing occur directly on the user's machine, enhancing privacy and security. Since the session files are already generated by the tools, CodeBurn utilizes these files without transmitting any sensitive information over the internet.

Task Classification

CodeBurn intelligently classifies every interaction with the AI tools into distinct categories such as Coding, Debugging, Feature Development, Refactoring, and Testing. This deterministic bucketing process eliminates the need for additional Large Language Model (LLM) calls, making the system efficient and straightforward. For example, if a developer experiences an explosion in token usage, CodeBurn can immediately highlight which task category caused the spike, allowing for quick adjustments.

Per-Project and Per-Model Breakdown

Developers can view costs and token counts on a per-project and per-model basis. This feature is especially helpful for engineering managers who need to attribute AI costs to specific product areas or clients, ensuring accurate budgeting and resource allocation.

Best Practices / Tips

  • Regularly Use codeburn optimize: This command grades your AI tool setup, identifying issues such as duplicate file reads or excessive context that can inflate costs. Regular optimization helps maintain efficiency.
  • Monitor Token Usage: Keep an eye on which sessions consume the most tokens to refine workflows and reduce unnecessary expenses.
  • Analyze Per-Model Economics: Utilize CodeBurn’s breakdowns to assess whether moving tasks to a more cost-effective model is viable, ensuring budget-friendly operations.

Additional Resources

What are the main features of CodeBurn?

CodeBurn features robust multi-tool cost tracking, a local-first architecture for privacy, task classification for efficiency, detailed project breakdowns, and an optimization grader. These functionalities help developers manage costs and enhance productivity across multiple AI coding tools seamlessly.

Key Points

  • Multi-tool Cost Tracking: Unifies data from over 36 AI coding tools.
  • Local-First Architecture: Ensures data privacy by processing files locally.
  • Task Classification: Efficiently categorizes AI interactions for better analysis.

Detailed Explanation

CodeBurn offers several standout features designed to empower developers using AI coding tools:

  1. Multi-tool Cost Tracking: CodeBurn reads session files from more than 36 AI coding tools such as Claude Code, Cursor, Codex, Copilot, and others. This unification into a single dashboard enables developers to monitor their usage and costs effectively.

  2. Local-First Architecture: CodeBurn operates without relying on external proxies, wrappers, or API keys. This means all computations occur locally, ensuring that sensitive data never leaves the developer's machine. This architecture is particularly beneficial for organizations concerned about data security and compliance.

  3. Task Classification: The software automatically categorizes AI interactions into specific tasks like Coding, Debugging, Feature Development, Refactoring, and Testing. This deterministic classification helps developers understand how their resources are being utilized, allowing for more informed decision-making without the need for additional LLM calls.

  4. Per-project and Per-model Breakdowns: CodeBurn provides granular insights by slicing costs and token counts by project, model, tool, and task. This feature is crucial for identifying which repositories or models contribute most significantly to expenses, helping developers optimize their workflows.

  5. codeburn optimize Grader: This unique grading feature assesses a developer's setup on an A to F scale, highlighting issues like duplicate file reads, context bloat, and ghost agents. With a single command, developers can apply suggested fixes and even undo changes if necessary, streamlining the optimization process.

Best Practices / Tips

  • Regular Monitoring: Frequently check the dashboard to stay on top of costs and usage across multiple tools.
  • Utilize Task Classification: Leverage the task classification feature to pinpoint areas needing improvement in workflow efficiency.
  • Optimize with the Grader: Run the codeburn optimize command regularly to maintain a clean and efficient development environment.

Additional Resources

Who is CodeBurn for?

CodeBurn is designed for indie developers, engineering managers, and teams utilizing AI tools. It provides insights into token consumption, budget allocation, and session performance, allowing users to optimize their workflows and manage AI costs effectively.

Key Points

  • Solo Developer Cost Visibility: Helps indie developers track token usage.
  • Team AI Budget Attribution: Aids engineering managers in cost allocation.
  • Session Debugging: Identifies runaway sessions for optimization.

Detailed Explanation

CodeBurn offers a suite of features that cater specifically to different user personas in the software development ecosystem:

  1. Solo Developer Cost Visibility: For indie developers, CodeBurn is invaluable in tracking which coding sessions consume the most tokens. For instance, by running Claude Code and Cursor side by side, developers can easily identify sessions that lead to excessive token usage, allowing them to adjust their workflows to be more efficient and cost-effective.

  2. Team AI Budget Attribution: Engineering managers can leverage CodeBurn to roll up AI expenditures by project, making it easier to attribute costs to specific product areas or clients. This feature is crucial for teams working on multiple projects, as it provides a clear breakdown of where AI resources are being utilized and helps in budget forecasting.

  3. Debugging Runaway Sessions: CodeBurn's classification system helps users pinpoint which tasks lead to runaway sessions that consume thousands of tokens. For example, if a coding agent's task unexpectedly escalates in token usage, CodeBurn identifies the specific category that caused the spike, allowing developers to troubleshoot and refine their approach.

  4. Optimizing Agent Setups: By running the command codeburn optimize on a local machine, users can assess their AI setups and eliminate redundant context that may inflate prompt costs. This optimization can lead to significant savings in token usage over time.

  5. Comparing Model Economics: Developers can analyze the economic viability of various AI models using CodeBurn. By examining the per-model breakdown, they can decide whether to transition specific tasks from more expensive frontier models to more cost-effective alternatives, maximizing their budget efficiency.

Best Practices / Tips

  • Regularly review token usage to identify trends and adjust your workflow accordingly.
  • Use CodeBurn’s reporting features to communicate AI costs effectively with stakeholders.
  • Continuously optimize your agent setups to avoid unnecessary token consumption.
  • Take advantage of the per-model breakdown to make informed decisions about model usage.

Additional Resources

How much does CodeBurn cost?

CodeBurn is entirely free to use, offering users a range of features without any subscription or hidden fees. This makes it an attractive option for individuals and businesses looking to leverage coding tools without financial commitment.

Key Points

  • No Cost: CodeBurn is free for everyone.
  • User-Friendly: Intuitive interface designed for all levels.
  • Feature-Rich: Offers various coding tools without charge.

Detailed Explanation

CodeBurn stands out in the marketplace as a free coding tool, making it accessible for students, hobbyists, and professionals alike. Users can perform tasks such as code generation, debugging, and even collaboration on projects without incurring any costs.

For instance, if you're a student learning programming, you can practice coding in different languages like Python, JavaScript, or C++ without worrying about subscription fees. Similarly, small businesses can utilize CodeBurn to develop software solutions without a financial burden, allowing them to allocate resources elsewhere.

Additionally, CodeBurn frequently updates its platform, ensuring users have access to the latest coding features and tools. This commitment to improvement means that even as a free service, users can expect a robust and evolving platform.

Best Practices / Tips

  • Explore Features: Take advantage of all the tools offered by CodeBurn to maximize your coding efficiency.
  • Engage with Community: Join forums or discussion groups related to CodeBurn to learn best practices and tips from experienced users.
  • Stay Updated: Regularly check for updates or new features released by CodeBurn, ensuring you leverage all available tools.

Additional Resources

By utilizing CodeBurn's free offerings, users can enhance their coding skills and productivity without any financial investment.

How do I get started with CodeBurn?

To get started with CodeBurn, visit CodeBurn's official website and sign up for an account. Once registered, you can explore its features, create projects, and leverage its powerful tools for efficient coding and development.

Key Points

  • Sign Up Process: Easy registration on the website.
  • User-Friendly Interface: Navigate through intuitive design.
  • Explore Features: Access various tools and resources available.

Detailed Explanation

To begin using CodeBurn, follow these steps:

  1. Visit the Website: Go to CodeBurn's official site.
  2. Sign Up: Click on the "Sign Up" button. You will need to provide basic information, such as your email address and a password. You may also have the option to sign up using your Google or GitHub account for quicker access.
  3. Verify Your Account: After signing up, check your email for a verification link. Click on it to activate your CodeBurn account.
  4. Explore the Dashboard: Once logged in, familiarize yourself with the dashboard. Here, you’ll find project templates, coding tools, and community resources.
  5. Create Your First Project: Click on “Create New Project” to begin. You can select from various templates suited for different coding languages and frameworks.
  6. Utilize Learning Resources: Take advantage of tutorials and documentation available on the site to enhance your skills and learn how to make the most of CodeBurn.

Best Practices / Tips

  • Use the Tutorials: Don’t skip the tutorials provided during your onboarding. They can save you time and help you understand the platform’s capabilities.
  • Join the Community: Engage in forums or community discussions to share knowledge and get assistance from other users.
  • Stay Updated: Regularly check for updates or new features released by CodeBurn to keep your projects optimized and efficient.

Additional Resources

By following these guidelines, you will be well on your way to utilizing CodeBurn effectively for your coding projects.

Explore more AI Ai Tools tools

Browse all Ai Tools tools →

Compare CodeBurn: vs Ito · vs Kin Health · vs Caveman · vs BearDrive