logoalt Hacker News

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

53 pointsby sachinneravathtoday at 4:37 PM40 commentsview on HN

Comments

hungryhobbittoday at 6:25 PM

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.

DarmokTanagratoday at 5:40 PM

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

show 2 replies
ryandraketoday at 6:13 PM

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.

show 1 reply
sva_today at 6:21 PM

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

luciandantoday at 6:05 PM

Pretty cool tool! Congrats! Not sure if I'm missing something but this tells you where your tokens went, breakdown per day/tool. So the "why" is still a question left for the user to answer. Can be something like "Because I was missing a good CLAUDE.md file so it had to explore the whole repo before doing any work" or anything else. Just my take.

skeledrewtoday at 6:51 PM

I've been recording every statusline output for months now so I can easily get answers to questions like this whenever I wish.

Zaktoday at 6:14 PM

The only time I've ever managed to burn through a quota that fast (on the cheap plan) was with an open-ended request to check a codebase for any defects or deficiencies. It dispatched five Fable subagents.

jasonjmcgheetoday at 5:53 PM

I care more about your experience. I'd read the blog post of the story behind this.

underlinestoday at 5:50 PM

You can't ask Claude if your quota ran out. You have to wait for the reset...

nonameiguesstoday at 5:56 PM

23 em-dashes in the span of a single README. I gotta hand it to Anthropic. They seriously managed to find a completely legal way to sell crack to crack addicts using other crack addicts as their unpaid sales force.

defiedtoday at 6:22 PM

I’ve been using headroom to save on token usage and it’s pretty effective.

jdthediscipletoday at 6:25 PM

this kind of stats feature should be shipped by default with every harness imvho

lbritotoday at 5:55 PM

How on Earth does one use 1.1B tokens in a week?

show 2 replies
stas4000today at 5:41 PM

[flagged]

vladigtrtoday at 6:14 PM

[flagged]

KinetiNodetoday at 6:02 PM

[flagged]

show 1 reply
seki285today at 5:37 PM

[flagged]

show 4 replies