Skip to content

Commit ab5d143

Browse files
authored
feat(openai): default new setups to GPT-5.6 (#103581)
* feat(openai): default fresh setup to GPT-5.6 * test(crestodian): expect GPT-5.6 Codex defaults * test(crestodian): expect GPT-5.6 bootstrap default
1 parent fc60a8e commit ab5d143

39 files changed

Lines changed: 652 additions & 179 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Docs: https://docs.openclaw.ai
66

77
### Changes
88

9+
- **OpenAI GPT-5.6 defaults:** use `openai/gpt-5.6` (Sol alias) for fresh API-key setup and exact `openai/gpt-5.6-sol` for fresh Codex/OAuth setup, while preserving existing primaries, fallbacks, aliases, and explicit GPT-5.5 selections. (#103234)
910
- **Meta provider:** add bundled `muse-spark-1.1` model support with Responses API streaming, tool calls, encrypted reasoning replay, onboarding, and standalone npm/ClawHub distribution. (#102873) Thanks @HamidShojanazeri.
1011
- **Android chat agent selector:** switch the active agent directly from the live chat screen while keeping chat, Talk mode, and home canvas on the same canonical session. (#80422) Thanks @bcperry.
1112
- **Gateway host status:** show the connected Gateway's host, network address, OS, runtime, uptime, CPU, memory, and disk details in Control UI Settings. (#100478)

‎docs/cli/crestodian.md‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ openclaw crestodian
5050
openclaw crestodian --json
5151
openclaw crestodian --message "models"
5252
openclaw crestodian --message "validate config"
53-
openclaw crestodian --message "setup workspace ~/Projects/work model openai/gpt-5.5" --yes
54-
openclaw crestodian --message "set default model openai/gpt-5.5" --yes
53+
openclaw crestodian --message "setup workspace ~/Projects/work model openai/gpt-5.6" --yes
54+
openclaw crestodian --message "set default model openai/gpt-5.6" --yes
5555
openclaw onboard --modern
5656
```
5757

@@ -64,7 +64,7 @@ doctor
6464
doctor fix
6565
validate config
6666
setup
67-
setup workspace ~/Projects/work model openai/gpt-5.5
67+
setup workspace ~/Projects/work model openai/gpt-5.6
6868
config set gateway.port 19001
6969
config set-ref gateway.auth.token env OPENCLAW_GATEWAY_TOKEN
7070
gateway status
@@ -73,7 +73,7 @@ agents
7373
create agent work workspace ~/Projects/work
7474
models
7575
configure model provider
76-
set default model openai/gpt-5.5
76+
set default model openai/gpt-5.6
7777
channels
7878
channel info slack
7979
connect slack
@@ -138,18 +138,22 @@ gateway/app chat that supports sensitive replies hosts the same steps inline.
138138
```text
139139
setup
140140
setup workspace ~/Projects/work
141-
setup workspace ~/Projects/work model openai/gpt-5.5
141+
setup workspace ~/Projects/work model openai/gpt-5.6
142142
```
143143

144144
When no model is configured, setup picks the first usable backend in this order and tells you what it chose:
145145

146146
1. Existing explicit model, if already configured.
147-
2. `OPENAI_API_KEY` -> `openai/gpt-5.5`
147+
2. `OPENAI_API_KEY` -> `openai/gpt-5.6` (the bare direct-API id resolves to Sol)
148148
3. `ANTHROPIC_API_KEY` -> `anthropic/claude-opus-4-8`
149149
4. Claude Code CLI -> `claude-cli/claude-opus-4-8`
150-
5. Codex -> `openai/gpt-5.5` through the Codex app-server harness
150+
5. Codex -> `openai/gpt-5.6-sol` through the Codex app-server harness
151151
6. Gemini CLI -> `google-gemini-cli/gemini-3.1-pro-preview`
152152

153+
The first existing explicit model always wins, so setup preserves an existing
154+
`openai/gpt-5.5` primary. If an OpenAI account does not expose GPT-5.6, set
155+
`openai/gpt-5.5` explicitly instead; Crestodian does not silently downgrade.
156+
153157
If none are available, setup still writes the workspace and Gateway configuration, then asks whether to configure a model provider. Accepting opens the normal onboarding provider/auth and default-model steps. Declining leaves Crestodian in deterministic mode; exact setup and repair commands still work, but the normal agent cannot answer until a provider and default model are configured. Run `configure model provider` later to reopen the provider flow.
154158

155159
The macOS app drives the same ladder through the `crestodian.setup.detect` and `crestodian.setup.activate` gateway methods: detect lists every reusable backend it finds, activate live-tests one candidate (a real "reply with OK" completion) and only persists the model, workspace, and gateway defaults after the test passes. A failing candidate never changes config; the app automatically walks down the ladder and finally offers a manual key/token step populated from the Gateway's active text-inference provider plugins. The selected provider owns its starter model and config, and the credential is verified the same way before it is saved.
@@ -159,7 +163,7 @@ The macOS app drives the same ladder through the `crestodian.setup.detect` and `
159163
Interactive Crestodian is AI-only: every message — including ones that look like typed commands — runs through the same embedded agent loop as regular OpenClaw agents, restricted to one ring-zero `crestodian` tool that wraps the typed operations. Read actions run freely, mutations require your conversational approval for that exact operation (see Operations and approval), and every applied write is audited and re-validated. The agent session persists, so the custodian has real multi-turn memory. It first uses the configured OpenClaw model; with no usable model it falls back to a local runtime already present on the machine, in setup-ladder order:
160164

161165
- Claude Code CLI: `claude-cli/claude-opus-4-8` (agent loop; the ring-zero tool is served over MCP, see the trust model below)
162-
- Codex app-server harness: `openai/gpt-5.5` (agent loop with an enforced single-tool allow-list)
166+
- Codex app-server harness: `openai/gpt-5.6-sol` (agent loop with an enforced single-tool allow-list)
163167
- Gemini CLI: `google-gemini-cli/gemini-3.1-pro-preview` (agent loop; ring-zero tool over MCP)
164168

165169
When the agent loop is unavailable, Crestodian degrades to a bounded single-turn planner, and only without any usable model at all to deterministic typed commands. The planner cannot mutate config directly; it must translate the request into one of Crestodian's typed commands, and normal approval/audit rules apply. Crestodian prints the model it used and the interpreted command before running anything. Fallback planner turns are temporary, tool-disabled where the runtime supports it, and use a temporary workspace/session.

‎docs/concepts/model-providers.md‎

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ Reference for **LLM/model providers** (not chat channels like WhatsApp/Telegram)
3737

3838
Plugin auto-enable follows the same boundary: `openai/*` agent refs enable the Codex plugin for the default route, and explicit provider/model `agentRuntime.id: "codex"` or legacy `codex/<model>` refs also require it.
3939

40-
GPT-5.5 is available through the native Codex app-server harness by default on `openai/gpt-5.5`, and through the OpenClaw runtime when provider/model runtime policy explicitly selects `openclaw`.
40+
Fresh OpenAI setup uses a route-specific GPT-5.6 ref: API-key setup selects
41+
`openai/gpt-5.6` (the bare direct-API id resolves to Sol), while
42+
ChatGPT/Codex OAuth selects exact `openai/gpt-5.6-sol` for the native Codex
43+
catalog. Existing explicit primaries, including `openai/gpt-5.5`, are
44+
preserved when OpenAI auth is added or refreshed. GPT-5.5 remains available
45+
through either runtime as an explicit recovery choice for accounts without
46+
GPT-5.6 access.
4147

4248
</Accordion>
4349
<Accordion title="CLI runtimes">
@@ -89,7 +95,8 @@ Official provider plugins publish their own model catalog rows. These providers
8995
- Provider: `openai`
9096
- Auth: `OPENAI_API_KEY`
9197
- Optional rotation: `OPENAI_API_KEYS`, `OPENAI_API_KEY_1`, `OPENAI_API_KEY_2`, plus `OPENCLAW_LIVE_OPENAI_KEY` (single override)
92-
- Example models: `openai/gpt-5.5`, `openai/gpt-5.4-mini`
98+
- Fresh setup default: `openai/gpt-5.6`; on the direct API, the bare id resolves to Sol.
99+
- Example models: `openai/gpt-5.6`, `openai/gpt-5.6-terra`, `openai/gpt-5.6-luna`, `openai/gpt-5.5`
93100
- Verify account/model availability with `openclaw models list --provider openai` if a specific install or API key behaves differently.
94101
- CLI: `openclaw onboard --auth-choice openai-api-key`
95102
- Default transport is `auto`; OpenClaw passes the transport choice to the shared model runtime.
@@ -103,10 +110,15 @@ Official provider plugins publish their own model catalog rows. These providers
103110

104111
```json5
105112
{
106-
agents: { defaults: { model: { primary: "openai/gpt-5.5" } } },
113+
agents: { defaults: { model: { primary: "openai/gpt-5.6" } } },
107114
}
108115
```
109116

117+
If the API organization does not expose GPT-5.6, set
118+
`openai/gpt-5.5` explicitly. Normal onboarding and reauthentication preserve an
119+
existing explicit primary model; `models auth login --set-default` and
120+
`models set` are the intentional replacement paths.
121+
110122
### Anthropic
111123

112124
- Provider: `anthropic`
@@ -134,7 +146,7 @@ Claude CLI reuse (`claude -p`) is a sanctioned OpenClaw integration path. Anthro
134146

135147
- Provider: `openai`
136148
- Auth: OAuth (ChatGPT)
137-
- Native Codex app-server harness ref: `openai/gpt-5.5`
149+
- Fresh native Codex app-server harness ref: `openai/gpt-5.6-sol`
138150
- Native Codex app-server harness docs: [Codex harness](/plugins/codex-harness)
139151
- Legacy model refs: `codex/gpt-*`
140152
- Plugin boundary: `openai/*` loads the OpenAI plugin; the native Codex app-server plugin is selected by the Codex harness runtime.
@@ -144,17 +156,18 @@ Claude CLI reuse (`claude -p`) is a sanctioned OpenClaw integration path. Anthro
144156
- `params.serviceTier` is also forwarded on native Codex Responses requests (`chatgpt.com/backend-api`)
145157
- Hidden OpenClaw attribution headers (`originator`, `version`, `User-Agent`) are only attached on native Codex traffic to `chatgpt.com/backend-api`, not generic OpenAI-compatible proxies
146158
- Shares the same `/fast` toggle and `params.fastMode` config as direct `openai/*`; OpenClaw maps that to `service_tier=priority`
159+
- The native Codex catalog can expose exact `openai/gpt-5.6-sol`, `openai/gpt-5.6-terra`, and `openai/gpt-5.6-luna` refs according to account access. It does not apply the direct API's bare `gpt-5.6` alias client-side.
147160
- `openai/gpt-5.5` uses the Codex catalog native `contextWindow = 400000` and default runtime `contextTokens = 272000`; override the runtime cap with `models.providers.openai.models[].contextTokens`
148-
- Sign in with `openai` auth and configure `openai/gpt-5.5` for the standard subscription plus native Codex runtime route; OpenAI agent turns select Codex by default.
149-
- Use provider/model `agentRuntime.id: "openclaw"` only when you want the built-in OpenClaw route; otherwise keep `openai/gpt-5.5` on the default Codex harness.
150-
- Legacy Codex GPT refs are legacy state, not a live provider route. Use `openai/gpt-5.5` on the native Codex runtime for new agent config, and run `openclaw doctor --fix` to migrate old legacy Codex model refs to canonical `openai/*` refs.
161+
- Sign in with `openai` auth and use `openai/gpt-5.6-sol` for a fresh subscription-backed setup. Select `openai/gpt-5.5` explicitly if that Codex workspace does not expose GPT-5.6.
162+
- Use provider/model `agentRuntime.id: "openclaw"` only when you want the built-in OpenClaw route; otherwise keep the selected `openai/*` model on the default Codex harness.
163+
- Legacy Codex GPT refs are legacy state, not a live provider route. Use canonical `openai/*` refs for new agent config, and run `openclaw doctor --fix` to migrate old legacy Codex model refs without upgrading an existing explicit `openai/gpt-5.5` selection.
151164

152165
```json5
153166
{
154167
plugins: { entries: { codex: { enabled: true } } },
155168
agents: {
156169
defaults: {
157-
model: { primary: "openai/gpt-5.5" },
170+
model: { primary: "openai/gpt-5.6-sol" },
158171
},
159172
},
160173
}

‎docs/concepts/models.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sidebarTitle: "Models CLI"
2323
</Card>
2424
</CardGroup>
2525

26-
A model ref (`provider/model`) chooses a provider and model. It does not usually choose the low-level agent runtime. OpenAI is the main exception: `openai/gpt-5.5` runs through the Codex app-server runtime by default on the official OpenAI provider. Subscription Copilot refs (`github-copilot/*`) can be opted into the external GitHub Copilot agent runtime plugin, but that path is always explicit (never selected by `auto`). Runtime overrides belong on provider/model policy, not on the whole agent or session. In Codex runtime mode, `openai/gpt-*` does not imply API-key billing; auth can come from a Codex account or an `openai` OAuth profile. See [Agent runtimes](/concepts/agent-runtimes) and [GitHub Copilot agent runtime](/plugins/copilot).
26+
A model ref (`provider/model`) chooses a provider and model. It does not usually choose the low-level agent runtime. OpenAI is the main exception: official `openai/gpt-*` agent refs run through the Codex app-server runtime by default. Subscription Copilot refs (`github-copilot/*`) can be opted into the external GitHub Copilot agent runtime plugin, but that path is always explicit (never selected by `auto`). Runtime overrides belong on provider/model policy, not on the whole agent or session. In Codex runtime mode, `openai/gpt-*` does not imply API-key billing; auth can come from a Codex account or an `openai` OAuth profile. See [Agent runtimes](/concepts/agent-runtimes) and [GitHub Copilot agent runtime](/plugins/copilot).
2727

2828
## Selection order
2929

@@ -83,6 +83,13 @@ openclaw onboard
8383

8484
Sets up model and auth for common providers without hand-editing config, including OpenAI Codex subscription OAuth and Anthropic (API key or Claude CLI reuse).
8585

86+
With no primary model configured, fresh OpenAI API-key setup selects
87+
`openai/gpt-5.6`; the bare direct-API id resolves to the Sol tier. Fresh
88+
ChatGPT/Codex OAuth setup selects the exact `openai/gpt-5.6-sol` catalog ref.
89+
Reauthentication preserves an existing explicit primary model, including
90+
`openai/gpt-5.5`. If GPT-5.6 is unavailable to the account, select
91+
`openai/gpt-5.5` explicitly; OpenClaw does not silently downgrade it.
92+
8693
## "Model is not allowed" (and why replies stop)
8794

8895
If `agents.defaults.models` is set, it becomes the allowlist for `/model` and session overrides. Selecting a model outside that allowlist returns, before any normal reply is generated:

‎docs/help/faq-first-run.md‎

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -558,27 +558,35 @@ and troubleshooting see the main [FAQ](/help/faq).
558558
</Accordion>
559559

560560
<Accordion title="How does Codex auth work?">
561-
OpenClaw supports **OpenAI Codex** via OAuth (ChatGPT sign-in). Use `openai/gpt-5.5`
562-
for the default setup: ChatGPT/Codex subscription auth plus native Codex app-server
563-
execution. Legacy Codex-prefixed model refs are legacy config repaired by
564-
`openclaw doctor --fix`. Direct OpenAI API-key access remains available for non-agent
565-
OpenAI API surfaces and, through an ordered `openai` API-key profile, for agent models
566-
too. See [Model providers](/concepts/model-providers) and [Onboarding (CLI)](/start/wizard).
561+
OpenClaw supports **OpenAI Codex** via OAuth (ChatGPT sign-in). A fresh
562+
setup with no primary model uses exact `openai/gpt-5.6-sol` for
563+
ChatGPT/Codex subscription auth plus native Codex app-server execution.
564+
Reauthentication preserves an existing explicit model, including
565+
`openai/gpt-5.5`. If the Codex workspace does not expose GPT-5.6, select
566+
`openai/gpt-5.5` explicitly; OpenClaw does not silently downgrade. Legacy
567+
Codex-prefixed model refs are legacy config repaired by `openclaw doctor
568+
--fix`. Direct OpenAI API-key access remains available for non-agent OpenAI
569+
API surfaces and, through an ordered `openai` API-key profile, for agent
570+
models too. See [Model providers](/concepts/model-providers) and
571+
[Onboarding (CLI)](/start/wizard).
567572
</Accordion>
568573

569574
<Accordion title="Why does OpenClaw still mention legacy OpenAI Codex prefix?">
570575
`openai` is the current provider and auth-profile id for both OpenAI API keys and
571576
ChatGPT/Codex OAuth - OpenAI Codex is folded into it. You may still see a legacy
572577
`openai-codex` prefix in older config and migration warnings:
573578

574-
- `openai/gpt-5.5` = ChatGPT/Codex subscription auth with native Codex runtime for agent turns.
579+
- `openai/gpt-5.6-sol` = fresh ChatGPT/Codex subscription setup with the native Codex runtime for agent turns.
580+
- `openai/gpt-5.5` = explicit supported selection for existing config or accounts without GPT-5.6 access.
575581
- Legacy `openai-codex/*` model refs = legacy route repaired by `openclaw doctor --fix`.
576582
- `openai/gpt-5.5` plus an ordered `openai` API-key profile = API-key auth for an OpenAI agent model.
577583
- Legacy `openai-codex` auth profile ids = legacy ids migrated by `openclaw doctor --fix`.
578584

579585
Want direct OpenAI Platform billing? Set `OPENAI_API_KEY`. Want ChatGPT/Codex
580-
subscription auth? Run `openclaw models auth login --provider openai`. Keep the model
581-
ref as `openai/gpt-5.5`; legacy Codex-prefixed refs are what `openclaw doctor --fix` rewrites.
586+
subscription auth? Run `openclaw models auth login --provider openai`. Keep
587+
model refs under the canonical `openai/*` provider. Fresh subscription
588+
setup uses exact `openai/gpt-5.6-sol`; doctor repairs legacy Codex-prefixed
589+
refs without upgrading an explicit `openai/gpt-5.5` selection.
582590

583591
</Accordion>
584592

0 commit comments

Comments
 (0)