Mir (@mailwmj) 在 gpt bussiness team为啥没法在openclaw中使用openai-codex的5.4模型 中发帖
gpt bussiness team为啥没法在openclaw中使用openai-codex的5.4模型。但是codex是可以用的
我让codex自己查说是没权限【 个报错的核心不是“模型坏了”,而是你的当前授权身份没有 Responses API 的写权限。
我看了你本机配置,openclaw.json (line 8) 现在是:
provider = openai-codex
mode = oauth
默认模型是 openai-codex/gpt-5.4
也就是说,OpenClaw 现在是在拿 Codex 的 OAuth 登录态去调 OpenAI 接口。像 gpt-5.4 这类模型会走 v1/responses,而你的 token 缺的是 api.responses.write,所以直接 401。
你先按这个顺序排查:
去 OpenAI API Platform 看你的...