See whether your Codex usage will last until reset and which local Tasks this Mac observed.
A macOS menu bar app for Codex usage, Tasks, agents, resets, and pace.
Note
Codex Limits is an independent, unofficial project. OpenAI does not make or endorse it.
Codex shows Usage remaining. Codex Limits shows when it resets, how it changed, and which local Tasks this Mac observed.
Open the menu to see:
- Weekly Usage remaining, the reset time, and banked resets.
- Runway and a suggested pace when the data supports an estimate.
- Account and local token activity.
- Active time, concurrency, and Usage Receipts for the Task Trees this Mac can read.
- Checks that run on this Mac and an optional
Analyze with Codexaction.
Switch among three views:
- Graphs — Usage remaining, Token activity, Usage per token, and Concurrency.
- Facts — account facts, banked resets, Other limits, Active Time, and Usage Receipts.
- Insights — local checks, saved observations, and analysis you ask Codex to run.
![]() |
![]() |
| Facts | Insights |
Codex Limits keeps three kinds of values separate:
- Account facts come from the Codex account API.
- Local facts come from Codex records on this Mac.
- Derived estimates name their Coverage and Confidence.
The app keeps weak estimates out of guidance and Insights. The Usage remaining chart may still show a Current or Past estimate when it has enough fresh points to show a useful direction. The chart names its source, Coverage, and Confidence.
- Uses the weekly Codex limit as the main Usage remaining value.
- Shows model-specific and shorter windows as Other limits.
- Records account usage history until you delete it.
- Shows the number of banked resets, known expiry times, and Reset Detail Coverage.
- Sends one local reminder before the next known banked-reset expiry. The default lead time is 24 hours.
- Shows local activity by Project, Task Tree, agent, model, reasoning level, and turn when the source has those facts.
- Compares periods only when it has sound start, end, and workload data. It does not claim a fixed token allowance.
- Runs local Insights on this Mac.
- Asks Codex to analyze selected data only after you click an analysis button.
- Lists the selected Source Content types—prompts, responses, code, paths, commands, and tool output—before you send them to Codex.
- Copies account usage samples to a private folder that you choose.
- Deletes all Codex Limits analytics history on this Mac and in the selected sync folder when you choose
Delete analytics history. - Refreshes on launch, after wake, when you open the menu, every ten minutes, or on request.
- Runs as a native SwiftUI menu-bar app and uses Sparkle to verify and install signed updates.
- Does not redeem resets, change Codex settings, or control Tasks.
- Codex Limits starts your installed Codex CLI and reads account data through its local app server.
- It reads local Codex records without taking control of a Task.
- It stores small history files on your Mac and keeps each account separate.
- It uses those sources to make charts, facts, and Insights.
- It sends a request to Codex only when you choose an
Analyze with Codexaction.
Coverage says how much needed data the app saw. Confidence says how well that data supports an estimate. Low-confidence chart lines do not change guidance or Insights.
Codex Limits keeps analytics local by default:
- It does not copy or store your Codex credentials.
- It sends no usage data to this project or its author.
- It stores account readings and local summaries in the app's Application Support directory.
- It does not copy prompts, responses, code, paths, commands, or tool output into Analytics History.
- Local Insights run on your Mac and consume no Codex allowance.
Analyze metadatasends only the metadata shown in the app.Analyze Source Contentshows each content type before you send it.- Each request to Codex uses your Codex allowance. The buttons appear only when Codex offers the required model and reasoning level.
- Reset reminders use local macOS notifications. The app asks for permission when you first enable the reminder.
- If you enable history sync, it copies only usage samples to the selected folder. Preferences, credentials, and raw Codex responses stay on your Mac.
- Synced JSON files contain observation times, remaining percentages, and reset times. Choose a folder that you do not share with other people.
Delete analytics historyremoves Codex Limits history on this Mac and in the selected sync folder. It keeps your preferences and source Codex records.- The Codex CLI contacts the Codex service during normal account reads and user-requested Codex analysis.
Do not attach raw CLI output or screenshots containing account usage to public issues.
- macOS 14 or later
- Xcode 16.4 or later
- A signed-in, Homebrew-managed Codex CLI at
/opt/homebrew/bin/codexor/usr/local/bin/codex
Codex Limits does not use a Codex binary bundled with another app. Install and update the standalone CLI yourself.
Clone the repository and run:
Scripts/build-app.shThe script creates an ad-hoc signed app at .build/release/Codex Limits.app. Launch it with:
open ".build/release/Codex Limits.app"Stable releases include a universal app for Apple Silicon and Intel. The app is not Developer ID signed or notarized, so the first manual installation remains subject to macOS Gatekeeper. After that, the app can detect and install EdDSA-signed stable updates. Open Package.swift in Xcode to work on the source.
swift testThe tests use made-up usage data. Do not commit exported account data or local app state as test data.
- Existing 0.2.6 and older installations require one final manual update to a version that includes the in-app updater.
- Account and local values can differ because this Mac may not observe every Codex Task.
- Estimates need account readings near both ends of a time range and enough similar local work.
Analyze with Codexappears only when Codex offers GPT-5.6 Luna with Medium reasoning.- Codex CLI responses may change between versions. If parsing fails, update the CLI before reporting a problem.
Report vulnerabilities privately. See SECURITY.md for instructions.
MIT. See LICENSE.


