Original Reddit post

I built goccc, a small Go CLI tool specifically for Claude Code users who want to see exactly what they’re spending. Built the whole thing with Claude Code, the brainstorming skill flow is such a game changer for scoping out the architecture before writing any code. The app parses the JSONL session logs that Claude Code stores locally and breaks down costs by model, day, and project using Anthropic’s published pricing with separate cache write tiers. If you’ve used ccusage, goccc is a lighter alternative. Single Go binary, no Node/Bun runtime needed. Also handles some parsing edge cases like streaming deduplication and separate 5m/1h cache write tiers. It also works as a Claude Code statusline provider so you get live session cost right in your terminal: 💸 $1.23 session | 💰 $5.67 today | 💭 45% ctx | 🤖 Opus 4.6 GitHub: https://github.com/backstabslash/goccc Let me know if it’s useful or if I’m the only one obsessively checking my API costs even though I’m on subscription 🙃 submitted by /u/Rainbinder

Originally posted by u/Rainbinder on r/ClaudeCode