Skip to main content

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 端点请使用全球密钥。

区域与端点概览

EndpointChina (.com)Global (.ai)
Standardhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
认证环境变量:STEPFUN_API_KEY

内置目录

Standard (stepfun):
Model refContextMax outputNotes
stepfun/step-3.5-flash262,14465,536默认标准模型
Step Plan (stepfun-plan):
Model refContextMax outputNotes
stepfun-plan/step-3.5-flash262,14465,536默认 Step Plan 模型
stepfun-plan/step-3.5-flash-2603262,14465,536额外的 Step Plan 模型

快速开始

选择你的提供方入口并按照设置步骤进行。
最适合: 通过标准 StepFun 端点进行通用用途。
1

选择你的端点区域

Auth choiceEndpointRegion
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1International
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1China
2

运行初始化

openclaw onboard --auth-choice stepfun-standard-api-key-intl
或者对于中国端点:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

非交互式替代方案

openclaw onboard --auth-choice stepfun-standard-api-key-intl \
  --stepfun-api-key "$STEPFUN_API_KEY"
4

验证模型可用

openclaw models list --provider stepfun

模型 refs

  • 默认模型:stepfun/step-3.5-flash

高级配置

{
  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 上开放。
  • 一次认证流程会为 stepfunstepfun-plan 写入区域匹配的配置文件,因此两个入口可以一起被发现。
  • 使用 openclaw models listopenclaw models set <provider/model> 来查看或切换模型。
如需更广泛的提供方概览,请参阅 模型提供方

相关内容

模型选择

所有提供方、模型 refs 和故障转移行为的概览。

配置参考

提供方、模型和插件的完整配置模式。

模型选择

如何选择和配置模型。

StepFun 平台

StepFun API 密钥管理和文档。