See what your Codex uses and limits.
A menu-bar dashboard for local Codex usage: tokens, estimated API value, model mix, tool calls, account stats, and rate limits. Read-only, zero intrusion.
Day, week, and month Codex usage breakdowns.
Model mix, estimated API value, top Codex tool calls, account signals, and retained-history activity in one panel.
API value by model
Codex activity you actually use
codex app-server --stdio account and rate-limit data.Codex activity heatmap
Codex token buckets at a glance
Read-only by design — no telemetry, no API key.
CodexScope reads local Codex rollout JSONL files and Codex account metadata. It does not edit Codex configuration or session history; your logs stay on your computer.
Read
Scans ~/.codex/sessions/**/rollout-*.jsonl and archived sessions for token_count events, model context, and tool calls.
Attribute
Tracks session_meta / turn_context so appended token events stay attached to the correct session, model, and reasoning effort.
Price
Prices with models.dev after OpenAI API prices, then LiteLLM, plus the bundled snapshot as an offline fallback.
Show
Renders today's Codex usage in the menu bar, with account stats, rate-limit windows, and the full dashboard one click away.
How CodexScope estimates API value.
CodexScope reads Codex token_count events, separates input, cached input, output, and reasoning output, then estimates API value from the billable input/cache/output buckets with the best matching OpenAI/Codex price entry.
// gpt-5-codex · one Codex session tokens: { input_tokens : 88,000 cached_input_tokens : 1,120,000 reasoning_output_tokens : 2,400,000 output_tokens : 320,000 }
Notice that reasoning output is shown for context, not added again to API value. while 0.32M output tokens can still dominate the estimate. API value follows public OpenAI/Codex prices when available; ChatGPT/Codex subscription quotas may differ.
Build on macOS or Windows.
There is no packaged public release yet. Build locally from source, then open the macOS app bundle or Windows NSIS installer from the Tauri release output.
The unsigned Windows installer is written under src-tauri/target/release/bundle/nsis/.
Prefer macOS? Build locally and open CodexScope.app from the Tauri bundle. It is an unsigned build, so on first launch right-click and choose Open, or run xattr -cr src-tauri/target/release/bundle/macos/CodexScope.app if macOS blocks the unsigned local build.
Frequently asked.
The questions that come up before running CodexScope locally.
~/.codex/sessions/, prices them against a locally cached snapshot of models.dev / LiteLLM, and renders the statistics in your dashboard. No telemetry upload, no API key.pnpm install; pnpm tauri build. On macOS, first launch may require right-click → Open, or run xattr -cr src-tauri/target/release/bundle/macos/CodexScope.app and then open it. On Windows, the .exe installer is unsigned, so on first launch click More info → Run anyway to clear SmartScreen.codex app-server --stdio when available, then combines those account signals with local rollout logs and models.dev / LiteLLM rate tables, but as a menu-bar GUI: today's usage is always visible, the panel adds bar charts, a donut chart, and a heatmap. Reach for codex app-server when you want a scriptable terminal command; reach for CodexScope when you want to visualize usage anytime.mtime moved. Idle CPU is essentially zero; memory holds steady around 40MB. Refreshing the panel is just a single pass over the new JSONL bytes since the last read. Performance is excellent.Implementation notes from CodexScope.
A few implementation details from the product repository that matter in daily use.
Reads local ~/.codex/sessions rollout JSONL incrementally, so the panel can refresh without rescanning everything.
CodexScopeCodexScope repositoryUses session_meta and turn_context to keep token events tied to the right session, model, and reasoning effort.
CodexScopeCodexScope repositoryReads account/usage/read and rate-limit windows from codex app-server --stdio when that local interface is available.
CodexScopeCodexScope repositoryEstimates API value with OpenAI/Codex pricing first, then public fallbacks and the bundled snapshot.
CodexScopeCodexScope repositoryDay, week, and month views compare against the previous matching period and keep a retained-history heatmap.
CodexScopeCodexScope repositoryA one-click screenshot writes the current dashboard to Desktop for quick sharing and debugging.
CodexScopeCodexScope repositoryReads local ~/.codex/sessions rollout JSONL incrementally, so the panel can refresh without rescanning everything.
CodexScopeCodexScope repositoryUses session_meta and turn_context to keep token events tied to the right session, model, and reasoning effort.
CodexScopeCodexScope repositoryReads account/usage/read and rate-limit windows from codex app-server --stdio when that local interface is available.
CodexScopeCodexScope repositoryEstimates API value with OpenAI/Codex pricing first, then public fallbacks and the bundled snapshot.
CodexScopeCodexScope repositoryDay, week, and month views compare against the previous matching period and keep a retained-history heatmap.
CodexScopeCodexScope repositoryA one-click screenshot writes the current dashboard to Desktop for quick sharing and debugging.
CodexScopeCodexScope repository