Naar hoofdinhoud gaan
De StepFun-provider-Plugin ondersteunt twee provider-id’s:
  • stepfun voor het standaardeindpunt
  • stepfun-plan voor het Step Plan-eindpunt
Standaard en Step Plan zijn afzonderlijke providers met verschillende eindpunten en modelref-voorvoegsels (stepfun/... tegenover stepfun-plan/...). Gebruik een China-sleutel met de .com-eindpunten en een globale sleutel met de .ai-eindpunten.

Plugin installeren

Installeer de officiële Plugin en start daarna Gateway opnieuw:
openclaw plugins install @openclaw/stepfun-provider
openclaw gateway restart

Overzicht van regio’s en eindpunten

EindpuntChina (.com)Globaal (.ai)
Standaardhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
Auth-env-var: STEPFUN_API_KEY

Ingebouwde catalogus

Standaard (stepfun):
ModelrefContextMax. uitvoerOpmerkingen
stepfun/step-3.5-flash262,14465,536Standaardmodel
Step Plan (stepfun-plan):
ModelrefContextMax. uitvoerOpmerkingen
stepfun-plan/step-3.5-flash262,14465,536Standaard Step Plan-model
stepfun-plan/step-3.5-flash-2603262,14465,536Aanvullend Step Plan-model

Aan de slag

Kies je provider-oppervlak en volg de installatiestappen.
Het beste voor: algemeen gebruik via het standaard StepFun-eindpunt.
1

Kies je eindpuntregio

Auth-keuzeEindpuntRegio
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1Internationaal
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1China
2

Onboarding uitvoeren

openclaw onboard --auth-choice stepfun-standard-api-key-intl
Of voor het China-eindpunt:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

Niet-interactief alternatief

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

Controleren of modellen beschikbaar zijn

openclaw models list --provider stepfun

Modelrefs

  • Standaardmodel: stepfun/step-3.5-flash

Geavanceerde configuratie

{
  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,
          },
        ],
      },
    },
  },
}
  • De provider is een officieel extern pakket; installeer het vóór de installatie.
  • step-3.5-flash-2603 wordt momenteel alleen beschikbaar gemaakt op stepfun-plan.
  • Eén auth-flow schrijft regio-gematchte profielen voor zowel stepfun als stepfun-plan, zodat beide oppervlakken samen kunnen worden ontdekt.
  • Gebruik openclaw models list en openclaw models set <provider/model> om modellen te inspecteren of te wisselen.
Zie Modelproviders voor het bredere provideroverzicht.

Gerelateerd

Modelselectie

Overzicht van alle providers, modelrefs en failover-gedrag.

Configuratiereferentie

Volledig configuratieschema voor providers, modellen en plugins.

Modelselectie

Modellen kiezen en configureren.

StepFun-platform

StepFun API-sleutelbeheer en documentatie.