codex-limits: Codex quota in the terminal
I made codex-limits to see how much Codex allowance I have left from the terminal.
Run codex-limits for a snapshot of the account’s quota windows and reset
times. Add --live for a chart of the last four hours. Recent readings survive
restarts, and missed refreshes show up as gaps in the chart.
codex-limits
codex-limits --live
codex-limits --json
It uses the existing Codex login. Checking the allowance doesn’t start a model
turn or consume a banked reset. There’s also codex-limits --demo --live to
try the chart with synthetic data, without an account or network access.
It’s written in Go with only the standard library, targeting Linux and macOS on amd64 and arm64. I’ve run it on Linux; the macOS builds haven’t been tested on a Mac yet. It’s an independent project, unaffiliated with OpenAI.
There are no binary releases yet. The README has build instructions and a preview of the chart.