News for hackers. Stuff that matters.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by giancarlostoro on Wednesday June 10, 2026 @07:03AM (#48474495)
Honestly drives me crazy that CC doesnt show this on the bottom status bar a simple percentage “Weekly Quota Left: 99%” would be useful. Also noticed and idk if it was me or some mishap, a lot of my Claude sessions were not autocompacting, maybe its /loops fault not sure, but it made sense why I finally reached my weekly limit so insanely quickly recently.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by ab-dm on Wednesday June 10, 2026 @08:13AM (#48475127)
The Claude app has a usage indicator when you switch to code mode. I’ve been using this more and more now that their sandbox functionality has Improved.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by kaliara on Wednesday June 10, 2026 @08:06AM (#48475065)
I wanted the same thing and recently saw this blog post on how to customize the bottom status bar: https://www.aimhuge.com/blog/claude-code-status-line.

I now show my current context window, five-hour quota, weekly quota, current branch and current PR.

It's quite handy!

Re:Show HN: macOS menu bar gauges for your Claude Code quota by devsda on Wednesday June 10, 2026 @07:23AM (#48474670)
From their perspective, they don't want

1. Standard tier users increasing their usage just to minimize "wasted" token credits.

2. Higher tier users with extra usage enabled to use and pay for those extra tokens instead of planning to stay within limits.

Re:Show HN: macOS menu bar gauges for your Claude Code quota by Wowfunhappy on Wednesday June 10, 2026 @08:00AM (#48475014)
I don’t know if you’re right or wrong about how Anthropic thinks about this, but people kept saying this was why they would never show you how much usage you have left. Then they added a clear section to the web interface, and then they added it to Claude Code as well.

The other possibility is that there’s a lot of information that would be useful to see on your screen, and there’s limited space especially in a Terminal UI, and they are making decisions as best they can.

Re:Show HN: macOS menu bar gauges for your Claude Code quota by giancarlostoro on Wednesday June 10, 2026 @07:29AM (#48474731)
I just want to know if my next prompt is about to eat shit at the last token. The number of times it like half works on something and falls apart halfway through.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by xienze on Wednesday June 10, 2026 @07:50AM (#48474916)
You likely still wouldn't be able to figure that out even if you had a percent usage view available. Will your request take 1K tokens or 10K? Who knows! That's the magic of non-deterministic black boxes.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by grzracz on Wednesday June 10, 2026 @07:12AM (#48474565)
Doesn't it autocompact only if it is about to run out of context? On these newer models the context is 1M tokens so it's quite difficult to reach. I run compacts manually when I stop in a good place and tokens are over 300k
Re:Show HN: macOS menu bar gauges for your Claude Code quota by giancarlostoro on Wednesday June 10, 2026 @07:31AM (#48474745)
1m is too high, they used to autocompact a little too soon, maybe I tweaked defaults, it was kind of annoying, 200k tokens is too soon for me, I feel like the sweet spot is around 400k tokens.

Funnily enough Groks API charges less when you are below 400k tokens.

Half a million can get you reasonably far with enough of your codebase within the models context window.

I lowkey blame the 1m context window as the start of Anthropics worse woes earlier this year.

Re:Show HN: macOS menu bar gauges for your Claude Code quota by conception on Wednesday June 10, 2026 @08:46AM (#48475494)
You can change your compaction token limit to 400k if you want.

CLAUDE_AUTOCOMPACT_PCT_OVERRIDE

And

CLAUDE_CODE_AUTO_COMPACT_WINDOW

Re:Show HN: macOS menu bar gauges for your Claude Code quota by CPLX on Wednesday June 10, 2026 @07:43AM (#48474846)
Casinos don't have clocks in them.
Re:Show HN: macOS menu bar gauges for your Claude Code quota by Doublon on Wednesday June 10, 2026 @10:31AM (#48476873)
Their documentation explains how to customize CC statusline and display the quotas: https://code.claude.com/docs/en/statusline#rate-limit-usage