試してみたブログ

AI関連・iPhone/Pixelなどのガジェット・音声入力・サーマルプリンタなど興味をある事をどんどん試してみた際の記録

OpenClawのモデルをCodexに変更する

背景

  • 先日gemini APIに切り替えたが特に何もしていないが8円ほど日次で掛かっていた
  • 既存のサブスクに適用出来ないかを考え、ChatGPTのCodexを適用することにした

試してみた

  • openclaw onboard --auth-choice openai-codex
  • I understand this is powerful and inherently risky. Continue? yes
  • ChatGPTにログイン

  • .openclaw/openclaw.json を編集

  "model": {
    "primary": "openai-codex/gpt-5.3-codex",
    "fallbacks": [
      "google-antigravity/gemini-3-flash"
    ]
  • fallbackにはantigravityのgemini-3-flashを指定した(まだちゃんと設定は出来て無いので早めにする)
  • openclaw gateway restart
  • 今後はCodexの使用量も定期確認だぁ。。

chatgpt.com