Possible Pro 20x entitlement or weekly quota accounting mismatch
What version of Codex CLI is running?
codex-cli 0.147.0
What subscription do you have?
Pro 20x
Which model were you using?
gpt-5.6-sol, terra, luna
What platform is your computer?
Linux 5.4.250-2-velinux1u1-amd64 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
VS Code
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1786623683s since unix epoch",
"overallStatus": "ok",
"codexVersion": "0.147.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "/root/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/root/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "/root/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/root/.codex/app-server-daemon/settings.json (missing)",
"status": "not running",
"update-loop pid file": "/root/.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": "/root/.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": "/root/.codex",
"config.toml": "/root/.codex/config.toml",
"config.toml parse": "ok",
"cwd": "~",
"enabled feature flags": "shell_tool, view_image, unified_exec, shell_snapshot, code_mode_host, terminal_resize_reflow, sqlite, memories, hooks, enable_request_compression, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, 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, workspace_dependencies",
"feature flag overrides": "memories=true",
"feature flags enabled": "40",
"log dir": "/root/.codex/log",
"mcp servers": "1",
"model": "gpt-5.6-luna",
"model provider": "openai",
"sqlite home": "/root/.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.34.1",
"details": {
"PATH git #1": "/usr/bin/git",
"PATH git #2": "/bin/git",
"PATH git entries": "2",
"git build options": "git version 2.34.1; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh",
"git exec path": "/usr/lib/git-core",
"git version": "git version 2.34.1",
"repo detected": "false",
"selected git": "/usr/bin/git"
},
"remediation": null,
"durationMs": 88
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/root/.local/bin/codex",
"current executable": "/root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin/codex",
"install context": "standalone (unix, package /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl, bin /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin, resources /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-resources, path /root/.codex/packages/standalone/releases/0.147.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": 0
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "MCP configuration is locally consistent",
"details": {
"configured servers": "1",
"disabled servers": "0",
"streamable_http servers": "1"
},
"remediation": null,
"durationMs": 635
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy"
},
"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": 1262
},
"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",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars present": "HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, http_proxy, https_proxy, all_proxy, no_proxy",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 2494
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running standalone on linux-x86_64",
"details": {
"commit": "unknown",
"current executable": "/root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin/codex",
"install method": "standalone (unix, package /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl, bin /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/bin, resources /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-resources, path /root/.codex/packages/standalone/releases/0.147.0-x86_64-unknown-linux-musl/codex-path)",
"platform": "linux-x86_64",
"version": "0.147.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "/root/.codex/packages/standalone/releases/0.147.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": "Never",
"codex-linux-sandbox helper": "/root/.codex/tmp/arg0/codex-arg0UNfmdB/codex-linux-sandbox",
"execve wrapper helper": "/root/.codex/tmp/arg0/codex-arg0UNfmdB/codex-execve-wrapper",
"filesystem sandbox": "unrestricted",
"network sandbox": "enabled"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/root/.codex (dir)",
"active rollout files": "58 files, 377211182 total bytes, 6503641 average bytes",
"archived rollout files": "12 files, 79240743 total bytes, 6603395 average bytes",
"goals DB": "/root/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/root/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/root/.codex/log (dir)",
"memories DB": "/root/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"queue DB": "/root/.codex/queue_1.sqlite (file)",
"queue DB integrity": "ok",
"sqlite home": "/root/.codex (dir)",
"standalone release cache": "4 entries in /root/.codex/packages/standalone/releases",
"state DB": "/root/.codex/state_5.sqlite (file)",
"state DB integrity": "ok",
"thread history DB": "/root/.codex/thread_history_1.sqlite (file)",
"thread history DB integrity": "ok"
},
"remediation": null,
"durationMs": 405
},
"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": "58",
"rollout DB active rows": "58",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "12",
"rollout DB archived rows": "12",
"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=70",
"rollout DB rows": "70",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=37, subagent:thread_spawn=33",
"rollout DB stale rows": "0"
},
"remediation": null,
"durationMs": 105
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language C",
"details": {
"EDITOR": "not set",
"LANG": "C.UTF-8",
"LC_CTYPE": "C.UTF-8",
"VISUAL": "not set",
"os": "Ubuntu 22.4.0 (jammy) [64-bit]",
"os language": "C",
"os type": "Ubuntu",
"os version": "22.4.0"
},
"remediation": null,
"durationMs": 35
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"COLORTERM": "truecolor",
"SSH_CLIENT": "present",
"SSH_CONNECTION": "present",
"TERM_PROGRAM": "vscode",
"VSCODE_IPC_HOOK_CLI": "present",
"color output": "enabled",
"effective locale": "C.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "VS Code",
"terminal size": "202x43",
"terminal version": "1.113.0"
},
"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": "project",
"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.147.0",
"check for update on startup": "true",
"last checked at": "2026-08-13T10:23:24.161156824Z",
"latest version": "0.147.0",
"latest version status": "current version is not older",
"update action": "standalone installer",
"version cache": "/root/.codex/version.json"
},
"remediation": null,
"durationMs": 954
}
}
}
What issue are you seeing?
I am subscribed to ChatGPT Pro 20x, but my effective Codex weekly quota consumption appears closer to the Pro 5x tier.
During one controlled workload on August 13, 2026, my 7-day Codex usage increased from 16% used to 19% used, a change of approximately 3 percentage points.
Workload window:
- 2026-08-13 11:01–11:42 UTC
- Main session ID: 019ff056-f054-7b43-a9d5-8e69c951903e
- Standard/default service tier
- Fast mode was not enabled
- Models used: GPT-5.6 Sol, Terra, and Luna
- One main agent and five subagents
- No GPU, image generation, or OCR model usage
Local session telemetry records the following aggregate usage, including all subagents:
- Input tokens: 32,808,375
- Cached input tokens: 30,708,736
- Uncached input tokens: 2,099,639
- Output tokens: 339,513
- Reasoning tokens: 142,942, already included in output
- Every individual request was below the 272K long-context threshold
Using the published Standard short-context credit rates, this corresponds to approximately:
- GPT-5.6 Sol: 512.9 credits
- GPT-5.6 Terra: 85.2 credits
- GPT-5.6 Luna: 7.0 credits
- Total: approximately 605 credits
- API-price equivalent: approximately USD 24.20
A 605-credit workload consuming approximately 3% of the weekly allowance implies an effective weekly capacity of only about 20,000 credits, or roughly USD 800 at the published API-equivalent rate.
That appears much closer to a Pro 5x allowance than the expected Pro 20x scale.
I understand that the percentage display is rounded and that quota accounting may be delayed. However, the discrepancy is large enough to warrant checking the server-side entitlement and usage ledger.
This may be related to:
Could you please verify:
- Whether my account is actually provisioned with the Pro 20x Codex quota bucket.
- Whether cached input, subagent activity, retries, or delayed reconciliation were charged correctly.
- The exact credits deducted for the session above.
- Whether any incorrectly deducted weekly quota can be restored.
- Whether the product can expose per-session credit deductions for auditing.
What steps can reproduce the bug?
Uploaded thread: 019ff056-f054-7b43-a9d5-8e69c951903e
What is the expected behavior?
_No response_
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I'm also seeing unusually high usage on my end, and the difference compared with before is significant—at least 4–5 times higher.
Fresh reproduction after a new weekly reset (Aug 20)
I have a cleaner reproduction from a newly reset weekly window.
The Codex UI currently shows:
This means the current weekly window began at approximately 2026-08-20 11:30 UTC+8, and about 54 percentage points of the weekly allowance were consumed within ~11 hours.
However, my entire local Codex activity for Aug 20 is only:
The local state DB independently shows only two active threads today:
So the SQLite thread totals and the JSONL-based daily usage agree closely.
Using the published short-context Terra credit rates as a comparison metric:
Importantly, 116.88 credits is an upper bound for the new weekly window, because the local daily report covers 00:00→now, while the weekly quota did not reset until ~11:30.
So the observed relationship is approximately:
I understand that the subscription quota formula may not be identical to the published credit rate card, and local telemetry is not the authoritative server-side ledger. But the magnitude of this discrepancy appears far too large to reconcile with the visible local activity alone.
Could the team please check, for this window specifically:
rate_limits.primary.used_percent;I have a screenshot of the 46% remaining meter and can provide additional local telemetry or a diagnostic/feedback ID if useful.