StepFun 在 OpenClaw 中分为两个 provider:stepfun(标准)和 stepfun-plan(Step Plan 推理端点)。两者端点不同,model ref 前缀不同,不可混用。

认证

STEPFUN_API_KEY

国内 key 配 .com 端点,国际 key 配 .ai 端点。

端点

Provider国内国际
stepfunhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
stepfun-planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1

内置模型

stepfun(标准)

模型 refContextMax Output说明
stepfun/step-3.5-flash262,14465,536默认模型

stepfun-plan(Step Plan)

模型 refContextMax Output说明
stepfun-plan/step-3.5-flash262,14465,536默认
stepfun-plan/step-3.5-flash-2603262,14465,536附加版本

快速配置

# 国际标准
openclaw onboard --auth-choice stepfun-standard-api-key-intl
 
# 国内标准
openclaw onboard --auth-choice stepfun-standard-api-key-cn
 
# Step Plan(国际)
openclaw onboard --auth-choice stepfun-plan-api-key-intl
{
  env: { STEPFUN_API_KEY: "your-key" },
  agents: {
    defaults: {
      model: { primary: "stepfun/step-3.5-flash" },
    },
  },
}

注意事项

  • 单次 onboard 会同时写入 stepfun 和 stepfun-plan 的区域匹配 profile
  • step-3.5-flash-2603 仅在 stepfun-plan 下可用

相关链接

  • model-providers — provider 规则与 model ref 格式
  • docs/gateway/configuration-reference — 完整配置参考