Skip to main content

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 มี Plugin ผู้ให้บริการ StepFun ที่รวมมาให้ พร้อม provider id สองรายการ:
  • stepfun สำหรับ endpoint มาตรฐาน
  • stepfun-plan สำหรับ endpoint Step Plan
Standard และ Step Plan เป็น ผู้ให้บริการแยกกัน โดยมี endpoint และคำนำหน้า model ref ต่างกัน (stepfun/... เทียบกับ stepfun-plan/...) ใช้คีย์จีนกับ endpoint .com และใช้คีย์โกลบอลกับ endpoint .ai

ภาพรวมภูมิภาคและ endpoint

Endpointจีน (.com)โกลบอล (.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: STEPFUN_API_KEY

แค็ตตาล็อกในตัว

Standard (stepfun):
Model refContextเอาต์พุตสูงสุดหมายเหตุ
stepfun/step-3.5-flash262,14465,536โมเดลมาตรฐานเริ่มต้น
Step Plan (stepfun-plan):
Model refContextเอาต์พุตสูงสุดหมายเหตุ
stepfun-plan/step-3.5-flash262,14465,536โมเดล Step Plan เริ่มต้น
stepfun-plan/step-3.5-flash-2603262,14465,536โมเดล Step Plan เพิ่มเติม

เริ่มต้นใช้งาน

เลือกพื้นผิวผู้ให้บริการของคุณและทำตามขั้นตอนการตั้งค่า
เหมาะที่สุดสำหรับ: การใช้งานทั่วไปผ่าน endpoint StepFun มาตรฐาน
1

Choose your endpoint region

ตัวเลือก authEndpointภูมิภาค
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1นานาชาติ
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1จีน
2

Run onboarding

openclaw onboard --auth-choice stepfun-standard-api-key-intl
หรือสำหรับ 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

  • โมเดลเริ่มต้น: stepfun/step-3.5-flash

การกำหนดค่าขั้นสูง

{
  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,
          },
        ],
      },
    },
  },
}
  • ผู้ให้บริการนี้รวมมากับ OpenClaw จึงไม่มีขั้นตอนติดตั้ง Plugin แยกต่างหาก
  • ขณะนี้ step-3.5-flash-2603 เปิดให้ใช้งานเฉพาะบน stepfun-plan
  • โฟลว์ auth เดียวจะเขียนโปรไฟล์ที่ตรงกับภูมิภาคสำหรับทั้ง stepfun และ stepfun-plan ดังนั้นจึงค้นพบทั้งสองพื้นผิวร่วมกันได้
  • ใช้ openclaw models list และ openclaw models set <provider/model> เพื่อตรวจสอบหรือสลับโมเดล
สำหรับภาพรวมผู้ให้บริการที่กว้างขึ้น โปรดดู ผู้ให้บริการโมเดล

ที่เกี่ยวข้อง

Model selection

ภาพรวมของผู้ให้บริการทั้งหมด, model refs และพฤติกรรม failover

Configuration reference

schema การกำหนดค่าเต็มสำหรับผู้ให้บริการ โมเดล และ plugins

Model selection

วิธีเลือกและกำหนดค่าโมเดล

StepFun Platform

การจัดการคีย์ API ของ StepFun และเอกสารประกอบ