A small native macOS menu bar app for checking local Codex token quota status.
It shows the remaining percentage for the 5-hour window and the 7-day window, reset time or countdown, reset-credit availability, and optional low-quota notifications.
Search keywords: Codex token status, Codex quota, Codex usage, macOS menu bar, token reset time.
Codex users who rely on VPN or proxy switching can hit a practical problem: the Codex UI may reconnect, time out, or fail to refresh at the exact moment when you want to know how much usage is left and when the next reset happens.
This app was built for that gap. It keeps a lightweight local quota display outside the Codex window, so the remaining quota and reset time are still visible from the macOS menu bar or a compact floating panel.
- Shows remaining quota for the 5-hour window and 7-day window.
- Shows reset time or countdown in the macOS menu bar.
- Lets you choose how often token data is refreshed from local Codex: 30 seconds by default, 1 minute, 5 minutes, or a custom interval.
- Supports English and Chinese display language, with English as the default.
- Checks GitHub Releases for updates and can download and install the latest app archive from inside the app.
- Shows available reset-credit count and whether reset is currently available.
- Sends optional macOS notifications when the 5-hour window reaches 50%, 20%, or 5%.
- Provides a compact native SwiftUI panel with selectable color themes.
- Caches the last successful display data, so temporary Codex read failures do not immediately blank the UI.
- Reads data from the local Codex app-server only.
The app starts the local Codex command with:
codex app-server --stdio
Then it calls the local app-server methods used for quota status:
account/rateLimits/read
account/rateLimitResetCredit/consume
No remote quota API is called by this app. It does not upload your quota data anywhere.
This app is useful if:
- You use Codex on macOS and want quota status visible outside the Codex window.
- VPN or proxy switching sometimes causes Codex UI reconnects or failed refreshes.
- You want quick menu bar visibility for
5h | 7dquota percentages. - You want reset countdown or reset time visible without opening settings pages.
- You want local notifications before the 5-hour quota runs low.
This app is not intended to:
- Provide Codex access by itself.
- Fix VPN or proxy routing problems.
- Read another user's quota.
- Work without a locally installed and logged-in Codex app/CLI.
Quota Status is local-first:
- It reads from the locally installed Codex command.
- It does not include any private server endpoint.
- It does not call a third-party quota service.
- It does not send quota data to the developer.
- It stores only local display preferences and the last successful display snapshot in macOS
UserDefaults.
Download either artifact from the GitHub release:
QuotaStatus-mac.zip: unzip and openQuotaStatus.app.QuotaStatus-1.0.5.pkg: installer package that places the app in/Applications.
The app is ad-hoc signed and not notarized. On first launch, macOS may block it. If that happens, use right-click Open, or allow it from System Settings -> Privacy & Security.
Requirements:
- macOS 13 or later.
- Xcode command line tools.
- Codex installed locally.
Build the app:
./mac-app/build-mac-app.shInstall to ~/Applications and open:
./mac-app/install-mac-app.shCreate a shareable installer package:
./mac-app/package-mac-app.shCreate a zipped .app:
./mac-app/build-mac-app.sh
cd dist
ditto -c -k --sequesterRsrc --keepParent QuotaStatus.app QuotaStatus-mac.zipIf Codex is installed somewhere else, provide the local command path:
QUOTA_STATUS_CODEX_COMMAND=/path/to/codex ./mac-app/install-mac-app.shSet a custom display title:
QUOTA_STATUS_TITLE="My Codex" ./mac-app/install-mac-app.shThe app also accepts:
open QuotaStatus.app --args --title="My Codex" --codexCommand="/path/to/codex"Token data refresh interval is configurable in the app settings:
- Default: 30 seconds.
- Presets: 1 minute and 5 minutes.
- Custom: any value from 10 seconds to 86400 seconds.
Display language is configurable in the app settings:
- Default: English.
- Optional: Chinese.
The app can check GitHub Releases from Settings. When a newer release is available, it downloads QuotaStatus-mac.zip, verifies the GitHub-provided SHA-256 digest when present, and replaces the installed app with administrator authorization.
The updater replaces /Applications/QuotaStatus.app and reopens the app after installation. The separate .pkg file is still provided for manual installation.
The menu bar shows a compact line like:
CodeX 92%|87%
When countdown or reset time is enabled, a second line is rendered under the percentages while keeping CodeX vertically centered.
In settings, enable notification reminders and choose any of:
- 5-hour remaining 50%
- 5-hour remaining 20%
- 5-hour remaining 5%
Each threshold is sent once per reset window.


