Naar hoofdinhoud gaan

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

OpenClaw bevat een gebundelde StepFun-provider-Plugin met twee provider-id’s:
  • stepfun voor het standaardendpoint
  • stepfun-plan voor het Step Plan-endpoint
Standard en Step Plan zijn afzonderlijke providers met verschillende endpoints en modelverwijzingsvoorvoegsels (stepfun/... versus stepfun-plan/...). Gebruik een China-sleutel met de .com-endpoints en een globale sleutel met de .ai-endpoints.

Overzicht van regio’s en endpoints

EndpointChina (.com)Globaal (.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-omgevingsvariabele: STEPFUN_API_KEY

Ingebouwde catalogus

Standard (stepfun):
ModelverwijzingContextMaximale uitvoerOpmerkingen
stepfun/step-3.5-flash262,14465,536Standaardmodel voor Standard
Step Plan (stepfun-plan):
ModelverwijzingContextMaximale uitvoerOpmerkingen
stepfun-plan/step-3.5-flash262,14465,536Standaardmodel voor Step Plan
stepfun-plan/step-3.5-flash-2603262,14465,536Extra model voor Step Plan

Aan de slag

Kies je provideroppervlak en volg de installatiestappen.
Meest geschikt voor: algemeen gebruik via het standaardendpoint van StepFun.
1

Kies je endpointregio

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

Voer onboarding uit

openclaw onboard --auth-choice stepfun-standard-api-key-intl
Of voor het China-endpoint:
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

Controleer of modellen beschikbaar zijn

openclaw models list --provider stepfun

Modelverwijzingen

  • 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 gebundeld met OpenClaw, dus er is geen afzonderlijke installatiestap voor de Plugin.
  • step-3.5-flash-2603 wordt momenteel alleen beschikbaar gemaakt op stepfun-plan.
  • Eén auth-flow schrijft regiogekoppelde 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, modelverwijzingen en failovergedrag.

Configuratiereferentie

Volledig configuratieschema voor providers, modellen en plugins.

Modelselectie

Modellen kiezen en configureren.

StepFun Platform

Beheer en documentatie voor StepFun API-sleutels.