© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Friends of the Crustacean 🦞🤝FotC�
Friends of the Crustacean 🦞🤝•2d ago•
54 replies
bulldog20630405

upgading models to openai/gpt-5.4 and gpt.5.3

✅Solved
openclaw doesnt support the newer openai models:

 source .env

curl -sS https://api.openai.com/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  | jq -r '.data[].id' | grep 'gpt-5'
gpt-5.4
gpt-5.3-chat-latest
gpt-5.4-2026-03-05
gpt-5.4-pro
gpt-5.4-pro-2026-03-05
gpt-5-chat-latest
gpt-5-2025-08-07
gpt-5
gpt-5-mini-2025-08-07
gpt-5-mini
gpt-5-nano-2025-08-07
gpt-5-nano
gpt-5-codex
gpt-5-pro-2025-10-06
gpt-5-pro
gpt-5-search-api
gpt-5-search-api-2025-10-14
gpt-5.1-chat-latest
gpt-5.1-2025-11-13
gpt-5.1
gpt-5.1-codex
gpt-5.1-codex-mini
gpt-5.1-codex-max
gpt-5.2-2025-12-11
gpt-5.2
gpt-5.2-pro-2025-12-11
gpt-5.2-pro
gpt-5.2-chat-latest
gpt-5.2-codex
gpt-5.3-codex
 source .env

curl -sS https://api.openai.com/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  | jq -r '.data[].id' | grep 'gpt-5'
gpt-5.4
gpt-5.3-chat-latest
gpt-5.4-2026-03-05
gpt-5.4-pro
gpt-5.4-pro-2026-03-05
gpt-5-chat-latest
gpt-5-2025-08-07
gpt-5
gpt-5-mini-2025-08-07
gpt-5-mini
gpt-5-nano-2025-08-07
gpt-5-nano
gpt-5-codex
gpt-5-pro-2025-10-06
gpt-5-pro
gpt-5-search-api
gpt-5-search-api-2025-10-14
gpt-5.1-chat-latest
gpt-5.1-2025-11-13
gpt-5.1
gpt-5.1-codex
gpt-5.1-codex-mini
gpt-5.1-codex-max
gpt-5.2-2025-12-11
gpt-5.2
gpt-5.2-pro-2025-12-11
gpt-5.2-pro
gpt-5.2-chat-latest
gpt-5.2-codex
gpt-5.3-codex
`

but with this in openclaw.json:
  "agents": {
    "defaults": {
      "model": {
        "primary": "openai/gpt-5.4"
      },
      "models": {
        "openai/gpt-5.4": {
          "alias": "GPT-PRIMARY-CODE"
        },
        "openai/gpt-5.3-codex": {
          "alias": "GPT-CODE-WORKER"
        },
        "openai/gpt-5.2": {
          "alias": "GPT-BULK-WRITER"
        },
  "agents": {
    "defaults": {
      "model": {
        "primary": "openai/gpt-5.4"
      },
      "models": {
        "openai/gpt-5.4": {
          "alias": "GPT-PRIMARY-CODE"
        },
        "openai/gpt-5.3-codex": {
          "alias": "GPT-CODE-WORKER"
        },
        "openai/gpt-5.2": {
          "alias": "GPT-BULK-WRITER"
        },


get the following error:
 Agent failed before reply: Unknown model: openai/gpt-5.4.
Logs: openclaw logs --follow
 Agent failed before reply: Unknown model: openai/gpt-5.4.
Logs: openclaw logs --follow
Solution
okay just wait till GPT 5.4 is ready with openclaw

here is the final upgrade script

openclaw --version
openclaw doctor
#openclaw gateway install --force
openclaw gateway install --force
openclaw gateway restart
openclaw health
openclaw doctor

openclaw gateway restart
openclaw gateway status
openclaw health
openclaw --version
openclaw --version
openclaw doctor
#openclaw gateway install --force
openclaw gateway install --force
openclaw gateway restart
openclaw health
openclaw doctor

openclaw gateway restart
openclaw gateway status
openclaw health
openclaw --version
Jump to solution
Friends of the Crustacean 🦞🤝 banner
Friends of the Crustacean 🦞🤝Join
The AI that actually does things. Emails, calendar, home automation - all from your favorite chat app. New shell, ready to help. The lobster way.
129,194Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements
Recent Announcements
Krill 🦐

## Freshbits — macOS power-up ### Fixes - [#39516](https://github.com/openclaw/openclaw/pull/39516) [d15b6af](https://github.com/openclaw/openclaw/commit/d15b6af77b49833cede844b88988d13a3715ee01) fix: land contributor PR #39516 from @Imhermes1 Stats: +1202 / -64 (files changed: 22)

Krill 🦐 · 1h ago

Krill 🦐

Stats: +442 / -147 (files changed: 71)

Krill 🦐 · 2h ago

Krill 🦐

## Freshbits — release prep + Gemini tweaks ### Fixes - [#39508](https://github.com/openclaw/openclaw/pull/39508) [c381034](https://github.com/openclaw/openclaw/commit/c3810346f) CLI: avoid false update restart failures without listener attribution - [e0f80cf](https://github.com/openclaw/openclaw/commit/e0f80cf0e) fix(ui): align control-ui device auth token signing - [06ffef8](https://github.com/openclaw/openclaw/commit/06ffef846) fix(ci): repair zalouser CI failures ### Features - [59102a1](https://github.com/openclaw/openclaw/commit/59102a1ff) fix: add gemini 3.1 flash-lite support - [5d22bd0](https://github.com/openclaw/openclaw/commit/5d22bd029) fix: add google flash-lite forward compat ### Chore - [0521784](https://github.com/openclaw/openclaw/commit/05217845a) build: bump version to 2026.3.8 - [3896471](https://github.com/openclaw/openclaw/commit/389647157) build: update stable appcast release URL - [c217237](https://github.com/openclaw/openclaw/commit/c217237a3) style(daemon-cli): format lifecycle test - [42a1394](https://github.com/openclaw/openclaw/commit/42a1394c5) build: prepare 2026.3.7 release

Krill 🦐 · 2h ago

Next page

Similar Threads

Using openai-codex/gpt-5.4
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
3d ago
openai/gpt-5.3-codex (API) automatically remaps to openai/gpt-5.3-codex (OAuth/subscription)
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2w ago
Why can't i add openai gpt 5.4 or github-copilot gpt 5.4 ?
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
19h ago
gpt 5.4 pro??
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2h ago