Codex CLI v0.142.5: weekly limit resets from 66% to 0% after Fast → Default priority change
What version of Codex CLI is running?
codex-cli 0.142.5
What subscription do you have?
Business
Which model were you using?
gpt-5.5-codex low
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What terminal emulator and version are you using (if applicable)?
cmd
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1783286559s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.142.5",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "C:\\Users\\andre\\.codex\\app-server-control\\app-server-control.sock",
"daemon state dir": "C:\\Users\\andre\\.codex\\app-server-daemon",
"mode": "ephemeral",
"pid file": "C:\\Users\\andre\\.codex\\app-server-daemon\\app-server.pid (missing)",
"settings": "C:\\Users\\andre\\.codex\\app-server-daemon\\settings.json (missing)",
"status": "not running",
"update-loop pid file": "C:\\Users\\andre\\.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": "C:\\Users\\andre\\.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": "C:\\Users\\andre\\.codex",
"config.toml": "C:\\Users\\andre\\.codex\\config.toml",
"config.toml parse": "ok",
"cwd": "C:\\Users\\andre",
"enabled feature flags": "<redacted>",
"feature flag overrides": "memories=true, external_migration=true, prevent_idle_sleep=true",
"feature flags enabled": "36",
"legacy feature flag": "collab -> multi_agent",
"log dir": "C:\\Users\\andre\\.codex\\log",
"mcp servers": "2",
"model": "gpt-5.5",
"model provider": "openai",
"sqlite home": "C:\\Users\\andre\\.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.49.0.windows.1",
"details": {
"PATH git #1": "C:\\Program Files\\Git\\cmd\\git.exe",
"PATH git entries": "1",
"git build options": "git version 2.49.0.windows.1; cpu: x86_64; built from commit: cca1f38702730b35f52c29efd62864b85e85ddcc; sizeof-long: 4; sizeof-size_t: 8; shell-path: D:/git-sdk-64-build-installers/usr/bin/sh; feature: fsmonitor--daemon; libcurl: 8.12.1; OpenSSL: OpenSSL 3.2.4 11 Feb 2025; zlib: 1.3.1",
"git exec path": "C:/Program Files/Git/mingw64/libexec/git-core",
"git version": "git version 2.49.0.windows.1",
"repo detected": "false",
"selected git": "C:\\Program Files\\Git\\cmd\\git.exe"
},
"remediation": null,
"durationMs": 89
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "C:\\Users\\andre\\AppData\\Roaming\\npm\\codex",
"PATH codex #2": "C:\\Users\\andre\\AppData\\Roaming\\npm\\codex.cmd",
"PATH codex entries": "2",
"current executable": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
"install context": "npm (package C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
"managed by bun": "false",
"managed by npm": "true",
"managed package root": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
"npm update target": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex"
},
"remediation": null,
"durationMs": 431
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "2",
"disabled servers": "0",
"stdio servers": "2"
},
"remediation": null,
"durationMs": 3
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars": "none"
},
"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 base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 88
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 0 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",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 586
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running npm on windows-x86_64",
"details": {
"commit": "unknown",
"current executable": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
"install method": "npm (package C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
"platform": "windows-x86_64",
"version": "0.142.5"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path\\rg.exe",
"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": "none",
"filesystem sandbox": "restricted",
"network sandbox": "restricted"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "C:\\Users\\andre\\.codex (dir)",
"active rollout files": "419 files, 1983915117 total bytes, 4734880 average bytes",
"archived rollout files": "8 files, 119897314 total bytes, 14987164 average bytes",
"goals DB": "C:\\Users\\andre\\.codex\\goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "C:\\Users\\andre\\.codex\\logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "C:\\Users\\andre\\.codex\\log (dir)",
"memories DB": "C:\\Users\\andre\\.codex\\memories_1.sqlite (file)",
"memories DB integrity": "ok",
"sqlite home": "C:\\Users\\andre\\.codex (dir)",
"state DB": "C:\\Users\\andre\\.codex\\state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 309
},
"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": "396",
"rollout DB active rows": "396",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "8",
"rollout DB archived rows": "8",
"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=401, ollama-launch=3",
"rollout DB rows": "404",
"rollout DB scan cap reached": "false",
"rollout DB scan error sample": [
"C:\\Users\\andre\\.codex\\sessions\\2025\\09\\16\\rollout-2025-09-16T14-32-32-e25262c2-d35b-4b18-bb57-252e215fbc10.jsonl (no parseable rollout items)",
"C:\\Users\\andre\\.codex\\sessions\\2025\\09\\15\\rollout-2025-09-15T20-41-17-0d8df940-a185-43aa-bac0-04aa4fa1fb15.jsonl (no parseable rollout items)",
"C:\\Users\\andre\\.codex\\sessions\\2025\\09\\12\\rollout-2025-09-12T22-17-52-afa95cd1-3116-4b4f-82f7-02fa0160d155.jsonl (no parseable rollout items)",
"C:\\Users\\andre\\.codex\\sessions\\2025\\09\\11\\rollout-2025-09-11T23-43-36-5bfc1e04-f858-475e-aa0d-b08566e29ecc.jsonl (no parseable rollout items)",
"C:\\Users\\andre\\.codex\\sessions\\2025\\09\\11\\rollout-2025-09-11T23-46-44-1426af77-2466-43be-865e-efe013619877.jsonl (no parseable rollout items)"
],
"rollout DB scan errors": "23",
"rollout DB sources": "subagent:thread_spawn=202, cli=135, vscode=41, subagent:other=15, exec=5, unknown=4, subagent:review=2",
"rollout DB stale rows": "0"
},
"issues": [
{
"severity": "warning",
"cause": "rollout scan was incomplete or found bad files",
"measured": "23 scan errors, 0 malformed names, scan cap reached: false",
"expected": "rollout directories are fully scannable",
"remedy": "Check file permissions and unexpected files under CODEX_HOME sessions.",
"fields": []
}
],
"remediation": null,
"durationMs": 14612
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language en-US",
"details": {
"EDITOR": "not set",
"VISUAL": "not set",
"os": "Windows 10.0.26200 (Windows 11 Core) [64-bit]",
"os language": "en-US",
"os type": "Windows",
"os version": "10.0.26200"
},
"remediation": null,
"durationMs": 0
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"color output": "enabled",
"console input code page": "437",
"console output code page": "437",
"stderr console mode": "0x00000007 (VT processing: true)",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout console mode": "0x00000007 (VT processing: true)",
"stdout is terminal": "true",
"terminal": "unknown",
"terminal size": "120x30"
},
"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": "cwd",
"terminal title project value": "andre",
"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.142.5",
"check for update on startup": "true",
"dismissed version": "0.128.0",
"last checked at": "2026-07-05T03:25:42.103190Z",
"latest version": "0.142.5",
"latest version status": "current version is not older",
"npm update target": "C:\\Users\\andre\\AppData\\Roaming\\npm\\node_modules\\@openai\\codex",
"update action": "npm install -g @openai/codex",
"version cache": "C:\\Users\\andre\\.codex\\version.json"
},
"remediation": null,
"durationMs": 786
}
}
}
What issue are you seeing?
Codex CLI v0.142.5 appears to have lost or switched usage entitlement state after a service-tier change.
Timeline:
- I used a manual usage reset.
- I set Codex priority/service tier to Fast.
- I used Codex until the 5-hour limit was drained.
- At that point, /status still showed Weekly limit 66% left, resetting Jul 11.
- I then changed priority/service tier from Fast back to Default.
- I attempted one new turn after the 5-hour limit was exhausted.
- Codex immediately blocked with:
"Your workspace is out of credits. Add credits to continue."
- After that, /status showed Weekly limit 0% left, resetting Jul 6.
The usage dashboard does not show a usage spike that explains a 66% weekly drop from a single attempted turn. The reset date also changed from Jul 11 to Jul 6, which does not look like normal consumption of one weekly bucket.
Please check whether Codex CLI v0.142.5 is switching between stale or different entitlement buckets after priority/service-tier changes, especially between Fast, Default, included weekly usage, 5-hour usage, and workspace-credit accounting for this Business workspace.
The main issue is not just that Credits are 0; the issue is that the CLI reported 66% weekly remaining immediately before the Default service-tier change, then enforced 0% weekly remaining afterward with a different reset date.
What steps can reproduce the bug?
Uploaded thread: 019f3077-0e72-77d1-a668-31f2ba239093
What is the expected behavior?
Changing priority/service tier from Fast to Default should not make the CLI display a different weekly limit bucket without explanation.
Expected behavior:
- If the weekly limit is actually 66% remaining, Codex should not block the next turn as though the weekly bucket is exhausted.
- If the workspace is blocked because Credits are 0, the CLI should distinguish that from weekly included usage remaining.
- If
/statusis stale, the CLI should either refresh before showing the limit or clearly indicate that the displayed weekly percentage and reset date are not authoritative. - The weekly reset date should not change from Jul 11 to Jul 6 unless the CLI is intentionally switching to a different entitlement bucket, in which case the bucket should be labeled.
Additional information
The usage dashboard does not show a usage spike that explains a 66% weekly drop from one attempted turn. Workspace Credits show as 0, but the main issue is that the CLI reported 66% weekly remaining immediately before the Fast -> Default priority/service-tier change, then enforced 0% weekly remaining afterward with a different reset date.
This looks like one of the following:
- stale cached limit data in
/status - switching between different entitlement buckets after priority/service-tier changes
- confusion between included weekly usage, 5-hour usage, workspace-credit accounting, and service-tier accounting
- incorrect weekly reset date reporting after the service-tier change
The block itself may be valid if Credits are 0, but the reporting is internally inconsistent: 66% weekly remaining with reset Jul 11 became 0% weekly remaining with reset Jul 6 after one attempted turn.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗