#move from gpt 5.4 to gpt 5.5
1 messages · Page 1 of 1 (latest)
If you're on subscription OAuth, the move is basically just a model switch, not a new auth flow.
Use the Codex OAuth route:
- Current session/thread:
/model openai-codex/gpt-5.5 - Make it the default:
pnpm openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5 - Check it exists for your install:
pnpm openclaw models list --provider openai-codex
If your OAuth expired or was never set up in OpenClaw, re-login with:
pnpm openclaw models auth login --provider openai-codex
Important bit: GPT-5.5 is currently OAuth/subscription-only in OpenClaw, so for your case you want openai-codex/gpt-5.5, not the normal openai/* API-key route.
After changing the default, start a fresh session with /new if you want the new default to apply there.
Also, what does pnpm openclaw --version show? Older builds can still point people at 5.4.
i dont know how to change it
Yep, the easiest way is:
Inside the chat/thread with OpenClaw, send:
/model openai-codex/gpt-5.5
That switches this session to GPT-5.5.
If you want to make it the default for new sessions, run this in your terminal on the machine running OpenClaw:
pnpm openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
Then start a fresh session with:
/new
Important: since you're using OAuth/subscription, use:
openai-codex/gpt-5.5
not openai/gpt-5.5.
If that doesn't work, paste these two outputs and I’ll help from there:
pnpm openclaw --version
pnpm openclaw models list --provider openai-codex
Docs:
https://docs.openclaw.ai/providers/openai
https://docs.openclaw.ai/help/faq-models
zsh: command not found: pnpm
jacobmacmini@JacobMacMinis-Mac-mini ~ %
nvm it's working, just had to not include pnpm.
how do i restart
nvm i remembered
No worries, that just means pnpm isn’t installed on that machine.
For a normal OpenClaw install, you usually don’t need pnpm. Try the CLI directly:
openclaw --version
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
Then start a fresh chat/session with:
/new
If you only want to switch this current session, send:
/model openai-codex/gpt-5.5
Important: with your OAuth/subscription setup, the model should be:
openai-codex/gpt-5.5
not openai/gpt-5.5.
If openclaw is also “command not found”, paste this next:
which openclaw
Nice, glad that was it. 🙂
If you just changed the default model, you usually do not need to restart the whole app.
Use one of these:
- Start a fresh chat/session:
/new - Reset current session:
/reset - Restart the gateway/service:
openclaw gateway restart
For your case, after setting openai-codex/gpt-5.5, I’d just do:
/new
That’s usually enough.
Docs:
https://docs.openclaw.ai/tools/slash-commands
https://docs.openclaw.ai/providers/openai
If this fixed it, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow can index it.
Perfect 👍
Then you should be set.
If this fixed it, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow can index it for the next person.
[24/4/2026 5:20 PM] BruceWayne: ⚠️ Something went wrong while processing your request. Please try again, or use /new to start a fresh session.
[24/4/2026 5:20 PM] Bruce Wayne (Int): /new
[24/4/2026 5:20 PM] BruceWayne: ⚠️ Something went wrong while processing your request. Please try again, or use /new to start a fresh session.
I'm getting these
how do i check what model i am on
Ah, if /new is failing too, that’s probably not the 5.5 switch itself. It sounds more like the gateway/session state got wedged.
Please run these and paste the output:
openclaw --version
openclaw status --all
openclaw gateway status
openclaw doctor
Then do one restart:
openclaw gateway restart
If /new still fails after that, grab logs while reproducing it:
openclaw logs --follow
Then send the error lines from right after you try /new again.
Version matters a lot here, there have been a few session-store bugs on older builds.
Docs:
https://docs.openclaw.ai/help/faq
https://docs.openclaw.ai/gateway/troubleshooting
I don’t see the outputs yet, looks like they didn’t come through.
Please paste the full text output from these in one message:
openclaw --version
openclaw status --all
openclaw gateway status
openclaw doctor
And if you can, also run this, then try /new, and paste the new log lines right after it fails:
openclaw logs --follow
If it’s easier, screenshots are fine too, but text is better.
In chat, use:
/status
That shows the current session/runtime info.
For model-specific details, use:
/model status
If chat commands are acting up, check from terminal instead:
openclaw status
openclaw models status
openclaw config get agents.defaults.model.primary
Quick rule of thumb:
/status= what this session is using/model status= model/auth/provider detailsconfig get ...primary= your default model for new sessions
Docs:
https://docs.openclaw.ai/tools/slash-commands
https://docs.openclaw.ai/help/faq-models
what does this mean?
Archive 213 orphan transcript files in
│ ~/.openclaw/agents/main/sessions? This only renames them to
│ *.deleted.<timestamp>.
It means OpenClaw found 213 old session transcript files (.jsonl) in:
~/.openclaw/agents/main/sessions
that are no longer referenced by sessions.json.
In plain English:
- they’re probably leftovers from old/deleted/interrupted sessions
- they are not part of active session history
- if you say yes, OpenClaw will not hard-delete them
- it just renames them to something like:
whatever.jsonl.deleted.2026-04-24T...
So it’s basically a safe cleanup/archive prompt.
If you’re not sure, my take is:
- Usually safe to approve
- if you want to be extra cautious, copy that
sessions/folder somewhere first
Also, that warning by itself usually isn’t the same thing as “your model switch failed”. It’s more of a state-cleanup notice.
09:26:26+00:00 info hooks/session-memory {"subsystem":"hooks/session-memory"} Session context saved to ~/.openclaw/workspace/memory/2026-04-24-0926.md
09:26:27+00:00 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=main durationMs=144 error="FailoverError: Unknown model: openai-codex/gpt-5.5"
09:26:27+00:00 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=session:agent:main:telegram:direct:8354967288 durationMs=145 error="FailoverError: Unknown model: openai-codex/gpt-5.5"
09:26:27+00:00 warn model-fallback/decision {"subsystem":"model-fallback/decision"} {"event":"model_fallback_decision","tags":["error_handling","model_fallback","candidate_failed"],"runId":"5f9d41b1-57f5-4c6b-88fc-2c633ae464cb","decision":"candidate_failed","requestedProvider":"openai-codex","requestedModel":"gpt-5.5","candidateProvider":"openai-codex","candidateModel":"gpt-5.5","attempt":1,"total":2,"reason":"model_not_found","errorPreview":"Unknown model: openai-codex/gpt-5.5","errorHash":"sha256:5bac4bfead32","nextCandidateProvider":"anthropic","nextCandidateModel":"claude-sonnet-4-6","isPrimary":true,"requestedModelMatched":true,"fallbackConfigured":true} model fallback decision
09:26:27+00:00 warn model-fallback/decision {"subsystem":"model-fallback/decision"} {"event":"model_fallback_decision","tags":["error_handling","model_fallback","skip_candidate"],"runId":"5f9d41b1-57f5-4c6b-88fc-2c633ae464cb","decision":"skip_candidate","requestedProvider":"openai-codex","requestedModel":"gpt-5.5","candidateProvider":"anthropic","candidateModel":"claude-sonnet-4-6","attempt":2,"total":2,"reason":"billing","errorPreview":"Provider anthropic has billing issue (skipping all models)","errorHash":"sha256:c133586184f0","isPrimary":false,"requestedModelMatched":false,"fallbackConfigured":true,"profileCount":1} model fallback decision
09:26:27+00:00 error Embedded agent failed before reply: All models failed (2): openai-codex/gpt-5.5: Unknown model: openai-codex/gpt-5.5 (model_not_found) | anthropic/claude-sonnet-4-6: Provider anthropic has billing issue (skipping all models) (billing) | Unknown model: openai-codex/gpt-5.5
09:26:27+00:00 info gateway/channels/telegram {"subsystem":"gateway/channels/telegram"} telegram sendMessage ok chat=8354967288 message=14421
Yep, that log is the real issue:
Unknown model: openai-codex/gpt-5.5 means your current OpenClaw build doesn’t know about that model yet. So this is most likely an older version problem, not an OAuth problem.
Quick fix to get unstuck:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4
openclaw gateway restart
Then check your version:
openclaw --version
openclaw models list --provider openai-codex
If gpt-5.5 is missing there, update OpenClaw:
openclaw update
If you installed with npm and openclaw update doesn’t work, use:
npm i -g openclaw@latest
Then switch again:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
openclaw gateway restart
So, short version:
- old build → only knows
openai-codex/gpt-5.4 - newer build → knows
openai-codex/gpt-5.5
Paste openclaw --version if you want, and I can tell you right away if that’s the mismatch.
Docs:
https://docs.openclaw.ai/providers/openai
https://docs.openclaw.ai/install/updating
https://docs.openclaw.ai/help/faq-models
Yep, this confirms it.
You actually have two separate issues:
-
openai-codex/gpt-5.5is unknown
Your current OpenClaw build is too old to know that model yet. -
Anthropic fallback is also failing
Thatbilling issueline is just your fallback model failing too.
So the immediate fix is to put your default back to 5.4 first:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4
openclaw gateway restart
Then check:
openclaw --version
openclaw models list --provider openai-codex
If gpt-5.5 does not show up there, update OpenClaw:
openclaw update
Then try again:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5
openclaw gateway restart
So short version: your OAuth is probably fine, your build is just old.
Docs:
https://docs.openclaw.ai/providers/openai
https://docs.openclaw.ai/install/updating
Paste openclaw --version if you want and I’ll tell you right away if that’s the mismatch.
doesnt seem like we have a build that accepts 5.4?
I don’t think so, no.
The logs you pasted only prove 5.5 is unknown. They do not prove 5.4 is unknown.
In fact, on older OpenClaw builds, the documented Codex OAuth model is openai-codex/gpt-5.4. So if you’re on an older build, 5.4 is the one I’d expect to work.
Please check these:
openclaw --version
openclaw models list --provider openai-codex
Then try forcing 5.4:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4
openclaw gateway restart
If that still says Unknown model: openai-codex/gpt-5.4, then it’s not really a “5.4 vs 5.5” problem anymore, it’s more likely one of these:
- the install is partially updated / inconsistent
- the
openai-codexprovider isn’t available on that build - Codex auth/provider needs to be re-added
In that case, next step is:
openclaw models auth login --provider openai-codex
and if needed:
openclaw update
Paste the output of:
openclaw --version
openclaw models list --provider openai-codex
and I can tell you exactly which bucket you’re in.
Yep, that confirms it.
If your build accepts openai-codex/gpt-5.4 but not openai-codex/gpt-5.5, then your install is just too old for 5.5.
So the path is:
-
Use 5.4 for now
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4 -
Update OpenClaw
openclaw update -
Check whether 5.5 appears
openclaw models list --provider openai-codex
-
Then switch
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.5 -
Start a fresh session:
/new
One small note: that earlier Anthropic billing error is just your fallback path failing, separate from the 5.5 issue.
Docs:
https://docs.openclaw.ai/install/updating
https://docs.openclaw.ai/providers/openai
If openclaw update errors, paste it here and I’ll help untangle it.
Yeah, that’s very possible.
Based on what you found:
- your current build has
openai-codex/gpt-5.4 - your current build does not know
openai-codex/gpt-5.5
So at least for the release you’re on, 5.5 is not available yet.
I’d phrase it like this:
- Not necessarily “OpenClaw never added it”
- more like “the build/release you have hasn’t picked it up yet”
So for now I’d stick with:
openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4
Then occasionally check:
openclaw update
openclaw models list --provider openai-codex
Once gpt-5.5 shows up there, you can switch.
If you want, paste:
openclaw --version
openclaw update status
and I can help sanity-check whether you’re already on the newest release.
Docs:
https://docs.openclaw.ai/install/updating
https://docs.openclaw.ai/providers/openai