#how to enable openai-codex/gpt-5.5
1 messages · Page 1 of 1 (latest)
Assuming you want ChatGPT/Codex subscription OAuth:
openclaw models auth login --provider openai-codex
# headless/VPS:
openclaw models auth login --provider openai-codex --device-code
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
openclaw models list --provider openai-codex
openclaw models status
Then start a fresh chat/session (/new or /reset) or switch the current one with:
/model openai-codex/gpt-5.5
Small gotchas:
- Don’t use
openclaw loginfor this — that’s WhatsApp linking. openai-codex/gpt-5.5= Codex OAuth via the normal PI runner.openai/gpt-5.5= direct OpenAI API key route.- If you use an explicit model allowlist and get “model not allowed”, add it with:
openclaw config set agents.defaults.models '{"openai-codex/gpt-5.5":{}}' --strict-json --merge
Docs: https://docs.openclaw.ai/providers/openai and https://docs.openclaw.ai/concepts/models
back then i've done the auth, i only need to enable openai-codex/gpt-5.5
Yep — if auth is already done, just set it as the default model:
pnpm openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
pnpm openclaw models status
If you installed globally, same commands without pnpm are fine.
For the current Discord thread/session, either run:
/model openai-codex/gpt-5.5
or start fresh with /new / /reset, because existing sessions can keep their previous model.