Providers

StepFun

OpenClaw bao gồm một Plugin nhà cung cấp StepFun được tích hợp sẵn với hai id nhà cung cấp:

  • stepfun cho endpoint tiêu chuẩn
  • stepfun-plan cho endpoint Step Plan

Tổng quan về khu vực và endpoint

Endpoint 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

Catalog 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 Model 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 Model Step Plan mặc định
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Model 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.

Tiêu chuẩn

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

  • Chọn khu vực endpoint của bạn

    Lựa chọn xác thực Endpoint 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
  • Chạy onboarding

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

    Hoặc cho endpoint Trung Quốc:

    openclaw onboard --auth-choice stepfun-standard-api-key-cn
    
  • Phương án không tương tác

    openclaw onboard --auth-choice stepfun-standard-api-key-intl \
      --stepfun-api-key "$STEPFUN_API_KEY"
    
  • Xác minh model có sẵn

    openclaw models list --provider stepfun
    
  • Model ref

    • Model mặc định: stepfun/step-3.5-flash

    Step Plan

    Phù hợp nhất cho: endpoint suy luận Step Plan.

  • Chọn khu vực endpoint của bạn

    Lựa chọn xác thực Endpoint 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
  • Chạy onboarding

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

    Hoặc cho endpoint Trung Quốc:

    openclaw onboard --auth-choice stepfun-plan-api-key-cn
    
  • Phương án không tương tác

    openclaw onboard --auth-choice stepfun-plan-api-key-intl \
      --stepfun-api-key "$STEPFUN_API_KEY"
    
  • Xác minh model có sẵn

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

    • Model mặc định: stepfun-plan/step-3.5-flash
    • Model thay thế: stepfun-plan/step-3.5-flash-2603

    Cấu hình nâng cao

    Cấu hình đầy đủ: Nhà cung cấp Standard
    {
      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,
              },
            ],
          },
        },
      },
    }
    
    Cấu hình đầy đủ: Nhà cung cấp 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,
              },
            ],
          },
        },
      },
    }
    
    Ghi chú
    • Nhà cung cấp này được tích hợp sẵn với OpenClaw, nên không có bước cài đặt Plugin riêng.
    • step-3.5-flash-2603 hiện chỉ được cung cấp 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 model.

    Liên quan