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

OpenClaw Installation on MacBook Pro Using Local Homebrew and NVM
A user successfully installed OpenClaw on a MacBook Pro using a non-admin account with local Homebrew, NVM v0.40.4, Python 3.14.3 via pyenv, Node 24, and the Qwen3.5-122B-A10B-MLX-vision-4.7-bit LLM through oMLX.

Practical Prompt Structure for Claude AI Execution Agents
A developer shares prompt engineering techniques that reduced hallucinations in Claude AI agents performing API calls, data extraction, and multi-step workflows. Key strategies include writing prompts as contracts, dedicating 40% of tokens to error handling, and separating 'wait' from 'stop' conditions.

How to fix OpenClaw 'Cannot find module' error after update
After updating OpenClaw from version 2026.3.24 to 2026.4.5, users are encountering a 'Cannot find module @buape/carbon' error. The solution involves manually running a post-installation script instead of installing the package globally.

Documentation for Writing MCP Tools in C# .NET Framework for Claude Desktop/Code
Complete documentation and C# coding examples for creating custom MCP tools using .NET Framework 4.8, enabling Claude Desktop/Code to automate interactions with external processes, software, APIs, and IoT devices.