StepFun 在 OpenClaw 中分为两个 provider:stepfun(标准)和 stepfun-plan(Step Plan 推理端点)。两者端点不同,model ref 前缀不同,不可混用。
认证
STEPFUN_API_KEY
国内 key 配 .com 端点,国际 key 配 .ai 端点。
端点
| Provider | 国内 | 国际 |
|---|
stepfun | https://api.stepfun.com/v1 | https://api.stepfun.ai/v1 |
stepfun-plan | https://api.stepfun.com/step_plan/v1 | https://api.stepfun.ai/step_plan/v1 |
内置模型
stepfun(标准)
| 模型 ref | Context | Max Output | 说明 |
|---|
stepfun/step-3.5-flash | 262,144 | 65,536 | 默认模型 |
stepfun-plan(Step Plan)
| 模型 ref | Context | Max Output | 说明 |
|---|
stepfun-plan/step-3.5-flash | 262,144 | 65,536 | 默认 |
stepfun-plan/step-3.5-flash-2603 | 262,144 | 65,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 — 完整配置参考