You upgraded OpenClaw to the beta so you could use GPT-5.6. The models showed up in the list. You picked Sol, hit send, and got this: “The ‘gpt-5.6-sol’ model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again.” Then the agent silently dumped to a fallback model, and if you are one of the unlucky ones, even GPT-5.5 stopped working.
This is the most complained-about OpenClaw issue this week, and the worst part is that the error message lies to you. You probably already have the latest Codex CLI installed. The fix is a config change that points OpenClaw at that CLI, and it takes about ten minutes. Here is exactly what is happening and how to fix it.

Why “Requires a Newer Version of Codex” Is a Lie
GPT-5.6 shipped as a family of models: Sol, Terra, and Luna. The current stable OpenClaw release, 2026.6.11, does not include GPT-5.6 support at all, so the only way to use the new models is the 2026.7.1-beta.2 build (or newer). On that build the models appear in openclaw models list and you can configure them. The problem starts when you actually use one.
The error says you need a newer Codex, so the natural reaction is to update Codex. Then you run codex --version and it reports something like codex-cli 0.144.1 at /opt/homebrew/bin/codex. It is current. Standalone Codex runs gpt-5.6-sol fine on the same machine and the same account. But OpenClaw still rejects it with the same error.
Here is the actual root cause, confirmed in the canonical bug report (openclaw/openclaw issue #103884): OpenClaw’s Codex runtime reports its version using the OpenClaw release version instead of the compatible Codex version. The Codex app-server sees a client-version mismatch and refuses the request. Your CLI is not the problem. The version metadata OpenClaw sends is. That is why the workaround is to tell OpenClaw to use the standalone Codex binary directly, which bypasses the mismatch.
Before You Start: Confirm What You Are Running
Run these two checks first so you know which part of the fix you actually need:
openclaw --version– you need 2026.7.1-beta.2 or newer. If you are on stable 2026.6.11, GPT-5.6 will not work no matter what you do. Upgrade to the beta first, then come back to this fix.codex --versionandcommand -v codex– note the path. You want a current standalone Codex CLI, ideally 0.144.x or newer. If it is missing or old, update it (npm install -g @openai/codexor your package manager’s equivalent) before continuing.
If both checks pass and the error still shows, you have the version-metadata bug and the fix below applies.
The 10-Minute Fix
Four commands. The first captures the path to your real Codex binary, the second points OpenClaw’s Codex app-server at it, the third restarts the gateway so the change loads, and the fourth proves it worked.
- Capture the Codex binary path:
CODEX_BIN="$(command -v codex)" - Point OpenClaw at it:
openclaw config set plugins.entries.codex.config.appServer.command "$CODEX_BIN" - Restart the gateway so the new config loads:
openclaw gateway restart --wait 120s - Probe the model again:
openclaw models status --probe --probe-provider openai
That is the whole fix. The probe result for Sol changes from “requires a newer version of Codex” to OK. Users who applied this workaround report clean results across the board: model gpt-5.6-sol, harness codex, thinking max, and fallbackUsed: false in the agent run output.

Verify It Actually Worked
A probe passing is a good sign, but run one real agent test before you trust it:
- Run a short agent session with the model pinned:
openclaw agent --agent main --model openai/gpt-5.6-sol --message "Reply with exactly: OK" - Check the output for
fallbackUsed: false. If you see that, the request went to Sol directly and nothing was silently swapped. - Then do a real task, one with tools. Model compatibility bugs often only show up when the agent tries to call a tool.
If the agent test still falls back, check two things. First, confirm the config change is in the right place: openclaw config get plugins.entries.codex.config.appServer.command should print the Codex path. Second, confirm the gateway fully restarted. A stale gateway keeps the old version metadata loaded, and the error will persist even though the config looks right.
Getting Terra and Luna Working Too
Sol is the flagship, but Terra and Luna are part of the same family and hit the same bug. Once the app-server command is fixed, add them to your default model list so you can switch without reconfiguring:
- Add the models to
agents.defaults.modelsin your OpenClaw config (for exampleopenai/gpt-5.6-terraandopenai/gpt-5.6-luna). - Probe each one with
openclaw models status --probe --probe-provider openai. - Restart the gateway after any config change, then test each model with a short agent run.
All three models should pass with the same workaround. If only Sol passes, check that you used the exact model IDs shown by openclaw models list, because the canonical IDs changed across beta builds.
Prefer Not to Run a Beta? Stay on Stable
The fix above assumes you want GPT-5.6 badly enough to run a beta build. That is a reasonable trade for some people and not for others. If you would rather stay on stable 2026.6.11, keep using GPT-5.5, which works fine there. You lose Sol, Terra, and Luna until the next stable release, but you also lose the beta risk. Given the release has already slipped multiple times, stable may be the calmer choice for production work. Just do not expect GPT-5.6 to appear on stable until a release that actually includes it ships.
Known GPT-5.6 Quirks to Expect After the Fix
Getting the models to run is step one. The ecosystem is still shaking out, and there are two known follow-on issues worth knowing about so you do not mistake them for your own config problem:
- Early exit on research tasks. Sol and Terra have been observed exiting scheduled research tasks before calling web search, while GPT-5.5 completes the same workflow. If your agent stops mid-research, this is a known model behavior issue (openai/codex #32162), not your setup.
- Missing tool exposure. In some Codex exec paths, GPT-5.6 “Responses Lite” turns do not expose the exec and code-mode tools (openai/codex #31894). If a task that needs tools fails oddly, try the full Codex path or fall back to GPT-5.5 for that task.
Both are being tracked upstream. The version-metadata bug itself is open as openclaw/openclaw #103884, and once a stable release fixes how OpenClaw reports its Codex version, this whole workaround becomes unnecessary. Check the issue before you rebuild anything after the next update.
A Quick Checklist
- On the beta?
openclaw --versionshows 2026.7.1-beta.2 or newer. If not, upgrade first. - Codex current?
codex --versionshows 0.144.x or newer, andcommand -v codexreturns a path. - Ran
CODEX_BIN="$(command -v codex)"and setplugins.entries.codex.config.appServer.commandto it. - Restarted the gateway with
openclaw gateway restart --wait 120s. - Probed with
openclaw models status --probe --probe-provider openaiand saw OK. - Ran a real agent test and confirmed
fallbackUsed: false. - Added Terra and Luna to
agents.defaults.modelsif you want all three.
If the probe still fails after all of this, the change is almost certainly not loaded. Verify the config value, restart the gateway again, and only then start looking at anything else. Nine times out of ten it is a stale gateway.
Bottom Line
“GPT-5.6 requires a newer version of Codex” is a misleading error from a version-metadata mismatch inside OpenClaw’s Codex runtime, not a signal that your CLI is outdated. Point OpenClaw’s Codex app-server at your real standalone Codex binary, restart the gateway, probe, and test. Ten minutes, four commands, and the newest OpenAI models work again with no fallback swapping. The bug is tracked upstream, so this workaround has an expiration date, which is the good kind of expiration date.
If the beta build gives you more trouble than it is worth, our rollback guide walks through returning to the previous stable release safely. And if model chaos is burning tokens while you debug, the token cost guide shows how to cap usage so a broken model cannot run up the bill.
Beta broke more than your models?
If the GPT-5.6 beta build is causing more pain than it is worth, roll back to the stable release in minutes. And while you debug, keep a cap on token usage so failed runs cannot inflate your bill.
If GPT-5.6 keeps breaking your setup, see how the leading models compare before you switch.

