Providers

StepFun

StepFun wird als externes offizielles Plugin (@openclaw/stepfun-provider) mit zwei Provider-IDs bereitgestellt:

  • stepfun für den Standard-Endpunkt
  • stepfun-plan für den Step-Plan-Endpunkt

Plugin installieren

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

Übersicht über Regionen und Endpunkte

Endpunkt China (.com) Global (.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

Umgebungsvariable für die Authentifizierung: STEPFUN_API_KEY

Integrierter Katalog

Standard (stepfun):

Modellreferenz Kontext Max. Ausgabe Hinweise
stepfun/step-3.5-flash 262,144 65,536 Standardmodell
stepfun/step-3.7-flash 262,144 262,144 Unterstützung für multimodale Bildeingaben

Step Plan (stepfun-plan):

Modellreferenz Kontext Max. Ausgabe Hinweise
stepfun-plan/step-3.5-flash 262,144 65,536 Standardmodell für Step Plan
stepfun-plan/step-3.7-flash 262,144 262,144 Unterstützung für multimodale Bildeingaben
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Zusätzliches Step-Plan-Modell

Erste Schritte

Standard

Am besten für allgemeine Anwendungen über den Standard-Endpunkt von StepFun geeignet.

  • Endpunktregion auswählen

    Authentifizierungsoption Endpunkt Region
    stepfun-standard-api-key-intl https://api.stepfun.ai/v1 International
    stepfun-standard-api-key-cn https://api.stepfun.com/v1 China
  • Onboarding ausführen

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

    China-Endpunkt:

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-cn
  • Nicht interaktive Alternative

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • Verfügbarkeit der Modelle überprüfen

    bash
    openclaw models list --provider stepfun
  • Standardmodell: stepfun/step-3.5-flash Alternatives Modell: stepfun/step-3.7-flash

    Step Plan

    Am besten für den Reasoning-Endpunkt von Step Plan geeignet.

  • Endpunktregion auswählen

    Authentifizierungsoption Endpunkt Region
    stepfun-plan-api-key-intl https://api.stepfun.ai/step_plan/v1 International
    stepfun-plan-api-key-cn https://api.stepfun.com/step_plan/v1 China
  • Onboarding ausführen

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

    China-Endpunkt:

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-cn
  • Nicht interaktive Alternative

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • Verfügbarkeit der Modelle überprüfen

    bash
    openclaw models list --provider stepfun-plan
  • Standardmodell: stepfun-plan/step-3.5-flash Alternative Modelle: stepfun-plan/step-3.7-flash, stepfun-plan/step-3.5-flash-2603

    Ein einzelner Authentifizierungsablauf schreibt regionsspezifische Profile für sowohl stepfun als auch stepfun-plan, sodass beide Oberflächen nach einem einzigen Onboarding-Durchlauf gemeinsam erkannt werden.

    Erweiterte Konfiguration

    Vollständige Konfiguration: 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,          },          {            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,          },        ],      },    },  },}
    Vollständige Konfiguration: 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,          },          {            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,          },        ],      },    },  },}
    Hinweise
    • step-3.7-flash akzeptiert über OpenClaw Text- und Bildeingaben. Die API von StepFun unterstützt außerdem Video, das in OpenClaw noch keine Modelleingabemodalität ist.
    • Step 3.7 unterstützt den Reasoning-Aufwand low, medium und high. Da das Modell keinen Modus ohne Reasoning besitzt, wird /think off auf low abgebildet.
    • step-3.5-flash-2603 ist derzeit nur auf stepfun-plan verfügbar.
    • Verwenden Sie openclaw models list und openclaw models set <provider/model>, um Modelle zu prüfen oder zu wechseln.

    Verwandte Themen

    Was this useful?
    On this page

    On this page