StepFun は、2つのプロバイダー ID を持つ外部公式 Plugin(@openclaw/stepfun-provider)として提供されます:
- 標準エンドポイント用の
stepfun
- Step Plan エンドポイント用の
stepfun-plan
標準と Step Plan は、エンドポイントとモデル参照プレフィックス(stepfun/... と stepfun-plan/...)が異なる別々のプロバイダーです。.com エンドポイントには中国キーを、.ai エンドポイントにはグローバルキーを使用してください。
Plugin をインストール
openclaw plugins install @openclaw/stepfun-provider
openclaw gateway restart
リージョンとエンドポイントの概要
| エンドポイント | 中国(.com) | グローバル(.ai) |
|---|
| 標準 | 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 |
認証環境変数: STEPFUN_API_KEY
組み込みカタログ
標準(stepfun):
| モデル参照 | コンテキスト | 最大出力 | 備考 |
|---|
stepfun/step-3.5-flash | 262,144 | 65,536 | デフォルトの標準モデル |
Step Plan(stepfun-plan):
| モデル参照 | コンテキスト | 最大出力 | 備考 |
|---|
stepfun-plan/step-3.5-flash | 262,144 | 65,536 | デフォルトの Step Plan モデル |
stepfun-plan/step-3.5-flash-2603 | 262,144 | 65,536 | 追加の Step Plan モデル |
はじめに
標準の StepFun エンドポイント経由の汎用用途に最適です。エンドポイントのリージョンを選択
| 認証の選択 | エンドポイント | リージョン |
|---|
stepfun-standard-api-key-intl | https://api.stepfun.ai/v1 | 国際 |
stepfun-standard-api-key-cn | https://api.stepfun.com/v1 | 中国 |
オンボーディングを実行
openclaw onboard --auth-choice stepfun-standard-api-key-intl
中国エンドポイント:openclaw onboard --auth-choice stepfun-standard-api-key-cn
非対話型の代替手段
openclaw onboard --auth-choice stepfun-standard-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
モデルが利用可能か確認
openclaw models list --provider stepfun
デフォルトモデル: stepfun/step-3.5-flash Step Plan 推論エンドポイントに最適です。エンドポイントのリージョンを選択
| 認証の選択 | エンドポイント | リージョン |
|---|
stepfun-plan-api-key-intl | https://api.stepfun.ai/step_plan/v1 | 国際 |
stepfun-plan-api-key-cn | https://api.stepfun.com/step_plan/v1 | 中国 |
オンボーディングを実行
openclaw onboard --auth-choice stepfun-plan-api-key-intl
中国エンドポイント:openclaw onboard --auth-choice stepfun-plan-api-key-cn
非対話型の代替手段
openclaw onboard --auth-choice stepfun-plan-api-key-intl \
--stepfun-api-key "$STEPFUN_API_KEY"
モデルが利用可能か確認
openclaw models list --provider stepfun-plan
デフォルトモデル: stepfun-plan/step-3.5-flash
代替モデル: stepfun-plan/step-3.5-flash-2603
単一の認証フローで、stepfun と stepfun-plan の両方に対してリージョンが一致したプロファイルが書き込まれるため、1回のオンボーディング実行後に両方のサーフェスがまとめて検出されます。
高度な設定
{
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,
},
],
},
},
},
}
step-3.5-flash-2603 は現在 stepfun-plan でのみ公開されています。
- モデルを確認または切り替えるには、
openclaw models list と openclaw models set <provider/model> を使用してください。
モデルプロバイダー
すべてのプロバイダー、モデル参照、フェイルオーバー動作の概要。
設定リファレンス
プロバイダー、モデル、Plugin の完全な設定スキーマ。
StepFun Platform
StepFun API キー管理とドキュメント。