Documentation Index
Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
OpenClaw 包含一个内置的 StepFun 提供方插件,并提供两个 provider id:
stepfun 用于标准端点
stepfun-plan 用于 Step Plan 端点
标准版和 Step Plan 是独立的提供方,它们的端点和模型 ref 前缀不同(stepfun/... vs stepfun-plan/...)。.com 端点请使用中国密钥,.ai 端点请使用全球密钥。
区域与端点概览
| Endpoint | China (.com) | Global (.ai) |
|---|
| Standard | https://api.stepfun.com/v1 | https://api.stepfun.ai/v1 |
| Step Plan | https://api.stepfun.com/step_plan/v1 | https://api.stepfun.ai/step_plan/v1 |
认证环境变量:STEPFUN_API_KEY
内置目录
Standard (stepfun):
| Model ref | Context | Max output | Notes |
|---|
stepfun/step-3.5-flash | 262,144 | 65,536 | 默认标准模型 |
Step Plan (stepfun-plan):
| Model ref | Context | Max output | Notes |
|---|
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 模型 |
快速开始
选择你的提供方入口并按照设置步骤进行。
最适合: 通过标准 StepFun 端点进行通用用途。选择你的端点区域
| Auth choice | Endpoint | Region |
|---|
stepfun-standard-api-key-intl | https://api.stepfun.ai/v1 | International |
stepfun-standard-api-key-cn | https://api.stepfun.com/v1 | China |
运行初始化
openclaw onboard --auth-choice stepfun-standard-api-key-intl
或者对于中国端点:openclaw onboard --auth-choice stepfun-standard-api-key-cn
非交互式替代方案
openclaw onboard --auth-choice stepfun-standard-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
验证模型可用
openclaw models list --provider stepfun
模型 refs
- 默认模型:
stepfun/step-3.5-flash
最适合: Step Plan 推理端点。选择你的端点区域
| Auth choice | Endpoint | Region |
|---|
stepfun-plan-api-key-intl | https://api.stepfun.ai/step_plan/v1 | International |
stepfun-plan-api-key-cn | https://api.stepfun.com/step_plan/v1 | China |
运行初始化
openclaw onboard --auth-choice stepfun-plan-api-key-intl
或者对于中国端点:openclaw onboard --auth-choice stepfun-plan-api-key-cn
非交互式替代方案
openclaw onboard --auth-choice stepfun-plan-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
验证模型可用
openclaw models list --provider stepfun-plan
模型 refs
- 默认模型:
stepfun-plan/step-3.5-flash
- 备用模型:
stepfun-plan/step-3.5-flash-2603
高级配置
{
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,
},
],
},
},
},
}
{
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> 来查看或切换模型。
相关内容
模型选择
所有提供方、模型 refs 和故障转移行为的概览。
StepFun 平台
StepFun API 密钥管理和文档。