Providers

StepFun

Plugin dostawcy StepFun obsługuje dwa identyfikatory dostawcy:

  • stepfun dla standardowego punktu końcowego
  • stepfun-plan dla punktu końcowego Step Plan

Zainstaluj Plugin

Zainstaluj oficjalny Plugin, a następnie uruchom ponownie Gateway:

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

Omówienie regionów i punktów końcowych

Punkt końcowy Chiny (.com) Globalny (.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

Zmienna środowiskowa uwierzytelniania: STEPFUN_API_KEY

Wbudowany katalog

Standardowy (stepfun):

Referencja modelu Kontekst Maks. dane wyjściowe Uwagi
stepfun/step-3.5-flash 262,144 65,536 Domyślny model standardowy

Step Plan (stepfun-plan):

Referencja modelu Kontekst Maks. dane wyjściowe Uwagi
stepfun-plan/step-3.5-flash 262,144 65,536 Domyślny model Step Plan
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Dodatkowy model Step Plan

Pierwsze kroki

Wybierz powierzchnię dostawcy i wykonaj kroki konfiguracji.

Standard

Najlepsze dla: zastosowań ogólnych przez standardowy punkt końcowy StepFun.

  • Choose your endpoint region

    Wybór uwierzytelniania Punkt końcowy Region
    stepfun-standard-api-key-intl https://api.stepfun.ai/v1 Międzynarodowy
    stepfun-standard-api-key-cn https://api.stepfun.com/v1 Chiny
  • Run onboarding

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

    Lub dla chińskiego punktu końcowego:

    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
  • Referencje modeli

    • Domyślny model: stepfun/step-3.5-flash

    Step Plan

    Najlepsze dla: punktu końcowego rozumowania Step Plan.

  • Choose your endpoint region

    Wybór uwierzytelniania Punkt końcowy Region
    stepfun-plan-api-key-intl https://api.stepfun.ai/step_plan/v1 Międzynarodowy
    stepfun-plan-api-key-cn https://api.stepfun.com/step_plan/v1 Chiny
  • Run onboarding

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

    Lub dla chińskiego punktu końcowego:

    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
  • Referencje modeli

    • Domyślny model: stepfun-plan/step-3.5-flash
    • Alternatywny model: stepfun-plan/step-3.5-flash-2603

    Konfiguracja zaawansowana

    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
    • Dostawca jest oficjalnym pakietem zewnętrznym; zainstaluj go przed konfiguracją.
    • step-3.5-flash-2603 jest obecnie udostępniany tylko w stepfun-plan.
    • Jeden przepływ uwierzytelniania zapisuje profile dopasowane do regionu zarówno dla stepfun, jak i stepfun-plan, więc obie powierzchnie można wykrywać razem.
    • Użyj openclaw models list i openclaw models set <provider/model>, aby sprawdzić lub przełączyć modele.

    Powiązane

    Was this useful?
    On this page

    On this page