Repository navigation
Description
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?
- Sign in to Codex CLI using a ChatGPT account on Windows.
- Attempt to use
gpt-6.1-solin the CLI. - 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
momadvisor commentedon Sep 30, 2026
same here with codex-cli 0.156.2. And models list does not have gpt-6.1-sol.
Mouhand-Kaddo commentedon Sep 30, 2026
I encountered the same HTTP 400 error for
gpt-6.1-solwhile signed in with a ChatGPT Pro $100 account. Signing out and back in did not resolve it.Running this command fixed it for me:
After updating the app-server daemon, I could use
gpt-6.1-solagain.Udhul commentedon Sep 30, 2026
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-daemonworks around the stale background server. I can select and use gpt-6.1-sol when I launch codex this way.jasonswearingen commentedon Sep 30, 2026
Additional Windows reproduction on codex-cli 0.159.2, with the subscription tier confirmed by the user as ChatGPT Pro ($200), personal workspace.
Environment:
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.
jasonswearingen commentedon Sep 30, 2026
update, an unrelated issue (#48074 (comment)) informed me to update the codex daemon. doing that then fixed this
gpt-6.1-solissue for me. Win x64.you should then have
0.159.2or above.jincairen commentedon Oct 1, 2026
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:
Before fixing it:
400 invalid_request_error:
"The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."
I then tried:
but initially got:
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:
After terminating those stale processes, I ran:
The first start timed out waiting for the control socket, but the new 0.159.3 app-server process was actually running. Shortly afterward:
returned:
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.
konard commentedon Oct 1, 2026
Another cause behind the same text: the ChatGPT Pro plan period ended.
On Linux, a non-interactive
codex execsession with-m gpt-6.1-solwas working normally and pushing commits. When the Pro subscription period ran out (2026-09-30, ≈15:57 UTC), the next request failed with exactly:So this one message now covers at least four different situations, and each needs a different action:
-m, or upgradecodex app-server daemon update --from-cli --yes && codex app-server daemon restart, orcodex --no-daemonReproduce (plan case): run
codex exec -m gpt-6.1-sol "hi"with an account whose Pro period has just ended. You get the same 400invalid_request_error, even with a current CLI.Suggested fix:
codeper cause, e.g.plan_expired,model_not_in_plan,client_too_oldandmodel_not_rolled_out, instead of one shared message. Automation can then tell "renew the plan" apart from "update the daemon".codex app-server daemon updatehint before sending the request.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.
fix(#2397): mention the stale Codex app-server daemon in plan-restric…
docs(#2397): case study, collected data and changeset
zapalik commentedon Oct 2, 2026
Additional data point, possibly useful for triage:
codex exec -m gpt-6.1-sol ...and-m gpt-6-lunawork.codex mcp-server, toolcodexwithmodel: "gpt-6-luna"or"gpt-6.1-sol"(also when no model is passed and config.toml hasmodel = "gpt-6-luna") fails with HTTP 400: "The 'gpt-6-luna' model is not supported when using Codex with a ChatGPT account." Onlymodel: "gpt-5.6-luna"is accepted.So the same account and the same CLI version accept these models via
execbut not via the MCP server, which suggests the MCP session path is not in sync with the model catalog / eligibility used byexec, rather than a plan restriction.samalyxx commentedon Oct 2, 2026
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.
fix(codex): gate models on the Codex CLI floor before the ChatGPT bac…
sangqi0308-wq commentedon Oct 10, 2026
I can reproduce this issue with an active ChatGPT Plus subscription.
Environment:
0.156.126.1007.2314.010.0.26200, x64)gpt-6.1-solObserved behavior:
/modeldoes not listgpt-6.1-sol.gpt-6.1-solwhile listing GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, and GPT-5.6 models.codex exec --model gpt-6.1-sol --skip-git-repo-check "Reply with exactly OK."returns HTTP 400:Troubleshooting already completed:
codex doctor --jsonreports authentication and provider reachability as OKThe issue remains reproducible. Feedback was recorded without logs because log upload failed in the TUI.
Feedback thread ID:
01a12446-ecf5-73f3-af38-c0a400c06d0dchrisohalloran commentedon Oct 13, 2026
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:
codex-cli 0.162.1.codex login status:Logged in using ChatGPT.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.
ddvcddvddv commentedon Oct 15, 2026
Additional Windows/Plus reproduction and resolution on 2026-10-15 (UTC+8):
gpt-6.1-solwhile including GPT-6 Sol, Astra, and Luna.codex exec --model gpt-6.1-solrequest returned HTTP 400:The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account.gpt-6.1-soland repliedOK. 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.
guibaure commentedon Oct 16, 2026
Solved the problem for me, thank you !