Skip to content

Codex CLI says gpt-6.1-sol is unsupported with ChatGPT sign-in without explaining eligibility #49396

Open

Description

@giodl73-repo

What version of Codex CLI is running?

codex-cli 0.156.1 (observed locally on 2026-09-29). The user reports being unable to upgrade to 0.159.1; that is a separate problem.

What subscription do you have?

Signed in with a ChatGPT account. Exact subscription tier is not confirmed.

Which model were you using?

gpt-6.1-sol

What platform is your computer?

Windows x64, PowerShell.

Codex doctor report

Not collected. The current CLI is already having resume/compaction problems, and I did not run additional interactive diagnostics.

What issue are you seeing?

When the user tried to select GPT-6.1 Sol in Codex CLI with ChatGPT sign-in, the CLI returned HTTP 400 with the exact error below:

{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."}}

The CLI did not make clear whether the cause was rollout status, subscription eligibility, an older client, or an authentication/model-list mismatch.

What steps can reproduce the bug?

  1. Sign in to Codex CLI using a ChatGPT account on Windows.
  2. Attempt to use gpt-6.1-sol in the CLI.
  3. Observe the unsupported-with-ChatGPT-account response.

The exact selection method and account tier were not captured; the response body above was provided by the user. Please investigate the eligibility check and error path for this model on CLI 0.156.1.

What is the expected behavior?

For an eligible account where rollout has reached the user, GPT-6.1 Sol should work in Codex CLI. Otherwise, the CLI should state the specific reason access is unavailable and what, if anything, the user can do. Current OpenAI model documentation lists GPT-6.1 Sol for Plus, Pro, Business, Enterprise, and Edu in the Codex CLI rollout, with Enterprise/Edu administrator enablement and plan/client/rollout qualifications: https://learn.chatgpt.com/docs/models

Additional information

This is separate from an existing report about CLI resume/compaction hangs. No private session transcript, account identifier, or authentication material is included here.

Activity

  1. added
    bug
    CLI
    windows-os
    auth
    on Sep 29, 2026
  2. momadvisor commented on Sep 30, 2026

    @momadvisor

    same here with codex-cli 0.156.2. And models list does not have gpt-6.1-sol.

  3. Mouhand-Kaddo commented on Sep 30, 2026

    @Mouhand-Kaddo

    I encountered the same HTTP 400 error for gpt-6.1-sol while signed in with a ChatGPT Pro $100 account. Signing out and back in did not resolve it.

    Running this command fixed it for me:

    codex app-server daemon update

    After updating the app-server daemon, I could use gpt-6.1-sol again.

  4. Udhul commented on Sep 30, 2026

    @Udhul

    It seems there’s still a version mismatch between the codex clients on my Windows machine:
    The CLI is updated to v0.159.2.
    The background app-server daemon is still running v0.157.0, which predates gpt-6.1-sol. Unfortunately, for me, attempts to update the daemon fail with host Job Object prevents daemon detachment.
    The VS Code extension still has an older codex release as well.

    For now, codex --no-daemon works around the stale background server. I can select and use gpt-6.1-sol when I launch codex this way.

  5. jasonswearingen commented on Sep 30, 2026

    @jasonswearingen

    Additional Windows reproduction on codex-cli 0.159.2, with the subscription tier confirmed by the user as ChatGPT Pro ($200), personal workspace.

    Environment:

    • Windows, PowerShell
    • Standalone Codex CLI: codex-cli 0.159.2 (verified locally)
    • codex login status: Logged in using ChatGPT (verified locally)
    • Requested model: gpt-6.1-sol
    • Reasoning effort: low
    • User reports that the same model works in the Windows ChatGPT desktop GUI, while the standalone CLI fails. These are distinct client paths; desktop success does not establish CLI entitlement.

    Observed error:

    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."}}

    The existing local logs confirm the error on September 30, 2026 at 20:20:42 UTC (13:20:42 PDT). The CLI successfully connected to wss://chatgpt.com/backend-api/codex/responses; the request metadata recorded ChatGPT authentication, model gpt-6.1-sol, and reasoning effort low; then the turn received the error above. Startup WebSocket prewarm also received the same error.

    A local model cache fetched on September 30, 2026 at 20:21:28 UTC identifies client version 0.159.2 and lists gpt-6.1-sol with visibility=list and default reasoning effort low. This cache is in a shared Codex home, so it does not independently prove live CLI eligibility or identify which client fetched it.

    Official model guidance includes Pro and Codex CLI in the GPT-6.1 Sol rollout, subject to account/client availability:
    https://learn.chatgpt.com/docs/models
    The model documentation supports low reasoning effort:
    https://developers.openai.com/api/docs/models/gpt-6.1-sol

    Expected behavior: If the account is eligible in the CLI, the request should work. If access differs between desktop and CLI, the rejection should explain the specific restriction or rollout status.

    Please investigate the desktop-versus-CLI access discrepancy on Windows CLI 0.159.2. The available evidence does not establish whether the cause is rollout gating, client request compatibility, or backend routing/eligibility state. No workaround or configuration repair has been verified.

    No authentication material, account identifiers, full transcripts, or raw log files are included.

  6. jasonswearingen commented on Sep 30, 2026

    @jasonswearingen

    update, an unrelated issue (#48074 (comment)) informed me to update the codex daemon. doing that then fixed this gpt-6.1-sol issue for me. Win x64.

    // finish up your codex sessions, then run:
    codex app-server daemon update --from-cli --yes
    codex app-server daemon restart
    codex app-server daemon version
    

    you should then have 0.159.2 or above.

  7. jincairen commented on Oct 1, 2026

    @jincairen

    I was able to fix this on Linux (Codex CLI 0.159.3).

    In my case, the CLI itself was already 0.159.3, but the running app-server was still an older version:

    managedCodexVersion: 0.159.3
    cliVersion:          0.159.3
    appServerVersion:    0.158.0
    

    Before fixing it:

    • codex debug models already contained gpt-6.1-sol
    • /model did not show GPT-6.1 Sol
    • forcing codex -m gpt-6.1-sol showed the model locally, but sending a prompt returned:
      400 invalid_request_error:
      "The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."

    I then tried:

    codex app-server daemon update --from-cli --yes
    

    but initially got:

    Error: app server is running but is not managed by codex app-server daemon
    

    I checked the running processes and found an old 0.158.0 app-server still running in the background, even though all Codex sessions had been closed:

    .../releases/0.158.0-.../bin/codex app-server --listen unix:// --managed-daemon
    .../releases/0.158.0-.../bin/codex app-server daemon pid-update-loop
    

    After terminating those stale processes, I ran:

    codex app-server daemon update --from-cli --yes
    codex app-server daemon start
    

    The first start timed out waiting for the control socket, but the new 0.159.3 app-server process was actually running. Shortly afterward:

    codex app-server daemon version
    

    returned:

    managedCodexVersion: 0.159.3
    cliVersion:          0.159.3
    appServerVersion:    0.159.3
    

    After that, GPT-6.1 Sol appeared normally in /model, and a real request using gpt-6.1-sol succeeded.
    So in my case, the cause was a stale 0.158.0 app-server process remaining in the background after the CLI/managed package had already been updated to 0.159.3. Updating/restarting the daemon after removing that stale process fixed the issue.

  8. konard commented on Oct 1, 2026

    @konard

    Another cause behind the same text: the ChatGPT Pro plan period ended.

    On Linux, a non-interactive codex exec session with -m gpt-6.1-sol was working normally and pushing commits. When the Pro subscription period ran out (2026-09-30, ≈15:57 UTC), the next request failed with exactly:

    The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account.
    

    So this one message now covers at least four different situations, and each needs a different action:

    Cause What fixes it
    plan expired or cancelled (this report) renew at https://chatgpt.com/codex/settings/usage
    plan never included the model pick another model with -m, or upgrade
    stale app-server daemon (comments above) codex app-server daemon update --from-cli --yes && codex app-server daemon restart, or codex --no-daemon
    model not yet rolled out to the account wait

    Reproduce (plan case): run codex exec -m gpt-6.1-sol "hi" with an account whose Pro period has just ended. You get the same 400 invalid_request_error, even with a current CLI.

    Suggested fix:

    1. Return a distinct code per cause, e.g. plan_expired, model_not_in_plan, client_too_old and model_not_rolled_out, instead of one shared message. Automation can then tell "renew the plan" apart from "update the daemon".
    2. When the CLI and the app-server daemon versions differ, have the CLI print a warning and the codex app-server daemon update hint before sending the request.
    3. In the message, name the account's current plan state (active, expired or none) next to the model.

    For context, our automation, link-assistant/hive-mind#2397, now treats this message as a plan problem and lists all four remedies. It cannot choose between them, because the response does not say which cause applies.

  9. added 2 commits that reference this issue on Oct 1, 2026
  10. zapalik commented on Oct 2, 2026

    @zapalik

    Additional data point, possibly useful for triage:

    • Codex CLI 0.160.0, ChatGPT sign-in (subscription, no API key).
    • codex exec -m gpt-6.1-sol ... and -m gpt-6-luna work.
    • codex mcp-server, tool codex with model: "gpt-6-luna" or "gpt-6.1-sol" (also when no model is passed and config.toml has model = "gpt-6-luna") fails with HTTP 400: "The 'gpt-6-luna' model is not supported when using Codex with a ChatGPT account." Only model: "gpt-5.6-luna" is accepted.

    So the same account and the same CLI version accept these models via exec but not via the MCP server, which suggests the MCP session path is not in sync with the model catalog / eligibility used by exec, rather than a plan restriction.

  11. samalyxx commented on Oct 2, 2026

    @samalyxx

    Update: I found the fix while looking into a separate issue (#48074). In my case, the problem was caused by an outdated Codex daemon.

    On Windows x64, updating and restarting the daemon fixed the GPT-6.1 Sol issue.

    Before running the commands, close any active Codex sessions:

    codex app-server daemon update
    codex app-server daemon restart

    After that, confirm the daemon is on version 0.159.2 or newer.

  12. sangqi0308-wq commented on Oct 10, 2026

    @sangqi0308-wq

    I can reproduce this issue with an active ChatGPT Plus subscription.

    Environment:

    • Codex CLI: 0.156.1
    • Codex Desktop: 26.1007.2314.0
    • Platform: Windows 11 (10.0.26200, x64)
    • Authentication: ChatGPT account
    • Model: gpt-6.1-sol

    Observed behavior:

    • /model does not list gpt-6.1-sol.
    • A freshly fetched server model catalog omits gpt-6.1-sol while listing GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, and GPT-5.6 models.
    • A direct request using codex exec --model gpt-6.1-sol --skip-git-repo-check "Reply with exactly OK." returns HTTP 400:
    The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account.
    

    Troubleshooting already completed:

    • Updated Codex
    • Signed out and signed back in
    • Restarted Codex
    • Confirmed ChatGPT authentication
    • codex doctor --json reports authentication and provider reachability as OK

    The issue remains reproducible. Feedback was recorded without logs because log upload failed in the TUI.

    Feedback thread ID: 01a12446-ecf5-73f3-af38-c0a400c06d0d

  13. chrisohalloran commented on Oct 13, 2026

    @chrisohalloran

    Additional occurrence on macOS on 2026-10-13, during a voice-driven Codex workflow.

    The user repeatedly received:

    {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."}}

    Verified locally:

    • Installed standalone CLI: codex-cli 0.162.1.
    • codex login status: Logged in using ChatGPT.
    • The local stored ID token's plan claim is pro. This is a stored claim, not a live billing entitlement check.

    The version and account used by the failing voice/delegation process have not yet been independently verified; the installed CLI details above should not be taken as proof of the failing process's version or session identity. No independent minimal CLI reproduction has been attempted.

    Expected: allow the model when the account/client is eligible, or explain the specific reason it is unavailable (rollout, client version, workspace policy, or entitlement). The current message broadly implies ChatGPT authentication is unsupported, while https://learn.chatgpt.com/docs/models documents a GPT-6.1 Sol rollout that includes Pro accounts.

    Impact: repeated rejected requests interrupted the user's coding review workflow. Please consider distinguishing these failure causes and surfacing the effective client/daemon model availability clearly.

    No authentication tokens, account email, or private session logs are attached.

  14. ddvcddvddv commented on Oct 15, 2026

    @ddvcddvddv

    Additional Windows/Plus reproduction and resolution on 2026-10-15 (UTC+8):

    • ChatGPT sign-in, active Plus subscription; standalone Codex CLI 0.157.1.
    • The freshly fetched model catalog (2026-10-15T01:43:53Z) omitted gpt-6.1-sol while including GPT-6 Sol, Astra, and Luna.
    • A minimal read-only codex exec --model gpt-6.1-sol request returned HTTP 400: The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account.
    • Without changing the account or configuration, an isolated run of CLI 0.162.1 successfully used gpt-6.1-sol and replied OK. Its refreshed catalog includes the model. Updating the installed CLI to 0.162.1 also left the model present in the catalog.

    This confirms another case where the older client produced an account-access error despite the same account being able to use the model on a newer client. The error text could distinguish an unsupported client version from an account entitlement restriction. No account identifiers, credentials, or raw logs are included.

  15. guibaure commented on Oct 16, 2026

    @guibaure

    16. Update: I found the fix while looking into a separate issue (#48074). In my case, the problem was caused by an outdated Codex daemon.
    On Windows x64, updating and restarting the daemon fixed the GPT-6.1 Sol issue.
    Before running the commands, close any active Codex sessions:
    codex app-server daemon update
    codex app-server daemon restart
    After that, confirm the daemon is on version 0.159.2 or newer.

    Solved the problem for me, thank you !

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

    CLIauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions