Zum Hauptinhalt springen

StepFun

OpenClaw enthält ein gebündeltes StepFun-Provider-Plugin mit zwei Provider-IDs:
  • stepfun für den Standard-Endpunkt
  • stepfun-plan für den Step-Plan-Endpunkt
Standard und Step Plan sind getrennte Provider mit unterschiedlichen Endpunkten und Modell-Ref-Präfixen (stepfun/... vs. stepfun-plan/...). Verwenden Sie für die .com-Endpunkte einen China-Schlüssel und für die .ai-Endpunkte einen globalen Schlüssel.

Überblick über Regionen und Endpunkte

EndpunktChina (.com)Global (.ai)
Standardhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
Auth-Umgebungsvariable: STEPFUN_API_KEY

Integrierte Kataloge

Standard (stepfun):
Modell-RefKontextMax. AusgabeHinweise
stepfun/step-3.5-flash262,14465,536Standard-Standardmodell
Step Plan (stepfun-plan):
Modell-RefKontextMax. AusgabeHinweise
stepfun-plan/step-3.5-flash262,14465,536Standard-Step-Plan-Modell
stepfun-plan/step-3.5-flash-2603262,14465,536Zusätzliches Step-Plan-Modell

Erste Schritte

Wählen Sie Ihre Provider-Oberfläche und folgen Sie den Einrichtungsschritten.
Am besten für: allgemeine Nutzung über den Standard-Endpunkt von StepFun.
1

Region des Endpunkts auswählen

Auth-AuswahlEndpunktRegion
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1International
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1China
2

Onboarding ausführen

openclaw onboard --auth-choice stepfun-standard-api-key-intl
Oder für den China-Endpunkt:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

Nicht interaktive Alternative

openclaw onboard --auth-choice stepfun-standard-api-key-intl \
  --stepfun-api-key "$STEPFUN_API_KEY"
4

Verfügbarkeit der Modelle prüfen

openclaw models list --provider stepfun

Modell-Refs

  • Standardmodell: stepfun/step-3.5-flash

Erweitert

{
  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,
          },
        ],
      },
    },
  },
}
{
  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,
          },
        ],
      },
    },
  },
}
  • Der Provider ist in OpenClaw gebündelt, daher ist kein separater Schritt zur Plugin-Installation erforderlich.
  • step-3.5-flash-2603 ist derzeit nur unter stepfun-plan verfügbar.
  • Ein einzelner Auth-Flow schreibt regionsbezogen passende Profile für sowohl stepfun als auch stepfun-plan, sodass beide Oberflächen gemeinsam erkannt werden können.
  • Verwenden Sie openclaw models list und openclaw models set <provider/model>, um Modelle zu prüfen oder zu wechseln.
Einen umfassenderen Überblick über Provider finden Sie unter Modellanbieter.

Verwandt

Modellanbieter

Überblick über alle Provider, Modell-Refs und das Failover-Verhalten.

Konfigurationsreferenz

Vollständiges Konfigurationsschema für Provider, Modelle und Plugins.

Modellauswahl

So wählen und konfigurieren Sie Modelle.

StepFun Platform

Verwaltung von API-Schlüsseln und Dokumentation für StepFun.