#Facing issues with changing models in OC

1 messages ยท Page 1 of 1 (latest)

umbral apex
#

{"detail":"The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account."}

#

@harsh solstice Please help

harsh solsticeBOT
#

That error is coming from OpenAIโ€™s side (not really an OpenClaw bug): Codex authenticated via a โ€œChatGPT accountโ€ login only supports a limited subset of models, and gpt-5.3-codex isnโ€™t in that subset.

Two ways out:

  1. If you want to use gpt-5.3-codex: switch the provider auth to an OpenAI Platform API key (paid API / billing enabled), update whatever your gateway/service is using for env/auth, then restart the gateway so it picks up the new creds.

  2. If you want to keep ChatGPT-account auth: change your OpenClaw model selection to one that Codex allows under that auth method (the allowed list is determined by OpenAI and can change).

To pinpoint which path youโ€™re on, can you paste:

  • openclaw --version
  • and where you set the model (e.g. agents.defaults.model / agent-specific override / Control UI), plus whether your OpenAI/Codex auth is API key or ChatGPT login?
umbral apex
#

I can send pictures. But this is this issue -->

Error: State mismatch
โ”‚
โ—‡ OAuth help โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Trouble with OAuth? See https://docs.openclaw.ai/start/faq โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—† Default model
โ”‚ โ— Keep current (openai-codex/gpt-5.3-codex)
โ”‚ โ—‹ Enter model manually
โ”‚ โ—‹ openai-codex/gpt-5.1
โ”‚ โ—‹ openai-codex/gpt-5.1-codex-max
โ”‚ โ—‹ openai-codex/gpt-5.1-codex-mini
โ”‚ โ—‹ openai-codex/gpt-5.2
โ”‚ โ—‹ openai-codex/gpt-5.2-codex
โ”‚ โ—‹ openai-codex/gpt-5.3-codex
โ”‚ โ—‹ openai-codex/gpt-5.3-codex-spark
โ”‚ โ—‹ openai-codex/gpt-5.4

harsh solsticeBOT
#

Youโ€™ve actually got two separate problems in that screenshot:

1) The model error (gpt-5.3-codex not supported with ChatGPT/Codex OAuth)

Even though the wizard lists openai-codex/gpt-5.3-codex, your specific Codex (ChatGPT) account isnโ€™t entitled to it, so OpenAI rejects requests with exactly the error you pasted.

Fix: in that โ€œDefault modelโ€ picker, do not โ€œKeep current (openai-codex/gpt-5.3-codex)โ€ โ€” pick openai-codex/gpt-5.4 (or another one from the list that works for your account).

2) OAuth โ€œState mismatchโ€

Thatโ€™s an OAuth safety check: it usually happens when you have multiple login attempts/tabs, or you pasted a redirect URL from an earlier attempt.

Fix (cleanest):

  1. Abort the current wizard run (Ctrl+C).
  2. Run a fresh login:
openclaw models auth login --provider openai-codex
  1. Complete the browser login from the single URL that command just generated (close old tabs).