FIG_002.9

Projects/Tools

GrokUsage

A menu bar ring that shows how much Grok credit is left and how long it will last, so a working session never ends on a surprise.

Role
Design and development
Period
2026.07
Platform
macOS menu bar app
Status
Shipped

01Context

I kept losing working sessions to a credit limit I could not see coming. The number exists, but it sits three levels deep in a web app.

02Decisions

  1. 01

    Usage is not exposed in one place.

    It reads real usage from four sources in turn, starting with the local login and the Grok CLI, instead of showing a demo number.

  2. 02

    A meter that blanks out on a failed refresh is worse than none.

    The last good reading stays on screen, marked stale, until a refresh succeeds.

  3. 03

    Percent used answers the wrong question.

    The ring shows what remains, and the panel estimates how many days that covers at the current rate.

    Popover: 62% left, resets in 9 days, enough for about 9 days at the current pace
    Popover: 62% left, resets in 9 days, enough for about 9 days at the current pace
    Sample reading.

03Outcome

  • Menu bar only, with no Dock icon. No analytics, and tokens are never logged.
  • Open source under MIT.
SwiftSwiftUIAppKitmacOS 14+