Providers

StepFun

Plugin nhà cung cấp StepFun hỗ trợ hai id nhà cung cấp:

  • stepfun cho điểm cuối tiêu chuẩn
  • stepfun-plan cho điểm cuối Step Plan

Cài đặt Plugin

Cài đặt Plugin chính thức, rồi khởi động lại Gateway:

bash
openclaw plugins install @openclaw/stepfun-provideropenclaw gateway restart

Tổng quan về khu vực và điểm cuối

Điểm cuối Trung Quốc (.com) Toàn cầu (.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

Biến môi trường xác thực: STEPFUN_API_KEY

Danh mục tích hợp sẵn

Standard (stepfun):

Model ref Ngữ cảnh Đầu ra tối đa Ghi chú
stepfun/step-3.5-flash 262,144 65,536 Mô hình tiêu chuẩn mặc định

Step Plan (stepfun-plan):

Model ref Ngữ cảnh Đầu ra tối đa Ghi chú
stepfun-plan/step-3.5-flash 262,144 65,536 Mô hình Step Plan mặc định
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Mô hình Step Plan bổ sung

Bắt đầu

Chọn bề mặt nhà cung cấp của bạn và làm theo các bước thiết lập.

Standard

Phù hợp nhất cho: sử dụng mục đích chung thông qua điểm cuối StepFun tiêu chuẩn.

  • Choose your endpoint region

    Lựa chọn xác thực Điểm cuối Khu vực
    stepfun-standard-api-key-intl https://api.stepfun.ai/v1 Quốc tế
    stepfun-standard-api-key-cn https://api.stepfun.com/v1 Trung Quốc
  • Run onboarding

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-intl

    Hoặc cho điểm cuối Trung Quốc:

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-cn
  • Non-interactive alternative

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • Verify models are available

    bash
    openclaw models list --provider stepfun
  • Model ref

    • Mô hình mặc định: stepfun/step-3.5-flash

    Step Plan

    Phù hợp nhất cho: điểm cuối suy luận Step Plan.

  • Choose your endpoint region

    Lựa chọn xác thực Điểm cuối Khu vực
    stepfun-plan-api-key-intl https://api.stepfun.ai/step_plan/v1 Quốc tế
    stepfun-plan-api-key-cn https://api.stepfun.com/step_plan/v1 Trung Quốc
  • Run onboarding

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-intl

    Hoặc cho điểm cuối Trung Quốc:

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-cn
  • Non-interactive alternative

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • Verify models are available

    bash
    openclaw models list --provider stepfun-plan
  • Model ref

    • Mô hình mặc định: stepfun-plan/step-3.5-flash
    • Mô hình thay thế: stepfun-plan/step-3.5-flash-2603

    Cấu hình nâng cao

    Full config: Standard provider
    json5
    {  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,          },        ],      },    },  },}
    Full config: Step Plan provider
    json5
    {  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,          },        ],      },    },  },}
    Notes
    • Nhà cung cấp là một gói bên ngoài chính thức; hãy cài đặt trước khi thiết lập.
    • step-3.5-flash-2603 hiện chỉ được hiển thị trên stepfun-plan.
    • Một luồng xác thực duy nhất ghi các hồ sơ khớp khu vực cho cả stepfunstepfun-plan, nên có thể khám phá cả hai bề mặt cùng nhau.
    • Dùng openclaw models listopenclaw models set <provider/model> để kiểm tra hoặc chuyển đổi mô hình.

    Liên quan

    Was this useful?
    On this page

    On this page