StepFun
StepFun
Section titled “StepFun”OpenClaw 包含一个捆绑的 StepFun 提供商插件,具有两个提供商 ID:
stepfun用于标准端点stepfun-plan用于 Step Plan 端点
内置目录目前因界面而异:
- 标准版:
step-3.5-flash - Step Plan:
step-3.5-flash,step-3.5-flash-2603
区域和端点概述
Section titled “区域和端点概述”- 中国标准端点:
https://api.stepfun.com/v1 - 全球标准端点:
https://api.stepfun.ai/v1 - 中国 Step Plan 端点:
https://api.stepfun.com/step_plan/v1 - 全球 Step Plan 端点:
https://api.stepfun.ai/step_plan/v1 - Auth 环境变量:
STEPFUN_API_KEY
请将中国密钥用于 .com 端点,将全球密钥用于 .ai
端点。
CLI 设置
Section titled “CLI 设置”交互式设置:
openclaw onboard选择以下身份验证选项之一:
stepfun-standard-api-key-cnstepfun-standard-api-key-intlstepfun-plan-api-key-cnstepfun-plan-api-key-intl
非交互式示例:
openclaw onboard --auth-choice stepfun-standard-api-key-intl --stepfun-api-key "$STEPFUN_API_KEY"openclaw onboard --auth-choice stepfun-plan-api-key-intl --stepfun-api-key "$STEPFUN_API_KEY"- 标准默认模型:
stepfun/step-3.5-flash - Step Plan 默认模型:
stepfun-plan/step-3.5-flash - Step Plan 备选模型:
stepfun-plan/step-3.5-flash-2603
标准版 (stepfun):
| 模型参考 | 上下文 | 最大输出 | 备注 |
|---|---|---|---|
stepfun/step-3.5-flash | 262,144 | 65,536 | 默认标准模型 |
Step Plan (stepfun-plan):
| 模型参考 | 上下文 | 最大输出 | 备注 |
|---|---|---|---|
stepfun-plan/step-3.5-flash | 262,144 | 65,536 | 默认 Step Plan 模型 |
stepfun-plan/step-3.5-flash-2603 | 262,144 | 65,536 | 额外的 Step Plan 模型 |
标准提供商:
{ env: { STEPFUN_API_KEY: "your-key" }, agents: { defaults: { model: { primary: "stepfun/step-3.5-flash" } } }, models: { mode: "merge", providers: { stepfun: { baseUrl: "https://api.stepfun.ai/v1", api: "openai-completions", apiKey: "${STEPFUN_API_KEY}", models: [ { id: "step-3.5-flash", name: "Step 3.5 Flash", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 65536, }, ], }, }, },}Step Plan 提供商:
{ env: { STEPFUN_API_KEY: "your-key" }, agents: { defaults: { model: { primary: "stepfun-plan/step-3.5-flash" } } }, models: { mode: "merge", providers: { "stepfun-plan": { baseUrl: "https://api.stepfun.ai/step_plan/v1", api: "openai-completions", apiKey: "${STEPFUN_API_KEY}", models: [ { id: "step-3.5-flash", name: "Step 3.5 Flash", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 65536, }, { id: "step-3.5-flash-2603", name: "Step 3.5 Flash 2603", reasoning: true, input: ["text"], cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 262144, maxTokens: 65536, }, ], }, }, },}- 该提供商与 OpenClaw 捆绑在一起,因此没有单独的插件安装步骤。
step-3.5-flash-2603目前仅在stepfun-plan上可用。- 单一的身份验证流程会为
stepfun和stepfun-plan写入区域匹配的配置文件,因此可以同时发现这两个表面。 - 使用
openclaw models list和openclaw models set <provider/model>检查或切换模型。 - 有关更广泛的提供商概述,请参阅 Model providers。