Skip to content
noyexPublic

About

macOS menu bar app showing AI coding subscription limits (Claude Code, Codex, Cursor) and local usage cost

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Burn icon

Burn

See how much of your AI coding subscriptions you've burned through, right from the menu bar or the Windows taskbar.

Live rate limits for Claude Code, Codex and Cursor, plus what your usage would have cost at API prices.

Latest release macOS 14+ Windows 11 MIT license

Download for Mac · Download for Windows

Burn popover

Features

  • Menu bar: each provider's logo with what's left of its most-used limit. Turns orange at 20% left, red at 0%.
  • Limits: every window the provider reports (Claude 5h / weekly, Codex, Cursor monthly / API) with reset times.
  • Usage: cost, tokens and a per-provider chart for today, this week, this month and all time, computed locally from Claude Code and Codex session logs.
  • Share: copies an image of your spend to the clipboard, ready to paste anywhere.
  • Settings: choose which providers appear in the menu bar and which limit each one shows; launch at login.
  • Themes: pick a built-in theme, or change colors, backgrounds, corners, spacing and fonts with a JSON file. Your coding agent can write one for you. Updates never overwrite it. See docs/themes.md.

Native SwiftUI + AppKit, no Electron, no dependencies, about 1 MB. Runs on Apple silicon and Intel.

Install

You need macOS 14 or later and at least one of Claude Code, Codex CLI or Cursor, signed in on this Mac.

Option 1: one command (recommended)

curl -fsSL https://raw.githubusercontent.com/noyex/burn/main/install.sh | bash

Downloads the latest release into /Applications, replaces an older copy and starts Burn. Run it again to update.

Option 2: DMG

  1. Download Burn.dmg, open it and drag Burn into Applications.
  2. Open Burn. Burn isn't notarized by Apple, so the first time macOS says it can't verify the app. Click Done, then go to System Settings → Privacy & Security and click Open Anyway next to Burn. On macOS 14, right-click Burn in Applications and choose Open instead.
Prefer the terminal for step 2?
xattr -d com.apple.quarantine /Applications/Burn.app && open /Applications/Burn.app

Option 3: build from source

Needs the Xcode command line tools (Swift 6).

git clone https://github.com/noyex/burn.git
cd burn
scripts/build-app.sh --install   # builds Burn.app, copies it to /Applications and launches it

Windows

You need Windows 11 and at least one of Claude Code, Codex CLI or Cursor signed in on the PC.

  1. Download Burn-Setup.exe and run it. It installs for your user only (no admin rights), starts Burn, and Burn updates itself from then on.
  2. The installer isn't signed yet, so Windows says "Windows protected your PC": click More info → Run anyway. With Smart App Control turned on, Windows blocks unsigned apps and Burn can't be installed yet.

Burn sits in the taskbar next to the clock; click it for the panel. Details in windows/README.md.

First launch on a Mac

Burn lives in the menu bar only, with no Dock icon. If macOS asks for access to the Claude Code-credentials Keychain item, click Always Allow: that's how Burn reads Claude's limits.

How it works

What Source
Claude limits api.anthropic.com/api/oauth/usage, using Claude Code's token from the Keychain (Claude Code-credentials)
Codex limits chatgpt.com/backend-api/wham/usage, using the token in ~/.codex/auth.json
Cursor limits api2.cursor.sh DashboardService/GetCurrentPeriodUsage, using Cursor's token
Usage & cost Claude Code logs (~/.claude/projects) and Codex logs (~/.codex/sessions), imported incrementally into ~/Library/Application Support/Burn/usage.sqlite
Prices LiteLLM's model price list, cached for 24 h (or T3 Code's copy, if installed)

Privacy: tokens are only read, never refreshed or written, and only sent to the provider they belong to. Usage data never leaves your Mac. Costs are estimates at API list prices, not what your subscription actually charges.

Claude Code and Codex delete old session logs, so Burn keeps everything it has imported in its own database: history builds up from the first launch on.

Uninstall

Quit Burn from its settings, then:

rm -rf /Applications/Burn.app ~/Library/Application\ Support/Burn

Development

swift build
.build/debug/Burn --dump     # print live limits and usage summaries
.build/debug/Burn --import   # run the log importer once and print timings
.build/debug/Burn --preview  # popover content in a plain off-screen window, for screenshots

Releasing: Actions → Release → Run workflow with a version like v1.2.3 (or gh workflow run release.yml -f version=v1.2.3). It tags main, builds a universal Burn.dmg and Burn.zip (scripts/package.sh) and publishes them as a GitHub release. scripts/release.sh v1.2.3 does the same locally.

Bug reports and pull requests are welcome: open an issue or read CONTRIBUTING.md for how to send a PR.

License

MIT. Provider logos come from Simple Icons (CC0) and are trademarks of their owners. Set in Bricolage Grotesque (SIL Open Font License, see assets/Fonts/OFL.txt).

About

macOS menu bar app showing AI coding subscription limits (Claude Code, Codex, Cursor) and local usage cost

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages