Gemini Executive Synthesis
CodeBurn – A tool to analyze Claude Code token usage by task
Technical Positioning
A specialized tool for Claude Code users to gain granular visibility into token consumption at the task level, addressing the lack of detailed cost breakdown beyond model and daily usage, and revealing inefficiencies in agent interaction patterns.
SaaS Insight & Market Implications
CodeBurn addresses a critical, emerging pain point for businesses adopting AI coding agents: cost visibility and optimization. The lack of granular token usage breakdown from providers like Claude Code leads to significant, unmanaged expenses. CodeBurn's ability to classify usage by task, rather than just model or day, provides actionable insights into where costs are incurred, highlighting inefficiencies like high spend on non-tool-using conversation turns. This tool is essential for organizations seeking to control and optimize their AI development budgets. It underscores a broader market need for robust cost management and observability solutions as AI agent usage scales, positioning itself as a necessary utility for responsible AI expenditure.
Proprietary Technical Taxonomy
Claude Code
token usage
JSONL session transcripts
tool usage patterns
LLM calls
conversation turns
coding (edits/writes)
interactive terminal UI
Raw Developer Origin & Technical Request
Hacker News
Apr 17, 2026
Show HN: CodeBurn – Analyze Claude Code token usage by task
Built this after realizing I was spending ~$1400/week on Claude Code with almost no visibility into what was actually consuming tokens.Tools like ccusage give a cost breakdown per model and per day, but I wanted to understand usage at the task level.CodeBurn reads the JSONL session transcripts that Claude Code stores locally (~/.claude/projects/) and classifies each turn into 13 categories based on tool usage patterns (no LLM calls involved).One surprising result: about 56% of my spend was on conversation turns with no tool usage. Actual coding (edits/writes) was only ~21%.The interface is an interactive terminal UI built with Ink (React for terminals), with gradient bar charts, responsive panels, and keyboard navigation. There’s also a SwiftBar menu bar integration for macOS.Happy to hear feedback or ideas.
Developer Debate & Comments
Frequently Asked Questions
Market intelligence mapped to CodeBurn – A tool to analyze Claude Code token usage by task.
How is CodeBurn – A tool to analyze Claude Code token usage by task positioned in the market?
Based on our AI analysis of the original developer request, its primary technical positioning is: A specialized tool for Claude Code users to gain granular visibility into token consumption at the task level, addressing the lack of detailed cost breakdown beyond model and daily usage, and revealing inefficiencies in agent interaction patterns.
How is the developer community reacting to CodeBurn – A tool to analyze Claude Code token usage by task?
Yes, we have tracked 17 direct responses and active debates regarding this specific topic originating from Hacker News.
What architecture is tied to CodeBurn – A tool to analyze Claude Code token usage by task?
Our proprietary extraction maps CodeBurn – A tool to analyze Claude Code token usage by task to adjacent architectural concepts including Claude Code, token usage, JSONL session transcripts, tool usage patterns.
What open-source repositories focus on CodeBurn – A tool to analyze Claude Code token usage by task?
Yes, open-source adoption is correlated. An active project titled 'AgentSeal/codeburn' explores similar frameworks: See where your AI coding tokens go. Interactive TUI dashboard for Claude Code, Codex, and Cursor cost observability.