请教一下 Sub2API 怎么设置 gpt 的推理强度为 xhigh?

openclaw 请求的时候默认推理强度是Low,难怪小龙虾回复那么快 :bili_017: 这个推理强度需要在openclaw的json里设置还是sub2api设置呢?

而在 Codex 里面默认是 gpt-5.4 medium

openclaw json里设置 , sub2api里好像没有设置(override)这个的地方

json该怎么写呢?我目前配置是这样:

{
  "meta": {
    "lastTouchedVersion": "2026.4.11",
    "lastTouchedAt": "2026-04-12T06:39:06.489Z"
  },
  "wizard": {
    "lastRunAt": "2026-04-10T16:48:28.601Z",
    "lastRunVersion": "2026.4.9",
    "lastRunCommand": "configure",
    "lastRunMode": "local"
  },
  "auth": {
    "profiles": {
      "minimax:cn": {
        "provider": "minimax",
        "mode": "api_key"
      },
      "zai:default": {
        "provider": "zai",
        "mode": "api_key"
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "minimax": {
        "baseUrl": "https://api.minimaxi.com/anthropic",
        "api": "anthropic-messages",
        "authHeader": true,
        "models": [
          {
            "id": "MiniMax-M2.7",
            "name": "MiniMax M2.7",
            "reasoning": true,
            "input": [
              "text"
            ],
            "contextWindow": 204800,
            "maxTokens": 131072
          }
        ]
      },
      "custom-anthropic": {
        "baseUrl": "http://IP:3000/v1",
        "api": "anthropic-messages",
        "apiKey": "${CUSTOM_API_KEY}",
        "models": [
          {
            "id": "MiniMax-M2.5",
            "name": "MiniMax-M2.5"
          },
          {
            "id": "MiniMax-M2.7",
            "name": "MiniMax-M2.7"
          },
          {
            "id": "MiniMax-M2.5-highspeed",
            "name": "MiniMax-M2.5-highspeed"
          },
          {
            "id": "glm-5.1",
            "name": "GLM-5.1"
          },
          {
            "id": "glm-5-turbo",
            "name": "GLM-5-Turbo"
          }
        ]
      },
      "zai": {
        "baseUrl": "https://open.bigmodel.cn/api/coding/paas/v4",
        "api": "openai-completions",
        "models": [
          {
            "id": "glm-5.1",
            "name": "GLM-5.1",
            "reasoning": false,
            "input": [
              "text"
            ],
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-5-turbo",
            "name": "GLM-5-Turbo",
            "reasoning": false,
            "input": [
              "text"
            ],
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-4.7",
            "name": "GLM-4.7",
            "reasoning": false,
            "input": [
              "text"
            ],
            "contextWindow": 204800,
            "maxTokens": 131072
          }
        ]
      },
      "custom-openai": {
        "baseUrl": "http://IP:3000/v1",
        "api": "openai-completions",
        "apiKey": "${CUSTOM_API_KEY}",
        "models": [
          {
            "id": "glm-5.1",
            "name": "GLM-5.1",
            "contextWindow": 204800,
            "maxTokens": 131072,
            "input": [
              "text"
            ],
            "reasoning": false
          }
        ]
      },
      "sub2api": {
        "baseUrl": "http://IP:8080/v1",
        "api": "openai-completions",
        "apiKey": "${SUB2API_API_KEY}",
        "models": [
          {
            "id": "gpt-5.4",
            "name": "gpt-5.4",
            "input": [
              "text",
              "image"
            ],
            "contextWindow": 1050000,
            "maxTokens": 128000,
            "reasoning": true
          },
          {
            "id": "gpt-5.4-mini",
            "name": "gpt-5.4-mini",
            "input": [
              "text",
              "image"
            ],
            "contextWindow": 400000,
            "maxTokens": 128000,
            "reasoning": true
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "sub2api/gpt-5.4",
        "fallbacks": [
          "sub2api/gpt-5.4-mini",
          "zai/glm-5.1",
          "zai/glm-5-turbo",
          "zai/glm-4.7",
          "minimax/MiniMax-M2.7",
          "minimax/MiniMax-M2.5-highspeed",
          "minimax/MiniMax-M2.5",
          "custom-anthropic/glm-5.1",
          "custom-anthropic/glm-5-turbo",
          "custom-anthropic/MiniMax-M2.5",
          "custom-anthropic/MiniMax-M2.5-highspeed",
          "custom-anthropic/MiniMax-M2.7"
        ]
      },
      "models": {
        "sub2api/gpt-5.4": {},
        "sub2api/gpt-5.4-mini": {},
        "zai/glm-5.1": {},
        "zai/glm-5-turbo": {},
        "zai/glm-4.7": {},
        "minimax/MiniMax-M2.7": {},
        "minimax/MiniMax-M2.5-highspeed": {},
        "minimax/MiniMax-M2.5": {},
        "custom-anthropic/glm-5.1": {},
        "custom-anthropic/glm-5-turbo": {},
        "custom-anthropic/MiniMax-M2.5": {},
        "custom-anthropic/MiniMax-M2.5-highspeed": {},
        "custom-anthropic/MiniMax-M2.7": {},
        "custom-openai/glm-5.1": {}
      },
      "workspace": "/root/.openclaw/workspace",
      "heartbeat": {
        "every": "30m",
        "target": "last",
        "directPolicy": "allow",
        "activeHours": {
          "start": "08:00",
          "end": "23:00",
          "timezone": "Asia/Shanghai"
        }
      },
      "compaction": {
        "mode": "safeguard",
        "reserveTokensFloor": 500000
      }
    }
  },
  "tools": {
    "profile": "full",
    "exec": {
      "host": "gateway",
      "security": "full",
      "ask": "off"
    }
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "cron": {
    "enabled": true
  },
  "session": {
    "dmScope": "per-channel-peer"
  },
  "channels": {
    "telegram": {
      "enabled": true,
      "dmPolicy": "pairing",
      "botToken": "xxx",
      "groups": {
        "*": {
          "requireMention": true
        }
      },
      "groupPolicy": "open",
      "streaming": {
        "mode": "partial"
      }
    }
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "bind": "loopback",
    "controlUi": {
      "allowInsecureAuth": false
    },
    "auth": {
      "mode": "token",
      "token": "xxx"
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "nodes": {
      "denyCommands": [
        "camera.snap",
        "camera.clip",
        "screen.record",
        "contacts.add",
        "calendar.add",
        "reminders.add",
        "sms.send"
      ]
    }
  },
  "plugins": {
    "allow": [
      "minimax",
      "zai",
      "telegram",
      "memory-core",
      "openviking"
    ],
    "slots": {
      "contextEngine": "openviking"
    },
    "entries": {
      "minimax": {
        "enabled": true
      },
      "zai": {
        "enabled": true
      },
      "openviking": {
        "enabled": true,
        "config": {
          "mode": "local",
          "configPath": "/root/.openviking/ov.conf",
          "port": 1933
        }
      }
    }
  }
}

你有没有尝试一下 /think

直接 /think high


如果你在TG的话

输入/think

这个好像确实可以,感谢感谢,谢谢佬~ :folded_hands:

请问一下佬,openclaw里可以设置为xhigh吗?high就是最高的?
https://linux.do/t/topic/1960252/35

这我也不是很清楚,我一般用CPA


不过你可以看看这篇帖子,可能有帮助