Access GPT-5.4 via Codex subscription in OpenClaw

How to configure OpenClaw for GPT-5.4
A user on r/openclaw has shared a method for accessing the GPT-5.4 model via an OpenAI Codex subscription within the OpenClaw framework. The process involves patching the configuration as the model is not currently listed in the standard catalog.
The core instruction is to direct your primary AI coding agent to execute the task using a specific prompt: Research on how to patch openclaw with the new openai GPT 5.4 model.
Configuration Steps
The key change is made within the openclaw.json configuration file. The required modifications are hosted in a GitHub Gist: https://gist.github.com/Jacksunwei/3886b95ceacb3ba6af985350a3bdb6ec.
After applying the JSON patch, you must restart the OpenClaw gateway with the command: openclaw gateway restart.
Testing the Setup
To verify the configuration is working, initiate a chat with your agent using the model identifier: /model openai-codex/gpt-5.4. Follow this with a simple message like "Hi" and check the system logs to confirm GPT-5.4 is being utilized.
The post is framed as an interim option, mentioning that update "2026.3.7 just dropped" and suggesting this method "while we're waiting for next release."
📖 Read the full source: r/openclaw
👀 See Also

Running OpenClaw, ClawdBot, and MoltBot on a Budget
Discover how to run OpenClaw, ClawdBot, and MoltBot without breaking the bank. Explore budgeting tips and free alternatives as discussed by enthusiasts on r/clawdbot.

OpenClaw v2026.3.22 Update Issues and 30-Second Fixes
The OpenClaw v2026.3.22 update introduced 12 breaking changes, including ClawHub becoming the default plugin store and deprecated environment variables. Five common disasters with quick fixes include API billing spikes, unintended agent actions, and configuration errors.

Implementing a Recurring Meditation System for OpenClaw Agent Coherence
A developer shares a structured reflection system for OpenClaw agents using a specific file chain including meditations.md, reflections/*.md, and identity files. The nightly loop involves reviewing and appending to these files to promote insights into durable behavior changes.

Building a Fully Local Multi-Agent Assistant with OpenClaw and Ollama
A developer shares their stack for a fully local personal AI assistant using OpenClaw and Ollama, including models qwen3.5:35b-a3b, gemma3:4b, mistral:7b, MCP servers for Home Assistant and Gmail, and a Telegram Bot interface.