Skip to content

5-hour usage limit starts at 89% after more than 10 hours without any Codex usage #42218

Open

Description

@jrstarenlard

What version of Codex CLI is running?

0.152.0

What subscription do you have?

ChatGPT Business

Which model were you using?

gpt-5.6-terra

What platform is your computer?

Linux 6.18.33.2-microsoft-standard-WSL2 x86_64 unknown

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

JetBrains PhpStorm integrated terminal, WSL2 / Ubuntu

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1788330574s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.152.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/home/equipo/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/home/equipo/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/home/equipo/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/home/equipo/.codex/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/home/equipo/.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": "/home/equipo/.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": "/home/equipo/.codex",
        "config.toml": "/home/equipo/.codex/config.toml",
        "config.toml parse": "ok",
        "cwd": "/home/equipo/projects/starenlared-wp-elementor-starter",
        "enabled feature flags": "shell_tool, view_image, sleep_tool, 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": "47",
        "log dir": "/home/equipo/.codex/log",
        "mcp servers": "1",
        "model": "gpt-5.6-terra",
        "model provider": "openai",
        "sqlite home": "/home/equipo/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.53.0",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/usr/bin/git",
        "PATH git #2": "/bin/git",
        "PATH git entries": "2",
        "git branch": "feature/figma-elementor-autonomous-golden-slice",
        "git build options": "git version 2.53.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh; rust: disabled; gettext: enabled; libcurl: 8.18.0; zlib: 1.3.1; SHA-1: SHA1_DC; SHA-256: SHA256_BLK; default-ref-format: files; default-hash: sha1",
        "git exec path": "/usr/lib/git-core",
        "git version": "git version 2.53.0",
        "repo detected": "true",
        "repo root": "/home/equipo/projects/starenlared-wp-elementor-starter",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 119
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/home/equipo/.local/bin/codex",
        "PATH codex #2": "/home/equipo/.nvm/versions/node/v24.20.0/bin/codex",
        "PATH codex #3": "/home/equipo/.local/bin/codex",
        "PATH codex #4": "/mnt/c/Users/Equipo/AppData/Roaming/npm/codex",
        "PATH codex entries": "4",
        "current executable": "/home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/bin/codex",
        "install context": "standalone (unix, package /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl, bin /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/bin, resources /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/codex-resources, path /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/codex-path)",
        "managed by bun": "false",
        "managed by npm": "false",
        "managed by pnpm": "false",
        "managed package root": "not set"
      },
      "remediation": null,
      "durationMs": 22
    },
    "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"
      },
      "remediation": null,
      "durationMs": 0
    },
    "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)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 199
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 2 IPv6, first IPv4",
        "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": 826
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running standalone on linux-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "/home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/bin/codex",
        "install method": "standalone (unix, package /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl, bin /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/bin, resources /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/codex-resources, path /home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/codex-path)",
        "platform": "linux-x86_64",
        "version": "0.152.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "/home/equipo/.codex/packages/standalone/releases/0.152.0-x86_64-unknown-linux-musl/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": "/home/equipo/.codex/tmp/arg0/codex-arg0QDwyKh/codex-linux-sandbox",
        "execve wrapper helper": "/home/equipo/.codex/tmp/arg0/codex-arg0QDwyKh/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "endpoint protection is not inspected on this platform",
      "details": {
        "endpoint products": "not inspected on this platform"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/home/equipo/.codex (dir)",
        "active rollout files": "26 files, 121166708 total bytes, 4660258 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/home/equipo/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/home/equipo/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/home/equipo/.codex/log (missing)",
        "memories DB": "/home/equipo/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "/home/equipo/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/home/equipo/.codex (dir)",
        "standalone release cache": "3 entries in /home/equipo/.codex/packages/standalone/releases",
        "state DB": "/home/equipo/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/home/equipo/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 2089
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "26",
        "rollout DB active rows": "26",
        "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=26",
        "rollout DB rows": "26",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=16, subagent:other=10",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 152
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (946.8 GiB)",
      "details": {
        "CODEX_HOME available": "946.8 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "946.8 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language C",
      "details": {
        "EDITOR": "not set",
        "LANG": "C.UTF-8",
        "VISUAL": "not set",
        "os": "Ubuntu 26.4.0 (resolute) [64-bit]",
        "os language": "C",
        "os type": "Ubuntu",
        "os version": "26.4.0"
      },
      "remediation": null,
      "durationMs": 17
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "warning",
      "summary": "height 20 rows - content may scroll off (recommended >=24)",
      "details": {
        "DISPLAY": "present",
        "WAYLAND_DISPLAY": "present",
        "WSL_DISTRO_NAME": "present",
        "WSL_INTEROP": "present",
        "color output": "enabled",
        "effective locale": "C.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "Apple Terminal",
        "terminal size": "258x20"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "height 20 rows - content may scroll off (recommended >=24)",
          "measured": "258 x 20",
          "expected": ">= 24 rows",
          "remedy": "resize the window to at least 24 rows",
          "fields": [
            "terminal size"
          ]
        }
      ],
      "remediation": null,
      "durationMs": 0
    },
    "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": "starenlared-wp-elemen...",
        "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",
        "last checked at": "2026-09-02T06:20:39.189427886Z",
        "latest version": "0.152.1",
        "latest version status": "newer version is available",
        "update action": "standalone installer",
        "version cache": "/home/equipo/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 463
    }
  }
}

What issue are you seeing?

Description

The 5-hour usage limit appears to start partially consumed even after more than 10 hours without using Codex.

On September 2, 2026, I opened Codex CLI in the morning after more than 10 hours without using Codex or Work.

Before submitting any prompt or starting any task, /status showed:

  • 5-hour limit: 89% remaining
  • Reset time: 13:04
  • Weekly limit: 49% remaining
  • Weekly reset: September 7 at 08:03

The ChatGPT Codex/Work usage page showed exactly the same 89% remaining.

However, the Analytics usage graph for September 2 showed no usage at all.

I had not submitted any prompt or started any Codex task before checking these values.

Expected behavior

After more than 10 hours without using Codex, I would expect the current 5-hour usage window to start at or very close to 100%.

Actual behavior

The new 5-hour window started at 89% remaining, despite no visible usage for the current day.

Both Codex CLI /status and the web usage page agreed on the 89% value.

Additional information

I uploaded the Codex session using /feedback.

Thread ID:

01a060c6-d871-7ab1-a0c7-be8caa090631

I can also provide a screenshot showing:

  • 89% remaining in the 5-hour limit
  • reset at 13:04
  • empty usage graph for September 2
  • the matching /status output

What steps can reproduce the bug?

Uploaded thread: 01a060c6-d871-7ab1-a0c7-be8caa090631

What is the expected behavior?

After more than 10 hours without using Codex or Work, the 5-hour usage window should reset to 100% (or very close to 100%) before any new prompt or task is started.

Additional information

The Codex CLI /status output and the ChatGPT Codex/Work usage page both showed 89% remaining.

At the same time, the Analytics usage graph for September 2 showed no usage.

I uploaded the session using /feedback.

Thread ID:
01a060c6-d871-7ab1-a0c7-be8caa090631

I can also provide a screenshot showing the web usage page and the matching CLI /status output.

Activity

  1. added
    bug
    on Sep 2, 2026
  2. added
    CLI
    rate-limits
    on Sep 2, 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

    CLIbugrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions