Providers

StepFun

StepFun est fourni sous la forme d’un plugin officiel externe (@openclaw/stepfun-provider) avec deux identifiants de fournisseur :

  • stepfun pour le point de terminaison standard
  • stepfun-plan pour le point de terminaison Step Plan

Installer le plugin

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

Vue d’ensemble des régions et des points de terminaison

Point de terminaison Chine (.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

Variable d’environnement d’authentification : STEPFUN_API_KEY

Catalogue intégré

Standard (stepfun) :

Référence du modèle Contexte Sortie maximale Remarques
stepfun/step-3.5-flash 262,144 65,536 Modèle standard par défaut
stepfun/step-3.7-flash 262,144 262,144 Prise en charge des images en entrée

Step Plan (stepfun-plan) :

Référence du modèle Contexte Sortie maximale Remarques
stepfun-plan/step-3.5-flash 262,144 65,536 Modèle Step Plan par défaut
stepfun-plan/step-3.7-flash 262,144 262,144 Prise en charge des images en entrée
stepfun-plan/step-3.5-flash-2603 262,144 65,536 Modèle Step Plan supplémentaire

Prise en main

Standard

Idéal pour un usage général via le point de terminaison standard de StepFun.

  • Choose your endpoint region

    Choix d’authentification Point de terminaison Région
    stepfun-standard-api-key-intl https://api.stepfun.ai/v1 Internationale
    stepfun-standard-api-key-cn https://api.stepfun.com/v1 Chine
  • Run onboarding

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

    Point de terminaison chinois :

    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
  • Modèle par défaut : stepfun/step-3.5-flash Autre modèle : stepfun/step-3.7-flash

    Step Plan

    Idéal pour le point de terminaison de raisonnement Step Plan.

  • Choose your endpoint region

    Choix d’authentification Point de terminaison Région
    stepfun-plan-api-key-intl https://api.stepfun.ai/step_plan/v1 Internationale
    stepfun-plan-api-key-cn https://api.stepfun.com/step_plan/v1 Chine
  • Run onboarding

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

    Point de terminaison chinois :

    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
  • Modèle par défaut : stepfun-plan/step-3.5-flash Autres modèles : stepfun-plan/step-3.7-flash, stepfun-plan/step-3.5-flash-2603

    Un seul flux d’authentification crée des profils correspondant à la région pour stepfun et stepfun-plan. Les deux interfaces sont donc détectées ensemble après une seule exécution de l’intégration initiale.

    Configuration avancée

    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.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,            compat: {              supportsStore: false,              supportsDeveloperRole: false,              supportsUsageInStreaming: false,              supportsReasoningEffort: true,              supportsStrictMode: false,              supportedReasoningEfforts: ["low", "medium", "high"],              maxTokensField: "max_tokens",              reasoningEffortMap: {                off: "low",                none: "low",                minimal: "low",                low: "low",                medium: "medium",                high: "high",                xhigh: "high",                adaptive: "high",                max: "high",              },            },          },          {            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.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,            compat: {              supportsStore: false,              supportsDeveloperRole: false,              supportsUsageInStreaming: false,              supportsReasoningEffort: true,              supportsStrictMode: false,              supportedReasoningEfforts: ["low", "medium", "high"],              maxTokensField: "max_tokens",              reasoningEffortMap: {                off: "low",                none: "low",                minimal: "low",                low: "low",                medium: "medium",                high: "high",                xhigh: "high",                adaptive: "high",                max: "high",              },            },          },          {            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
    • step-3.7-flash accepte du texte et des images en entrée par l’intermédiaire d’OpenClaw. L’API de StepFun prend également en charge la vidéo, qui n’est pas encore une modalité d’entrée de modèle dans OpenClaw.
    • Step 3.7 prend en charge les niveaux d’effort de raisonnement low, medium et high. Comme le modèle ne dispose pas de mode sans raisonnement, /think off correspond à low.
    • step-3.5-flash-2603 est actuellement disponible uniquement sur stepfun-plan.
    • Utilisez openclaw models list et openclaw models set <provider/model> pour examiner les modèles ou en changer.

    Voir aussi

    Was this useful?
    On this page

    On this page