Skip to content

Limits remains but all models report limit exhausted #42217

Open

Description

@crisdosaygo

What version of Codex CLI is running?

0.151.0

What subscription do you have?

Pro Lite

Which model were you using?

any - all usage blocked.

What platform is your computer?

Darwin 25.5.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iterm2

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1788330304s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.151.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/Users/crisd/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/Users/crisd/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/Users/crisd/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/Users/crisd/.codex/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/Users/crisd/.codex/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "/Users/crisd/.codex/auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "/Users/crisd/.codex",
        "config.toml": "/Users/crisd/.codex/config.toml",
        "config.toml parse": "ok",
        "cwd": "/Users/crisd/Creative/BrowserBox-source",
        "enabled feature flags": "shell_tool, view_image, unified_exec, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, unbounded_connection_retries, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, tui_app_server, remote_compaction_v2, compaction_image_budget, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "46",
        "log dir": "/Users/crisd/.codex/log",
        "mcp servers": "1",
        "model": "gpt-5.3-codex-spark",
        "model provider": "openai",
        "sqlite home": "/Users/crisd/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app.version": {
      "id": "desktop.app.version",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application is installed",
      "details": {
        "log directory": "$HOME/Library/Logs/com.openai.codex",
        "running": "false",
        "version": "26.609.71450"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app_server.handshake": {
      "id": "desktop.app_server.handshake",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application is not running",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "desktop.security.enforcement": {
      "id": "desktop.security.enforcement",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application passed available macos security assessments",
      "details": {
        "gatekeeper": "accepted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.50.1 (Apple Git-155)",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/usr/bin/git",
        "PATH git entries": "1",
        "git branch": "main",
        "git build options": "git version 2.50.1 (Apple Git-155); cpu: arm64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; feature: fsmonitor--daemon; libcurl: 8.7.1; zlib: 1.2.12; SHA-1: SHA1_DC; SHA-256: SHA256_BLK",
        "git exec path": "/Library/Developer/CommandLineTools/usr/libexec/git-core",
        "git version": "git version 2.50.1 (Apple Git-155)",
        "repo detected": "true",
        "repo root": "/Users/crisd/Creative/BrowserBox-source",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 169
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/Users/crisd/.local/bin/codex",
        "PATH codex #2": "/Users/crisd/.local/bin/codex",
        "PATH codex entries": "2",
        "current executable": "/Users/crisd/.local/bin/codex",
        "install context": "standalone (unix, package /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin, bin /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/bin, resources /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-resources, path /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-path)",
        "managed by bun": "false",
        "managed by npm": "false",
        "managed by pnpm": "false",
        "managed package root": "not set"
      },
      "remediation": null,
      "durationMs": 7
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "MCP configuration is locally consistent",
      "details": {
        "configured servers": "1",
        "disabled servers": "0",
        "stdio servers": "1"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "managed proxy": "not configured",
        "proxy env vars": "none",
        "respect system proxy": "disabled",
        "system proxy": "direct"
      },
      "remediation": null,
      "durationMs": 4
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
        "desktop assets CDN": "https://persistent.oaistatic.com/codex-app-prod/<redacted> reachable (HTTP 200)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 502
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 2 IPv6, first IPv6",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 1354
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running standalone on macos-aarch64",
      "details": {
        "commit": "unknown",
        "current executable": "/Users/crisd/.local/bin/codex",
        "install method": "standalone (unix, package /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin, bin /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/bin, resources /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-resources, path /Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-path)",
        "platform": "macos-aarch64",
        "version": "0.151.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "/Users/crisd/.codex/packages/standalone/releases/0.151.0-aarch64-apple-darwin/codex-path/rg",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "none",
        "execve wrapper helper": "/Users/crisd/.codex/tmp/arg0/codex-arg0SYqmgK/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "no supported endpoint protection detected",
      "details": {
        "endpoint products": "none detected"
      },
      "remediation": null,
      "durationMs": 132
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/Users/crisd/.codex (dir)",
        "active rollout files": "106 files, 1461361670 total bytes, 13786430 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/Users/crisd/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/Users/crisd/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/Users/crisd/.codex/log (dir)",
        "memories DB": "/Users/crisd/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "/Users/crisd/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/Users/crisd/.codex (dir)",
        "standalone release cache": "6 entries in /Users/crisd/.codex/packages/standalone/releases",
        "state DB": "/Users/crisd/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/Users/crisd/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 1488
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "warning",
      "summary": "rollout files and state DB thread inventory differ",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "106",
        "rollout DB active rows": "582",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=582",
        "rollout DB rows": "582",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=571, subagent:thread_spawn=9, vscode=2",
        "rollout DB stale row sample": [
          "/Users/crisd/.codex/sessions/2025/11/23/rollout-2025-11-23T23-00-10-019ab13a-c625-7540-8beb-cba7a9afa77b.jsonl",
          "/Users/crisd/.codex/sessions/2025/11/24/rollout-2025-11-24T00-29-49-019ab18c-d9e0-7df1-902f-cf444e9e2e6b.jsonl",
          "/Users/crisd/.codex/sessions/2025/11/25/rollout-2025-11-25T16-53-25-019aba37-b8f3-7452-8dd0-03e75622cb06.jsonl",
          "/Users/crisd/.codex/sessions/2025/12/01/rollout-2025-12-01T22-08-18-019ada3e-2a8d-7691-ab7f-6a77f35ec200.jsonl",
          "/Users/crisd/.codex/sessions/2025/12/03/rollout-2025-12-03T15-53-01-019ae333-4dfa-7b40-94ce-424fa26aa9f3.jsonl"
        ],
        "rollout DB stale rows": "476"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "state DB rows point at missing or unusable rollout files",
          "measured": "476 stale rows",
          "expected": "every state DB rollout path is a file on disk",
          "remedy": null,
          "fields": []
        }
      ],
      "remediation": null,
      "durationMs": 269
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (44.5 GiB)",
      "details": {
        "CODEX_HOME available": "44.5 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "44.5 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-US",
      "details": {
        "EDITOR": "set",
        "LANG": "en_US.UTF-8",
        "VISUAL": "not set",
        "os": "Mac OS 26.5.2 [64-bit]",
        "os language": "en-US",
        "os type": "Mac OS",
        "os version": "26.5.2"
      },
      "remediation": null,
      "durationMs": 3
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "CLICOLOR": "1",
        "COLORFGBG": "7;0",
        "COLORTERM": "truecolor",
        "TERMINFO_DIRS entry": [
          "/Applications/iTerm.app/Contents/Resources/terminfo (dir)",
          "/usr/share/terminfo (dir)"
        ],
        "TERM_PROGRAM": "iTerm.app",
        "color output": "disabled (stdout is not a terminal)",
        "effective locale": "en_US.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "false",
        "terminal": "iTerm2",
        "terminal size": "143x36",
        "terminal version": "3.6.9"
      },
      "remediation": null,
      "durationMs": 1
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "git repo root",
        "terminal title project value": "BrowserBox-source",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.152.1",
        "check for update on startup": "true",
        "dismissed version": "0.92.0",
        "last checked at": "2026-09-02T06:22:19.542491Z",
        "latest version": "0.152.1",
        "latest version status": "newer version is available",
        "update action": "standalone installer",
        "version cache": "/Users/crisd/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 1194
    }
  }
}

What issue are you seeing?



╭────────────────────────────────────────────────────────────────────────────────────────╮
│  >_ OpenAI Codex (v0.151.0)                                                            │
│                                                                                        │
│ Visit https://chatgpt.com/codex/settings/usage for up-to-date                          │
│ information on rate limits and credits                                                 │
│                                                                                        │
│  Model:                       gpt-5.3-codex-spark (reasoning xhigh, summaries auto)    │
│  Directory:                   ~/Creative/BrowserBox-source                             │
│  Permissions:                 Full Access                                              │
│  Agents.md:                   AGENTS.md                                                │
│  Account:                     cris7fe@icloud.com (Pro Lite)                            │
│  Thread name:                 Continue browserbox handoff                              │
│  Collaboration mode:          Default                                                  │
│  Session:                     01a05f1e-edbf-76e3-8bde-bef19eba9fac                     │
│                                                                                        │
│  Context window:              27% left (193K used / 258K)                              │
│  gpt-reserve Weekly limit:    [████████████████████] 100% left (resets 02:22 on 9 Sep) │
│  Weekly limit:                [░░░░░░░░░░░░░░░░░░░░] 0% left (resets 22:25 on 6 Sep)   │
│  GPT-5.3-Codex-Spark limit:                                                            │
│  5h limit:                    [████████████████████] 100% left (resets 07:22)          │
│  Weekly limit:                [████████████████████] 100% left (resets 02:22 on 9 Sep) │
╰────────────────────────────────────────────────────────────────────────────────────────╯


› proceed


■ Error running remote compact task: You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or
try again at Sep 6th, 2026 10:25 PM.

What steps can reproduce the bug?

Uploaded thread: 01a05f1e-edbf-76e3-8bde-bef19eba9fac

What is the expected behavior?

Status indicates limits remain, but all models report exhausted.

mail: cris@dosaygo.com

Additional information

Image

Activity

  1. added
    CLIIssues related to the Codex CLI
    rate-limitsIssues related to rate limits, quotas, and token usage reporting
    contextIssues related to context management (including compaction)
    on Sep 2, 2026
  2. crisdosaygo commented on Sep 2, 2026

    @crisdosaygo
    Author

    @heejingithub yes possible duplicates tho not sure. I updated to latest and still

  3. sangpil0104 commented on Sep 3, 2026

    @sangpil0104

    I received the same message as well. I had used up my token allowance and urgently needed to use Codex, so I tried to use the Codex 5.3 Spark model, but I was unable to access it. As a result, I was forced to use the one-time token reset included with my Pro plan. I would like to request compensation for this issue.

  4. realcp1018 commented on Sep 5, 2026

    @realcp1018

    I can reproduce what appears to be a session/thread-scoped variant of this issue in the Codex desktop app.

    Observed state:

    • Standard Weekly allowance: 0% remaining
    • GPT-Reserve Weekly allowance: 75% remaining
    • 5h allowance: 100% remaining
    • The affected conversation is explicitly using GPT-Reserve (Extra High)

    In the affected existing conversation, every request is immediately rejected with You've hit your usage limit and the error tells me to wait until the reset date of the standard Weekly allowance, despite GPT-Reserve still having 75% remaining.

    Important A/B reproduction:

    1. Continue the affected existing conversation -> usage-limit error.
    2. Start a completely new session with GPT-Reserve -> works and consumes Reserve normally.
    3. Fork the affected conversation -> the fork also works immediately and consumes Reserve normally.
    4. Return to the original conversation -> it still reports the usage-limit error.

    So the account-level Reserve entitlement itself appears healthy. Forking the conversation immediately fixes the problem while preserving the relevant context, whereas the original thread remains stuck. This strongly suggests stale/session-scoped rate-limit or quota-routing state attached to the original thread rather than Reserve actually being exhausted.

    Workaround: fork the affected conversation (or start a new session). No quota reset is necessary.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingcontextIssues related to context management (including compaction)rate-limitsIssues related to rate limits, quotas, and token usage reporting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions