A privacy-first Windows tray app for monitoring OpenAI Codex usage limits, reset times, and saved resets.
Codex Usage Tray keeps the lowest remaining percentage visible as large, transparent tray digits. Open the compact dashboard to inspect every dynamic limit window, its reset time, token activity when available, and the number of saved resets.
This independent open-source project is not affiliated with or endorsed by OpenAI.
- Codex-only: no provider setup or account mapping.
- Privacy-first: talks only to your locally installed official Codex runtime. It does not collect credentials, telemetry, or usage history.
- Dynamic windows: does not assume a fixed “five-hour limit”; it renders what Codex reports.
- Saved resets: displays available reset credits but never applies them.
- Windows-native behavior: portable EXE, optional per-user startup, no administrator rights.
Download the latest portable ZIP from the Releases page. Extract it and start CodexUsageTray.exe. Codex Desktop or the official Codex CLI must already be installed and signed in.
Windows SmartScreen may warn about an unsigned early release. Verify SHA256SUMS.txt, inspect the source, or build it yourself. Code signing is planned when the project has a suitable certificate.
Requires Python 3.14 and uv:
git clone https://github.com/alex-indi/codex-usage-tray.git
cd codex-usage-tray
uv sync --frozen
uv run python -m codex_usage_traySafe demonstration mode (no Codex process and no network):
uv run python -m codex_usage_tray --demoThe app starts codex app-server --stdio and invokes only:
account/rateLimits/readaccount/usage/read- the
account/rateLimits/updatedevent
It never reads Codex credential files itself. The only direct network request is an optional startup check of the latest GitHub release; disable it in Settings. Updates are never downloaded automatically. See PRIVACY.md and SECURITY.md.
Settings are stored atomically in %LOCALAPPDATA%\CodexUsageTray\settings.json. Optional startup uses only HKCU\Software\Microsoft\Windows\CurrentVersion\Run and never requests elevation.
| Project | Focus | Windows | Saved resets | Credentials handled by monitor |
|---|---|---|---|---|
| Codex Usage Tray | Codex-only, minimal local monitor | First-class | Yes | No |
| CodexBar | Codex menu bar experience | No (macOS) | Varies | See project docs |
| Multi-provider quota monitors | Many AI providers | Varies | Usually no | Often provider-specific |
Codex Usage Tray deliberately does less: no history, graphs, forecasting, or other providers. That smaller scope keeps setup and data exposure minimal.
uv sync --frozen
uv run ruff check .
uv run mypy src
uv run pytest
uv run python scripts/build.pyPython 3.14 is intentional: it is the current stable language baseline for the first release. Runtime dependencies are pinned exactly in uv.lock.
Version 0.1 is Windows 10/11 x64 only. Platform boundaries are isolated for future macOS/Linux adapters, but those systems are not supported yet. The interface is English; Russian documentation is also available.
Contributions are welcome. Read CONTRIBUTING.md and the Code of Conduct.

