hn.today

Show HN: Pacer – will your AI coding subscription last until the reset?

github.com7 points5 comments
Screenshot of Show HN: Pacer – will your AI coding subscription last until the reset?

Pacer is a lightweight macOS menu-bar utility that tells whether AI coding subscriptions (Claude Code, Codex, Antigravity, Cursor, Gemini/Copilot and others) will last until their next reset by displaying "speed" - the projected percent of a billing/session window at reset if current usage continues. Two concentric rings show session and week projections for the active account; green ≤80%, amber ≤100%, and a solid red disc if projection exceeds 100%. Clicking the icon opens a card with per-account/session/week speeds, a single actionable sentence of advice (e.g., reduce or shift model usage), per-model cost-weighting inferred from your local transcripts, and notifications when pace crosses thresholds. It also reports API-equivalent cost over rolling day/week/30-day windows.

The tool is implemented as one Node script plus a Swift menu-bar app, samples every 10 minutes (launchd/Homebrew service), stores a JSON status file (~/.claude/pacer/status.json) other tools can read, and requires macOS 13+, Node ≥18 and Xcode CLT. Projections are computed as used% divided by elapsed fraction for week windows and by a recent-rate extrapolation (last 45 minutes) for a 5-hour session; the headline is the worst window. It reads providers' own usage endpoints via logins already stored on the machine (never refreshing or writing tokens), fits per-model weights from local transcripts in ~/.claude/projects, and supports multiple remembered accounts with per-account windows and alerts.

Read on github.com5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Will AI kill us all

Will AI kill us all

AI researchers estimate a 10% median chance that AI could cause human extinction or severe disempowerment, up from 5% a year earlier. Experts and forecasters remain cautious, acknowledging the uncertainty and potential risks of advanced AI development. (virev.ai)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.