Skip to content

Selected model is at capacity. Please try a different model. No matter how I swtich model, reset, reinstall, logout/login #45653

Open

Description

@righttang

What version of Codex CLI is running?

codex-cli 0.154.0

What subscription do you have?

Pro Lite 100

Which model were you using?

gpt-6-Astra, gpt-5.6-luna

What platform is your computer?

Darwin 25.5.0 arm64 arm

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

Fish Terminal

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1789462196s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.154.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "/Users/tangt4/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/Users/tangt4/.codex/app-server-daemon",
        "mode": "ephemeral",
        "pid file": "/Users/tangt4/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/Users/tangt4/.codex/app-server-daemon/settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "/Users/tangt4/.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/tangt4/.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/tangt4/.codex",
        "active thread overrides": "not inspected",
        "config.toml": "/Users/tangt4/.codex/config.toml",
        "config.toml parse": "ok",
        "configuration load ms": "6",
        "configuration scope": "invocation config, including cloud-managed policy",
        "cwd": "/Users/tangt4/Projects/maintain",
        "enabled feature flags": "shell_tool, view_image, sleep_tool, unified_exec, unified_exec_tty, 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, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, goals, context_management, 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": "image_generation=false, context_management=true",
        "feature flags enabled": "48",
        "log dir": "/Users/tangt4/.codex/log",
        "mcp servers": "10",
        "model": "gpt-6-astra",
        "model provider": "openai",
        "sqlite home": "/Users/tangt4/.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.707.31428"
      },
      "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 executable found; execution not verified",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/opt/homebrew/bin/git",
        "PATH git #2": "/usr/bin/git",
        "PATH git entries": "2",
        "git execution": "not inspected (PATH helpers are not executed)",
        "repo detected": "true",
        "repo root": "/Users/tangt4/Projects/maintain",
        "selected git": "/opt/homebrew/bin/git"
      },
      "remediation": null,
      "durationMs": 0
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/Users/tangt4/.n/bin/codex",
        "PATH codex #2": "/Applications/Codex.app/Contents/Resources/codex",
        "PATH codex entries": "2",
        "current executable": "/Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/bin/codex",
        "install context": "npm (package /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin, bin /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/bin, resources /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-resources, path /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-path)",
        "managed by Vite+": "false",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed by pnpm": "false",
        "managed package root": "/Users/tangt4/.n/lib/node_modules/@openai/codex",
        "npm update target": "not inspected (PATH helpers are not executed)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "MCP configuration is locally consistent",
      "details": {
        "configured servers": "10",
        "disabled servers": "8",
        "stdio servers": "4",
        "streamable_http servers": "6"
      },
      "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": 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)",
        "desktop assets CDN": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 200)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 1342
    },
    "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",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 829
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on macos-aarch64",
      "details": {
        "commit": "unknown",
        "current executable": "/Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/bin/codex",
        "install method": "npm (package /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin, bin /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/bin, resources /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-resources, path /Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/codex-path)",
        "platform": "macos-aarch64",
        "version": "0.154.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search command found (bundled); execution not verified",
      "details": {
        "search command": "/Users/tangt4/.n/lib/node_modules/@openai/codex/node_modules/@openai/codex-darwin-arm64/vendor/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": "Never",
        "codex-linux-sandbox helper": "none",
        "denied-read glob rules": "0",
        "denied-read rules": "0",
        "execve wrapper helper": "/Users/tangt4/.codex/tmp/arg0/codex-arg0XLYOvn/codex-execve-wrapper",
        "filesystem sandbox": "unrestricted",
        "glob scan max depth": "unbounded",
        "managed filesystem source": "none",
        "network sandbox": "enabled"
      },
      "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": 15
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/Users/tangt4/.codex (dir)",
        "active rollout files": "1820 files, 7987461773 total bytes, 4388715 average bytes",
        "archived rollout files": "46 files, 78123444 total bytes, 1698335 average bytes",
        "goals DB": "/Users/tangt4/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/Users/tangt4/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/Users/tangt4/.codex/log (dir)",
        "memories DB": "/Users/tangt4/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "/Users/tangt4/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/Users/tangt4/.codex (dir)",
        "state DB": "/Users/tangt4/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/Users/tangt4/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 6371
    },
    "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": "1820",
        "rollout DB active rows": "1801",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "46",
        "rollout DB archived rows": "46",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread id sample": [
          "01a02d8c-a539-70b0-abf4-ba6d15e2b103",
          "01a040a0-e216-7b03-868e-3146fa6e3e15",
          "01a0416d-d751-7153-864d-dbae4c041778",
          "01a04b19-ffb5-7001-89ee-6cf90e782274",
          "01a052b3-61db-70d0-8c87-6bbafb92f215"
        ],
        "rollout DB duplicate rollout thread ids": "19",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "19",
        "rollout DB missing active sample": [
          "/Users/tangt4/.codex/sessions/2026/08/23/rollout-2026-08-23T17-37-08-01a02d8c-a539-70b0-abf4-ba6d15e2b103_01a02d8d-4535-77d3-85b7-5026328d3052.jsonl",
          "/Users/tangt4/.codex/sessions/2026/08/31/rollout-2026-08-31T08-17-32-01a052b3-61db-70d0-8c87-6bbafb92f215_01a054bf-d42a-77a3-9772-2323f17d306c.jsonl",
          "/Users/tangt4/.codex/sessions/2026/08/31/rollout-2026-08-31T12-56-17-01a055b9-a4d4-76a3-9f77-47a8ce8b43e6_01a055bf-073c-7170-82ec-35c0b3b006fa.jsonl",
          "/Users/tangt4/.codex/sessions/2026/08/29/rollout-2026-08-29T18-55-06-01a04b19-ffb5-7001-89ee-6cf90e782274_01a04cba-d1de-7f02-b4a3-90f1242cb089.jsonl",
          "/Users/tangt4/.codex/sessions/2026/08/27/rollout-2026-08-27T10-35-06-01a040a0-e216-7b03-868e-3146fa6e3e15_01a040a4-52c9-7e72-bd90-ff263d90029e.jsonl"
        ],
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "cliproxyapi=942, openai=898, amazon-bedrock=4, sub2api=2, =1",
        "rollout DB rows": "1847",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "vscode=1502, subagent:thread_spawn=191, subagent:other=131, exec=9, cli=7, subagent:review=7",
        "rollout DB stale rows": "0"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "rollout files are missing from the state DB",
          "measured": "19 active, 0 archived",
          "expected": "every rollout file has a matching threads row",
          "remedy": null,
          "fields": []
        },
        {
          "severity": "warning",
          "cause": "duplicate thread inventory entries found",
          "measured": "19 duplicate rollout thread ids, 0 duplicate DB paths",
          "expected": "one rollout path and thread id per thread",
          "remedy": "Attach the doctor report to a bug report so support can inspect samples.",
          "fields": []
        }
      ],
      "remediation": null,
      "durationMs": 1460
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (109.7 GiB)",
      "details": {
        "CODEX_HOME available": "109.7 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "109.7 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-US",
      "details": {
        "EDITOR": "not set",
        "LANG": "en_AU.UTF-8",
        "VISUAL": "not set",
        "os": "Mac OS 26.5.0 [64-bit]",
        "os language": "en-US",
        "os type": "Mac OS",
        "os version": "26.5.0"
      },
      "remediation": null,
      "durationMs": 4
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "COLORTERM": "truecolor",
        "TERM_PROGRAM": "Apple_Terminal",
        "color output": "enabled",
        "effective locale": "en_AU.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "Apple Terminal",
        "terminal size": "139x60",
        "terminal version": "470.2"
      },
      "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": "maintain",
        "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.154.0",
        "check for update on startup": "true",
        "last checked at": "2026-09-15T08:40:21.808489Z",
        "latest version": "0.154.0",
        "latest version status": "current version is not older",
        "npm update target": "not inspected (PATH helpers are not executed)",
        "update action": "npm install -g @openai/codex",
        "version cache": "/Users/tangt4/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 1165
    }
  }
}

What issue are you seeing?

Start from yesterday, I am getting intermietetent error of,
Selected model is at capacity. Please try a different model. When I using codex, it happens randomly,usually at second round of turn or something
thread ID 01a0a43b-dad8-7dc2-bf28-e5bf247ba344

I didn't do anything specific,just as him to trouble shooting something specific

it happens on Astra, luna, Sol, all different model

What steps can reproduce the bug?

Uploaded thread: 01a0a43b-dad8-7dc2-bf28-e5bf247ba344

What is the expected behavior?

I need codex to continue to working as usual

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    connectivityIssues involving networking or endpoint connectivity problems (disconnections)
    on Sep 15, 2026
  2. alvis commented on Sep 15, 2026

    @alvis

    It just happened to me as well. All models are at capacity but there is nothing on the status page. It seems like it's a widespread issue starting a few days ago

  3. rainpo0401 commented on Sep 17, 2026

    @rainpo0401

    It just happened to me as well. All models are at capacity but there is nothing on the status page. It seems like it's a widespread issue starting a few days ago这也发生在我身上。所有型号均已满负荷,但状态页面上没有任何内容。这似乎是几天前开始出现的一个普遍问题

    me too,pro20x

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 workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions