See where your Codex tokens, limits, and dollars go — without sending your session logs anywhere.
Download for Apple Silicon · Download for Intel Mac · 中文说明
Codex Usage Desktop turns the Codex CLI logs already on your Mac into a clear usage dashboard. Check token and cost trends, see which projects and models consume the most, inspect individual sessions, and keep an eye on live account limits — all from one native desktop app.
- Local by default: session logs are read on your Mac and never uploaded by the app.
- No API key setup: install, open, and scan the Codex data you already have.
- Free and open source: no separate app account, subscription, or hosted analytics service required.
| Capability | |
|---|---|
| Usage at a glance | Token totals, estimated cost, cache hit rate, daily averages, and trends across preset or custom date ranges. |
| Know what drives cost | Breakdowns by project, model, day, month, and individual Codex session. |
| Stay ahead of limits | Live 5-hour, weekly, or monthly limits, reset times, available reset credits, and quota-reset forecasting when available. |
| Inspect session activity | Search session titles, projects, and models, then open a session for its usage and activity details. |
| Keep it close | Optional menu bar metrics, launch at login, English and Chinese UI, and in-app update checks. |
| Take your data with you | Export the selected dashboard range to Excel (.xlsx) or Markdown (.md). |
Choose the build for your Mac:
| Mac | Download |
|---|---|
| Apple Silicon (M1, M2, M3, M4, and newer) | Download the latest ARM64 DMG |
| Intel | Download the latest x64 DMG |
Open the DMG and move Codex Usage Desktop to Applications. You can also browse the latest release and release notes.
Note
The app does not bypass macOS Gatekeeper. If macOS blocks the first launch, open System Settings → Privacy & Security and allow the app.
The installer detects Apple Silicon or Intel, downloads the matching DMG, and copies the app to /Applications:
curl -fsSL https://raw.githubusercontent.com/itvincent-git/codex-usage-desktop/main/scripts/install.sh | shThe script does not disable or bypass Gatekeeper.
- Use Codex CLI normally so session logs exist under
~/.codex. - Open Codex Usage Desktop. It scans the local logs and builds a local SQLite index.
- Choose a time range or open the Model, Project, Daily, Monthly, or Sessions views to explore your usage.
Live account limits require an authenticated local Codex CLI session. If needed, run codex auth login, then refresh the dashboard.
Your Codex session content is sensitive. The app is designed to keep it on your device:
- Source files under
~/.codexare read locally and are never uploaded, shared, or modified by the app. - No OpenAI or LiteLLM API key needs to be entered into or stored by the app.
- Aggregated usage data is stored in a SQLite cache in the macOS app data directory.
- Live limits are requested directly from ChatGPT using your existing local Codex authentication; the app does not send session logs with those requests.
- Network access is also used for public font files, model pricing, quota forecasts, and update checks. Pricing is cached locally, and these requests do not include your session logs or usage analytics.
- Release packages currently support macOS on Apple Silicon and Intel. Windows and Linux packages are planned.
- Usage and cost values are calculated from local Codex logs; cost figures are estimates based on the available model pricing.
- Unknown models default to zero estimated cost.
- Session details depend on the information present in each local Codex log.
CODEX_HOME: Codex home directory, default~/.codexCODEX_USAGE_TIMEZONE: timezone used for daily buckets, default system timezone with UTC fallback
Codex Usage Desktop is built with React 19, Vite, Tauri v2, and a native Rust usage pipeline.
Install Node.js >= 24, pnpm, Rust, and the Tauri v2 system dependencies, then start the real desktop app:
pnpm install
pnpm tauri devRun the checks:
pnpm test
pnpm typecheck
cd src-tauri && cargo testPackaged builds use pnpm tauri build.
