Skip to content

About

OpenUsage for Windows

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

OpenUsage

Track your AI coding subscriptions from the macOS menu bar.

OpenUsage shows how much of each AI plan you've used: session and weekly limits, credits, and balances, all in one panel. The limits closest to running out sit right in the menu bar.

Light Dark
Priority OpenUsage Priority tab in light mode, with pinned limits, limits running out, and a used-up limit OpenUsage Priority tab in dark mode, with pinned limits, limits running out, and a used-up limit
All Usage OpenUsage All Usage tab in light mode, with Claude, ChatGPT, and Cursor usage OpenUsage All Usage tab in dark mode, with Claude, ChatGPT, and Cursor usage

Installation

  • Homebrew:

    brew install --cask openusage
  • Direct download: grab the latest universal DMG from the releases page, open it, and drag OpenUsage to your Applications folder.

The app updates itself with signed, notarized Sparkle updates. Requires macOS 15 (Sequoia) or later, on Apple Silicon or Intel.

Supported Providers

  • Claude: session, weekly, model limits, extra usage (Enterprise spend), rate-limit resets, Max and Ultra plan names
  • ChatGPT: session, weekly, Spark, extra usage, credit limit, rate-limit resets, daily tokens
  • Cursor: total usage, model usage, extra usage, requests, credits, daily spend and tokens
  • Amp: agent usage, orb hours, Amp Free, credits; on Windows, connect in Customize
  • Antigravity: Gemini, Argon, and Claude quotas; Windows no longer reads local conversation history
  • Copilot: credits, extra usage, chat, completions, organization billing, GitHub Enterprise on GHE.com
  • Devin: daily and weekly quota, extra usage
  • Grok: weekly limit, extra usage
  • Muse Code: session, weekly; on Windows, connect in Customize
  • Ollama: session, weekly, monthly, extra usage, daily usage and tokens
  • OpenCode: session, weekly, monthly
  • OpenRouter: balance, spend, key limit, budget
  • Z.ai: session, weekly, web searches, rate-limit resets. On Windows, longer token windows use the Weekly row with the reset time Z.ai reports.
  • CLIProxyAPI hubs: on macOS, every Claude, ChatGPT, Antigravity, Devin, and Grok login on a CLIProxyAPI server. Windows keeps saved hub logins in sync and reports failed checks in Customize, but does not display their usage yet.

Add your accounts from the app's Accounts screen. OpenUsage never reads other tools' credentials, files, or logs. See Accounts. Coming from 0.7.x? See Upgrading from 0.7.x.

Features

  • Menu bar. The limits closest to running out, at a glance.
  • Priority. What's running low, what's used up, and which accounts need you.
  • All Usage. Every account and limit in one place, with resets, your pace, and an optional mark where an even pace would be.
  • Your layout. Pin the metrics you care about, hide the rest with a right-click, and drag everything into your order.
  • Unify multiple accounts. Show your Claude or ChatGPT accounts as one card, with one bar per limit.
  • Rate-limit resets. See and spend Claude and ChatGPT resets.
  • Share. Copy a picture of your usage to the clipboard.
  • Notifications. A heads-up before a limit runs out, or before a weekly limit resets with most of it unused. On Windows, usage notifications can open the dashboard from a banner or Notification Center.
  • Priority limits. Choose how much left turns a limit orange or red, see limits you're burning through too fast while they still have plenty left, and see limits about to reset mostly unused.
  • Global shortcut. Toggle the panel from anywhere.
  • Command line. Your usage as JSON, for scripts and agents.
  • Automatic updates. Signed, notarized updates, with an optional beta channel.
  • Proxy support. Route provider requests through a SOCKS5, HTTP, or HTTPS proxy.

Documentation

How everything works, in docs/:

Windows

A native system-tray port lives in windows/ (.NET 8 / WPF) for Windows 10/11. Download the unsigned x64 ZIP when available or build with the .NET 8 SDK. See Privacy Mode for sharing the dashboard.

Developers can also publish a self-contained x64 build locally. This is not an installer or an update channel.

On Windows, connect Ollama Cloud with an API key in Customize → Ollama.

On Windows, ChatGPT uses the latest usage response for the available reset count when possible. Expand the Codex card to see ChatGPT's reported tokens for Today, Yesterday, and Last 30 Days, using UTC dates.

OpenRouter management keys show the spend they can read across keys, including workspace spend.

On Windows, add a Go API key in Customize → OpenCode → Accounts to see live limits. OpenUsage does not read the OpenCode CLI's sign-in or session history.

Connect Devin from Customize → Devin instead of relying on a local CLI or editor login.

Windows distinguishes Cursor's pooled Team Spend from personal Extra Usage.

Windows reset countdowns show calendar months and years for longer waits.

Use All Usage for your full dashboard or Priority for pinned, low, and exhausted limits. Running Out puts limits expected to run out soonest first when their pace is known. Priority also shows which accounts are waiting for their first reading. Priority also lists unpinned limits you can use before they reset. If you hide every metric on Windows, the dashboard points you back to Customize to restore them.

Windows shows separate account cards; Unify Multiple Accounts is currently macOS-only.

On Windows, ChatGPT's Credits row shows a reported balance, including zero, and is hidden when no balance is available.

On Windows, a Codex account shows Credit Limit when its ChatGPT workspace reports a member limit.

OpenRouter Key Limit shows when a daily, weekly, or monthly limit resets.

Copilot sign-in keeps the same GitHub device code through a brief network interruption.

cd windows
dotnet run --project OpenUsage.App

In Settings → Priority Limits, choose when low limits turn orange or red.

On Windows, Copilot and Antigravity distinguish provider throttling from sign-in failures and empty usage.

If Claude's first check for rate limit resets can't connect, the next refresh tries again.

The Windows CLI marks saved limits stale after two refresh intervals.

Cursor plans that report a request limit instead of a usage percentage show the used and allowed requests.

Cursor's usage history shows actual on-demand charges and reported tokens, not estimated spend.

Windows keeps your metric choices across restarts, even if you unpin every metric.

On Windows, connect Claude in Customize using your browser, or connect ChatGPT for Codex in Customize using a device code. Claude and Codex no longer read CLI files or Credential Manager items, and Claude ignores environment tokens; existing CLI-only connections need to sign in once in Customize. Add OpenRouter and Z.ai API keys in Customize; the app does not read them from the environment. OpenRouter management keys also show Yesterday and Prior 30 Days spend.

Claude Enterprise shows Spend instead of Extra Usage on Windows.

Windows shows purchased credits as a remaining balance when OpenRouter supplies both totals, not as a spending limit.

Claude Extra Usage uses the account's billing currency on Windows, including in CLI output.

Connect Cursor from Customize → Cursor → Sign In with Cursor. OpenUsage no longer reads or changes the Cursor app's SQLite database or Credential Manager tokens; existing local-only connections need to sign in once in Customize. Cursor keeps using the last known billing plan for the current sign-in when the plan lookup is unavailable.

Connect Grok from Customize without installing the Grok CLI. OpenUsage no longer reads Grok CLI credentials; existing CLI-only connections need to sign in once in Customize.

Connect Copilot in Customize; OpenUsage does not use editor or GitHub CLI sign-ins.

To connect Antigravity on Windows, choose Sign In with Google in Customize. Connections that used only Windows Credential Manager need to sign in there once.

Windows shows available Z.ai Limit Resets when you expand the account card.

OpenUsage encrypts its Antigravity sign-in cache for your Windows user.

Grok on Windows keeps using a still-valid sign-in if an early renewal fails.

Saved Windows API-key accounts that this version cannot read stay encrypted when you edit other accounts.

The tray app retries briefly when Windows reports no network path and keeps its last usage data if the retries fail.

Expand Antigravity on Windows to see Argon Weekly immediately after Weekly when the account has a separate Argon quota.

License

MIT


Build from source
swift build                 # debug build
script/test_quiet.sh        # run the tests without them taking the keyboard or the screen
./script/build_and_run.sh   # build and launch the dev app from dist/

script/test_quiet.sh takes swift test arguments such as --filter. The dev app has its own bundle identifier, so it runs beside an installed OpenUsage. See debugging.

To learn the code, read the architecture overview, adding a provider, and AGENTS.md.

Releasing

Create the GitHub Release for the tag as a draft with its notes, then push a v* tag on main and run the Release workflow manually with that tag to build, sign, notarize, and publish it (macOS workflows no longer start on push, pull request, or tag). A tag without a release that has notes fails before the build.

  • A plain tag (v0.8.0) ships to everyone.
  • A pre-release tag (v0.8.0-beta.1) ships to the beta channel.

The pipeline is release.yml, and the steps are in the release-swift skill.

Release setup (one-time)

The workflow needs these repository secrets (Settings → Secrets and variables → Actions):

Secret What it is
APPLE_CERTIFICATE base64 of your Developer ID Application .p12
APPLE_CERTIFICATE_PASSWORD the password set when exporting that .p12
APPLE_ID the Apple ID email used for notarization
APPLE_PASSWORD an app-specific password for that Apple ID
APPLE_TEAM_ID your Apple Developer team ID
SPARKLE_PUBLIC_KEY base64 EdDSA public key, baked into the build as SUPublicEDKey
SPARKLE_PRIVATE_KEY base64 EdDSA private key used to sign the DMG
POSTHOG_CLI_API_KEY PostHog personal API key used to upload dSYMs for crash symbolication
POSTHOG_CLI_PROJECT_ID numeric PostHog project ID the dSYMs upload to
  • Export the Developer ID Application certificate, with its private key, from Keychain Access as a .p12. Then run base64 -i DeveloperID.p12 | pbcopy.
  • Create the app-specific password at appleid.apple.com → Sign-In and Security → App-Specific Passwords.
  • Generate the Sparkle key pair once with Sparkle's generate_keys tool. If the two keys don't match, signing is silently skipped.
  • The POSTHOG_CLI_* secrets only upload dSYMs so crash reports symbolicate. Without POSTHOG_CLI_API_KEY, the workflow skips the upload with a warning and the release still ships. The key comes from PostHog → Settings → Personal API keys, and the project ID is the number in your project URL.
  • Keep the repository public, because Sparkle fetches the DMG and appcast anonymously. After the first release, confirm that Settings → Pages → Source is GitHub Actions; deploy-pages.yml publishes gh-pages.
Contributing

Pull requests are issue-first:

  1. Comment on an issue.
  2. Wait for a maintainer to add the approved label and assign it to you.
  3. Open your PR with Fixes #123.

Automation closes external PRs that skip this. Read CONTRIBUTING.md first. Report security issues privately per SECURITY.md. The OpenUsage name and logo are covered by the trademark policy.

About

OpenUsage for Windows

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages