Claudetop – htop for Claude Code sessions (see your AI spend in real-time)
liorwn
51 points
26 comments
March 14, 2026
Related Discussions
Found 5 related stories in 56.9ms across 3,471 title embeddings via pgvector HNSW
- Show HN: Real-time dashboard for Claude Code agent teams simple10 · 70 pts · April 01, 2026 · 65% similar
- Show HN: Claude-replay – A video-like player for Claude Code sessions es617 · 79 pts · March 06, 2026 · 61% similar
- How I'm Productive with Claude Code neilkakkar · 161 pts · March 23, 2026 · 59% similar
- Claude usage limits hitting faster than expected Austin_Conlon · 11 pts · March 31, 2026 · 57% similar
- Show HN: Rudel – Claude Code Session Analytics keks0r · 128 pts · March 12, 2026 · 57% similar
Discussion Highlights (6 comments)
liorwn
I built this after noticing a $65 charge for what felt like a $10 session. Turns out, context compaction was hiding 80% of my token usage. Real cost, no visibility. claudetop is a status line for Claude Code that shows your burn rate, cache efficiency, model cost comparison, and smart alerts (like "TRY /fast" when Opus is overkill for the task). Plugin system for extensibility — Spotify, CI status, calendar, etc. Single bash script, zero dependencies beyond jq. One-command install.
sgarland
curl -fsSL https://raw.githubusercontent.com/liorwn/claudetop/main/install.sh | bash Installing claudetop... cp: /Users/sgarland/claudetop.sh: No such file or directory You need to have it handle being piped; right now it expects to find itself at $PWD. It also makes several other assumptions, like the location of Claude, and that the user wants stats being `/usr/local/bin`.
brcmthrowaway
Have you tried a local model?
amelius
Anthropic should work on their billing. It's crazy. I did my best to not get billed more than I consciously pay into my account, auto reload is off and never was on, but still now the meter shows an unpaid balance. This is nuts. One customer is angry and disappointed. This is totally unnecessary. And why do I need to create a new API key whenever I run out of balance?
brikym
Nice idea. A sounds plugin would be great. Imagine if you could gauge the spend just by a geiger counter, or the tempo of a song. Any chance of opencode support?
beepbooptheory
Something kinda disturbing seeing a USD cost like that in a cute top-like TUI. It's like numbers I expect to see as rather variable and sometimes ballooning, except it's attached to my credit card. Like just reflexively terrifying I guess.