Inconsistent quota display and premature usage-limit error in Codex CLI 0.120.0

Resolved 💬 1 comment Opened Apr 12, 2026 by khanhtd36arb Closed Apr 12, 2026

Summary

Codex CLI 0.120.0 shows inconsistent quota information and then reports usage_limit_exceeded.

What I observed

  • The TUI status line shows 5h 1% • weekly 69%.
  • /status shows 99% left (5h) and 84% left (weekly).
  • The red banner says Error running remote compact task: You've hit your usage limit. To get more access now, send a request to your admin or try again at Apr 13th, 2026 12:46 AM.

Local trace

I traced the local session history for 019d7b9b-7c4c-72f2-a821-9a3c003fb61c in C:\Users\khanhtd\.codex\sessions\2026\04\11\rollout-2026-04-11T15-14-40-019d7b9b-7c4c-72f2-a821-9a3c003fb61c.jsonl.

Relevant snapshots:

  • 2026-04-11T08:35:52.171Z: primary.used_percent=1.0, secondary.used_percent=2.0
  • 2026-04-12T13:10:35.221Z: primary.used_percent=1.0, secondary.used_percent=16.0
  • 2026-04-12T14:07:47.435Z: usage_limit_exceeded

Why I think this is a bug

The status UI and the error state do not agree. The limit warning, /status, and the error banner present different remaining quota values, which makes it hard to understand whether the account is actually out of quota or the client is reading stale/inconsistent state.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗