CodeBurn
Analyze Claude Code token usage by task
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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.
HN · launched Apr 13, 2026 · 112 upvotes (top 10%) · 0 views
Niche: llm cost monitoring tools · 49 launches, 2 in the last 7 days ▼ -60% · Explore this niche →
Category and tags
- Horizontal
- Analytics & BI
- Developer
- AI feature
- Commercial product
Visit website ↗ Source listing ↗
More like this: all 49 launches in llm cost monitoring tools →
Could you build this?
Yes This is a local CLI utility that parses existing local JSONL log files generated by Claude Code and aggregates token metrics by task. Parsing JSONL files and displaying summary tables or terminal charts is a very simple task completely suited for vibe coding.
Discussion
20 comments analyzed.
Competitors mentioned: Anthropic's Claude (comparison/context), React (mentioned as alternative), PatchPilot (referenced for agent optimization)
Concerns raised: Windows support not available, Activity classification may not capture all planning work accurately, No cost breakdown by parallel sessions, Throttling/queueing on $200/month plan vs unthrottled API, Missing data limits efficiency analysis capabilities
Feature requests: Cost breakdown by session for parallel runs, Separate exploration turns from pure thinking turns by activity type, Cost scaling metrics for different project sizes/monorepos, Inefficiency detection and cost optimization suggestions, Windows platform support
Competitors
Other products that read as similar to this one : 504 launches clear the similarity bar, closest 8 shown.
Attention rank: #73 of 505 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 158 days after the earliest competitor.
- TokenTrack · ph · 2026-10-02 · 2 upvotes · similarity 0.67
- Claude Code usage tracking by LangWatch · ph · 2026-07-30 · 351 upvotes · similarity 0.63
- Claude Usage Tracker · ph · 2026-03-23 · 235 upvotes · similarity 0.59
- Code Cost Calculator · ph · 2026-11-11 · 1 upvotes · similarity 0.57
- I built a tool to un-dumb Claude Code's CLI output (Local Log Viewer) · hn · 2026-02-13 · 69 upvotes · similarity 0.54
- claude-term · ph · 2026-10-19 · 4 upvotes · similarity 0.54
- claudebill · ph · 2026-09-18 · 63 upvotes · similarity 0.54
- How well do you use Claude Code? · hn · 2026-07-24 · 21 upvotes · similarity 0.53
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.