cd /news/ai-tools/claude-code-token-cost-explorer · home › topics › ai-tools › article
[ARTICLE · art-166858] src=entropicthoughts.com ↗ pub= topic=ai-tools verified=true sentiment=· neutral

Claude Code token cost explorer

A developer built a local browser-based token cost explorer for Claude Code after finding that the built-in /context command breaks down context usage only for the main conversation, not for subagents. Existing tools ccusage and claude-agent-ledger did not provide the detailed breakdown needed to optimize usage, so the developer had Claude Code generate the tool, which processes transcript data entirely on the user's machine. The tool is described as "vibecoded" and not critical infrastructure, and the developer invites users to verify locally that no transcript data leaves their computer.

by read1 min views1 publishedNov 9, 2026

I am experimenting with involving subagents more in my LLM coding agent workflow. I discovered that subagents make it more difficult to diagnose token usage in Claude Code, because the regular /context command only breaks down context usage for the main conversation, not for the subagents.

I tried some existing tools like ccusage and claude-agent-ledger, but they weren’t able to give me the sort of breakdown into specifics I needed to optimise my usage. Thus, I shamelessly had Claude Code whip up a tool that gives me a better view of its token usage. This is vibecoded in the true sense of the word – I have barely looked at the code – but I’m okay with that becuase it is not critical infrastructure and it does what I need it to.

If you want to know how to get more out of your Claude Code sessions without paying more for it, here’s how you can find out. First, open the context cost explorer in your browser. Everything happens locally on your machine, so none of your transcript data leaves your computer. If you’re the paranoid kind, you can verify by opening the network tab in your browser and reading in a non-sensitive session and seeing that nothing funny happens. Then follow the steps below, or use your own analytical ability.

── more in #ai-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-code-token-co…] indexed:0 read:1min 2026-11-09 · —