#openai 5.4 config

1 messages ยท Page 1 of 1 (latest)

fresh breach
#

pleaase share with me config settings for openai 5.4

sterile capeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

dim spruceBOT
#

Yep โ€” use this in ~/.openclaw/openclaw.json (JSON5 format):

{
env: {
OPENAI_API_KEY: "sk-..."
},
agents: {
defaults: {
model: { primary: "openai/gpt-5.4" }
}
}
}

If you want Codex OAuth instead of API key, use:

#
{
agents: {
defaults: {
model: { primary: "openai-codex/gpt-5.4" }
}
}
}

Quick setup commands:

openclaw onboard --auth-choice openai-api-key
# or
openclaw onboard --auth-choice openai-codex