Providers

StepFun

StepFun được phân phối dưới dạng plugin chính thức bên ngoài (@openclaw/stepfun-provider) với hai mã nhà cung cấp:

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

Cài đặt plugin

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)
Tiêu chuẩn 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

Tiêu chuẩn (stepfun):

Tham chiếu mô hình 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
stepfun/step-3.7-flash 262,144 262,144 Hỗ trợ đầu vào hình ảnh đa phương thức

Step Plan (stepfun-plan):

Tham chiếu mô hình 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.7-flash 262,144 262,144 Hỗ trợ đầu vào hình ảnh đa phương thức
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Mô hình Step Plan bổ sung

Bắt đầu

Standard

Phù hợp nhất cho mục đích sử dụng đa năng 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

    Đ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
  • Mô hình mặc định: stepfun/step-3.5-flash Mô hình thay thế: stepfun/step-3.7-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

    Đ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
  • Mô hình mặc định: stepfun-plan/step-3.5-flash Các mô hình thay thế: stepfun-plan/step-3.7-flash, stepfun-plan/step-3.5-flash-2603

    Một luồng xác thực duy nhất sẽ ghi các hồ sơ phù hợp với khu vực cho cả stepfunstepfun-plan, vì vậy cả hai bề mặt đều được phát hiện cùng nhau sau một lần chạy quy trình thiết lập ban đầu.

    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.7-flash",            name: "Step 3.7 Flash",            reasoning: true,            input: ["text", "image"],            thinkingLevelMap: { off: "low", minimal: "low", xhigh: "high", max: "high" },            cost: { input: 0.2, output: 1.15, cacheRead: 0.04, cacheWrite: 0 },            contextWindow: 262144,            maxTokens: 262144,            compat: {              supportsStore: false,              supportsDeveloperRole: false,              supportsUsageInStreaming: false,              supportsReasoningEffort: true,              supportsStrictMode: false,              supportedReasoningEfforts: ["low", "medium", "high"],              maxTokensField: "max_tokens",              reasoningEffortMap: {                off: "low",                none: "low",                minimal: "low",                low: "low",                medium: "medium",                high: "high",                xhigh: "high",                adaptive: "high",                max: "high",              },            },          },          {            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.7-flash",            name: "Step 3.7 Flash",            reasoning: true,            input: ["text", "image"],            thinkingLevelMap: { off: "low", minimal: "low", xhigh: "high", max: "high" },            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },            contextWindow: 262144,            maxTokens: 262144,            compat: {              supportsStore: false,              supportsDeveloperRole: false,              supportsUsageInStreaming: false,              supportsReasoningEffort: true,              supportsStrictMode: false,              supportedReasoningEfforts: ["low", "medium", "high"],              maxTokensField: "max_tokens",              reasoningEffortMap: {                off: "low",                none: "low",                minimal: "low",                low: "low",                medium: "medium",                high: "high",                xhigh: "high",                adaptive: "high",                max: "high",              },            },          },          {            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
    • step-3.7-flash chấp nhận đầu vào văn bản và hình ảnh thông qua OpenClaw. API của StepFun cũng hỗ trợ video, nhưng đây chưa phải là một phương thức đầu vào mô hình trong OpenClaw.
    • Step 3.7 hỗ trợ mức nỗ lực suy luận low, mediumhigh. Vì mô hình không có chế độ không suy luận, /think off được ánh xạ thành low.
    • step-3.5-flash-2603 hiện chỉ được cung cấp trên stepfun-plan.
    • Sử 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