Langsung ke konten utama

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 menyertakan Plugin penyedia StepFun bawaan dengan dua id penyedia:
  • stepfun untuk endpoint standar
  • stepfun-plan untuk endpoint Step Plan
Standar dan Step Plan adalah penyedia terpisah dengan endpoint dan prefiks ref model yang berbeda (stepfun/... vs stepfun-plan/...). Gunakan kunci China dengan endpoint .com dan kunci global dengan endpoint .ai.

Ringkasan region dan endpoint

EndpointChina (.com)Global (.ai)
Standarhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
Variabel env autentikasi: STEPFUN_API_KEY

Katalog bawaan

Standar (stepfun):
Ref modelKonteksOutput maksCatatan
stepfun/step-3.5-flash262,14465,536Model standar default
Step Plan (stepfun-plan):
Ref modelKonteksOutput maksCatatan
stepfun-plan/step-3.5-flash262,14465,536Model Step Plan default
stepfun-plan/step-3.5-flash-2603262,14465,536Model Step Plan tambahan

Mulai menggunakan

Pilih permukaan penyedia Anda dan ikuti langkah penyiapannya.
Paling cocok untuk: penggunaan umum melalui endpoint StepFun standar.
1

Pilih region endpoint Anda

Pilihan autentikasiEndpointRegion
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1Internasional
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1China
2

Jalankan onboarding

openclaw onboard --auth-choice stepfun-standard-api-key-intl
Atau untuk endpoint China:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

Alternatif noninteraktif

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

Verifikasi model tersedia

openclaw models list --provider stepfun

Ref model

  • Model default: stepfun/step-3.5-flash

Konfigurasi lanjutan

{
  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,
          },
        ],
      },
    },
  },
}
  • Penyedia ini dibundel dengan OpenClaw, jadi tidak ada langkah instalasi Plugin terpisah.
  • step-3.5-flash-2603 saat ini hanya diekspos di stepfun-plan.
  • Satu alur autentikasi menulis profil yang cocok dengan region untuk stepfun dan stepfun-plan, sehingga kedua permukaan dapat ditemukan bersama-sama.
  • Gunakan openclaw models list dan openclaw models set <provider/model> untuk memeriksa atau mengganti model.
Untuk ringkasan penyedia yang lebih luas, lihat Penyedia model.

Terkait

Pemilihan model

Ringkasan semua penyedia, ref model, dan perilaku failover.

Referensi konfigurasi

Skema konfigurasi lengkap untuk penyedia, model, dan plugins.

Pemilihan model

Cara memilih dan mengonfigurasi model.

Platform StepFun

Pengelolaan kunci API dan dokumentasi StepFun.