Skip to content

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

Closed as duplicate

Description

@khanhtd36arb

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.

Activity

  1. added
    bug
    CLI
    rate-limits
    TUI
    on Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbugrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions