メインコンテンツへスキップ

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 には、2 つのプロバイダー ID を持つ StepFun プロバイダー Plugin がバンドルされています。
  • 標準エンドポイント用の stepfun
  • Step Plan エンドポイント用の stepfun-plan
標準と Step Plan は、エンドポイントとモデル参照プレフィックス(stepfun/...stepfun-plan/...)が異なる別々のプロバイダーです。.com エンドポイントでは中国キーを使い、.ai エンドポイントではグローバルキーを使ってください。

リージョンとエンドポイントの概要

エンドポイント中国(.comグローバル(.ai
標準https://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
認証環境変数: STEPFUN_API_KEY

組み込みカタログ

標準(stepfun):
モデル参照コンテキスト最大出力備考
stepfun/step-3.5-flash262,14465,536デフォルトの標準モデル
Step Plan(stepfun-plan):
モデル参照コンテキスト最大出力備考
stepfun-plan/step-3.5-flash262,14465,536デフォルトの Step Plan モデル
stepfun-plan/step-3.5-flash-2603262,14465,536追加の Step Plan モデル

はじめに

プロバイダーサーフェスを選択し、セットアップ手順に従います。
最適な用途: 標準 StepFun エンドポイントを介した汎用利用。
1

エンドポイントリージョンを選択する

認証選択エンドポイントリージョン
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1国際
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1中国
2

オンボーディングを実行する

openclaw onboard --auth-choice stepfun-standard-api-key-intl
または中国エンドポイントの場合:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

非対話型の代替手段

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

モデルが利用可能であることを確認する

openclaw models list --provider stepfun

モデル参照

  • デフォルトモデル: 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 でのみ公開されています。
  • 単一の認証フローが stepfunstepfun-plan の両方にリージョン一致のプロファイルを書き込むため、両方のサーフェスをまとめて検出できます。
  • モデルを確認または切り替えるには、openclaw models listopenclaw models set <provider/model> を使います。
より広範なプロバイダー概要については、モデルプロバイダーを参照してください。

関連

モデル選択

すべてのプロバイダー、モデル参照、フェイルオーバー動作の概要。

設定リファレンス

プロバイダー、モデル、plugins の完全な設定スキーマ。

モデル選択

モデルを選択して設定する方法。

StepFun プラットフォーム

StepFun API キー管理とドキュメント。