llm-kb
← Back to products
Productlaunched

Local CLI tool to analyze Claude AI token usage and costs

A Go-based CLI that parses local Claude AI logs to show token usage and cost breakdown by project, session, and model. It helps users understand where their API quota is going and how much they would have spent without caching.

6 engagement·1 source·Sat, Jul 11, 2026, 05:46 AM
Parses logs from `~/.claude/projects` locally. Outputs a spend X-ray including total tokens, sessions, requests, API-equivalent value, savings from caching, and per-model costs. Identifies most expensive sessions. Built in Go. Traction: author ran on own 5 months of logs showing $7,077 API-equivalent work on a $20/month plan.

Entities

Claude(model)Go(tool)

Related

ProductSun, Jul 12, 2026, 09:53 AM

CLI to analyze Claude Code session token costs

Tokenbill is an open-source CLI tool that parses local Claude Code session logs and estimates token costs. It runs entirely offline with no network calls, helping developers understand and optimize their Claude Code usage costs.

2 engagement·1 source·reddit
Tool ReleaseMon, Jul 6, 2026, 10:19 PM

quota-axi: CLI tool aggregates LLM quota windows for agents

quota-axi is a CLI tool that reports quota windows for Claude, Codex, Cursor, GitHub Copilot, and Grok in a single AXI-shaped call. It is designed to give agents awareness of subscription quotas before deciding where to run work, without routing, recommending, or proxying.

22 engagement·1 source·github
CommunitySat, Jul 11, 2026, 02:53 PM

User audits Claude Code transcripts, finds long sessions with breaks cause high costs due to cache expiry

A user auditing their Claude Code transcripts discovered that long sessions with breaks are expensive because prompt caching expires after one hour, forcing full history rewrites at premium prices. The user shares details on cache economics to help others optimize usage.

20 engagement·1 source·reddit
ProductSun, Jul 12, 2026, 12:20 AM

Claude status display on LilyGo T-Display S3 Long

A physical desk display that shows real-time Claude activity, including model, tool usage, elapsed time, token counts, context percentage, and usage bars. It solves the problem of needing to alt-tab to check Claude's status, providing a glanceable hardware monitor for users.

4 engagement·1 source·reddit
CommunitySun, Jul 12, 2026, 07:59 AM

CTOs share playbooks for governing LLM cost and usage in production

Engineering leaders discuss strategies for managing LLM costs and usage as AI features scale from prototype to production. A key challenge is that user-facing workflows often trigger multiple LLM calls, making costs non-obvious during MVP stages.

1 engagement·1 source·reddit