Tare - Token audit and usage forensics for Claude Code

Show HN: My Claude quota ran out in 10 minutes, so I made a tool to find out why

Tare is a tool that helps Claude Code users understand their token usage and diagnose quota limits. It reads the session logs already on your machine and answers questions in plain English, such as why you hit a limit, where your tokens went, and what changes could save the most. It provides correct totals by deduplicating log entries, attributes costs to tools based on context re-sending, and identifies automation patterns. Private by design, it runs entirely locally with no network connections. Install with one command and start asking questions.

The records that answer all of this are already on your computer — Claude Code keeps a log of every request it makes. `tare` teaches Claude Code to read its own logs, so you can just ask.
  1. hungryhobbit

    I just used Claude to write a plug-in which changed the bottom of the CLI to say:

    ( ) Usage: 34% (resets in 2h 47m) Context: 56% [Opus 4.6]

    auto mode on (shift+tab to cycle)

    That way if my usage starts shooting up, it's very easy to notice (and the color of "( )", which is a circle that I couldn't paste here, changes when it gets high, ensuring I don't miss it).

    I coupled that with a hook that watches for usage spiking (basically when I've been talking too long or did something to add a ton of context, so suddenly every turn sends a ton of context back, using up a ton of usage).

    Between the two I haven't hit usage caps in weeks.

  2. DarmokTanagra

    I didn't know it was still possible to develop software after your ai quota runs out.

  3. gverrilla

    Having a good statusline is key!

    I use https://github.com/lpsgverrilla/lps-statusline

  4. ryandrake

    I made an "amateur hour" error with Codex. Given Anthropic's recent reliability problems I thought I'd take a little time to try Codex with their $20/mo plan. So I downloaded it and gave it a whirl, not realizing that the default model was gpt-5.6-sol. Well after just an hour or two, I blew through my entire week's quota. Whoops! It would be cool if these harnesses could all graphically display your quota usage on the screen at all times.

  5. sva_

    In 95% of cases it is because you had a large context for which the cache expired.

More from this day

2026-08-27