मुख्य सामग्री पर जाएं
StepFun प्रदाता Plugin दो प्रदाता ids का समर्थन करता है:
  • मानक endpoint के लिए stepfun
  • Step Plan endpoint के लिए stepfun-plan
Standard और Step Plan अलग-अलग प्रदाता हैं, जिनके endpoints और model ref prefixes अलग हैं (stepfun/... बनाम stepfun-plan/...)। .com endpoints के साथ China key और .ai endpoints के साथ global key का उपयोग करें।

Plugin इंस्टॉल करें

आधिकारिक Plugin इंस्टॉल करें, फिर Gateway पुनः प्रारंभ करें:
openclaw plugins install @openclaw/stepfun-provider
openclaw gateway restart

क्षेत्र और endpoint का अवलोकन

EndpointChina (.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 env var: STEPFUN_API_KEY

अंतर्निहित catalog

Standard (stepfun):
Model refContextMax outputNotes
stepfun/step-3.5-flash262,14465,536डिफ़ॉल्ट मानक model
Step Plan (stepfun-plan):
Model refContextMax outputNotes
stepfun-plan/step-3.5-flash262,14465,536डिफ़ॉल्ट Step Plan model
stepfun-plan/step-3.5-flash-2603262,14465,536अतिरिक्त Step Plan model

शुरू करना

अपना प्रदाता surface चुनें और setup steps का पालन करें।
इसके लिए सर्वोत्तम: मानक StepFun endpoint के माध्यम से सामान्य-उद्देश्य उपयोग।
1

Choose your endpoint region

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

Run onboarding

openclaw onboard --auth-choice stepfun-standard-api-key-intl
या China endpoint के लिए:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

Non-interactive alternative

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

Verify models are available

openclaw models list --provider stepfun

Model refs

  • डिफ़ॉल्ट model: stepfun/step-3.5-flash

उन्नत configuration

{
  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,
          },
        ],
      },
    },
  },
}
  • प्रदाता एक आधिकारिक external package है; setup से पहले इसे इंस्टॉल करें।
  • step-3.5-flash-2603 वर्तमान में केवल stepfun-plan पर उपलब्ध है।
  • एक single auth flow stepfun और stepfun-plan दोनों के लिए region-matched profiles लिखता है, इसलिए दोनों surfaces को साथ में discover किया जा सकता है।
  • models का निरीक्षण करने या switch करने के लिए openclaw models list और openclaw models set <provider/model> का उपयोग करें।
व्यापक प्रदाता अवलोकन के लिए, Model प्रदाता देखें।

संबंधित

Model selection

सभी प्रदाताओं, model refs, और failover behavior का अवलोकन।

Configuration reference

प्रदाताओं, models, और plugins के लिए पूरा config schema।

Model selection

models कैसे चुनें और configure करें।

StepFun Platform

StepFun API key management और documentation।