You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rate_limits is always null in rollout session files #14880
Additional data point from normal TUI usage (not codex exec): I can reproduce the same rate_limits: null behavior on codex-cli 0.115.0 with gpt-5.4 on macOS.
In two concurrent TUI tabs, both sessions initially started without five-hour-limit / weekly-limit in the status line. Later, one tab began showing 5h 94% and weekly 16%, but the corresponding rollout-*.jsonl files for both sessions still had rate_limits: null for every token_count event.
So this seems broader than exec-mode JSONL output alone. At least in TUI, there appears to be a divergence between:
the rate-limit state rendered in the UI
the rate-limit state persisted into rollout events
I opened #15054 for the TUI symptom, but it looks like the same underlying issue from a different angle.
I wish this switching logic could be intelligent and, when making this "automatic" switch, always pick the account with the weekly quota that is closest to being updated.
Activity
Astro-Han commentedon Mar 18, 2026
Additional data point from normal TUI usage (not
codex exec): I can reproduce the samerate_limits: nullbehavior oncodex-cli 0.115.0withgpt-5.4on macOS.In two concurrent TUI tabs, both sessions initially started without
five-hour-limit/weekly-limitin the status line. Later, one tab began showing5h 94%andweekly 16%, but the correspondingrollout-*.jsonlfiles for both sessions still hadrate_limits: nullfor everytoken_countevent.So this seems broader than exec-mode JSONL output alone. At least in TUI, there appears to be a divergence between:
I opened #15054 for the TUI symptom, but it looks like the same underlying issue from a different angle.
Loongphy commentedon Mar 18, 2026
/statusfetch the usage api so that you can see accurate usage limit info in TUIjazzyalex commentedon Mar 20, 2026
This bug (or it was done intentionally?) break all limit trackers who were using json parser to get it.
Like my jazzyalex.github.io/agent-sessions
macOS • open source • ⭐️ 385
Would be great to hear form oAI whether it will be fixed or not.
feat(codex-usage): add OAuth API and CLI RPC fallback for rate limits
feat(codex-usage): add OAuth API and CLI RPC fallback for rate limits
MarlonPassos-git commentedon May 19, 2026
I wish this switching logic could be intelligent and, when making this "automatic" switch, always pick the account with the weekly quota that is closest to being updated.
v0.1.4: fix false-exhausted Claude detection; honest Codex messaging
Add Codex usage meter provider (local rollout files, opt-in)
Codex meter: read live usage from wham/usage endpoint (rollout files …
feat(codex-usage): add OAuth API and CLI RPC fallback for rate limits