Documentation Index
Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
Use this file to discover all available pages before exploring further.
インストール
インストール前に Node >= 22 であることを確認してください。
インストールコマンドを実行します。
npm install -g openclaw@latest
ターミナル設定
ターミナルを開き、以下のコマンドを実行して設定を開始します。
Yes を選択します。
QuickStart を選択します。
Skip for now を選択します。
All providers を選択します。
必要に応じてデフォルトモデルを選択してください。最初は Keep current を選択することができ、次の手順で設定ファイルから変更できます。
必要に応じて個人アカウントをリンクしてください。不要な場合は Skip for now を選択します。
スキルを設定するには Yes を選択します。
npm を選択します。
必要に応じてスキルを選択して設定します。
すべてのオプションで No を選択します。
Skip for now を選択します。
Hatch in UI を選択します。
AIHubMix の設定
方法 1:プラグインによるクイック設定(推奨)
AIHubMix auth プラグインをインストールし、Gateway を再起動します:
openclaw plugins install @akaknele/aihubmix-auth
openclaw gateway restart
auth コマンドを実行します。プロンプトが表示されたら AIHubMix の API キーを入力します。プラグインが自動的に利用可能なモデルを同期し、AIHubMix をデフォルトプロバイダーとして設定します:
openclaw models auth login --provider aihubmix --method api-key --set-default
プラグインはモデルを以下のグループに整理します:
- openai — OpenAI モデル
- anthropic — Anthropic モデル
- google — Google モデル
- other — その他のモデル
設定が完了したら、起動 セクションに進んで使用を開始してください。
方法 2:手動設定
~/.openclaw/openclaw.json ファイルを開き、以下の設定を追加します:
{
"models": {
"mode": "merge",
"providers": {
"aihubmix": {
"baseUrl": "http://aihubmix.com/v1",
"apiKey": "AIHUBMIX_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "claude-sonnet-4-5",
"name": "claude-sonnet-4-5",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 1000000,
"maxTokens": 64000
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "aihubmix/claude-sonnet-4-5"
},
"workspace": "your_workspace_path",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
}
}
テスト
チャットページで hello と入力します。返信があれば設定は成功です。
よくある質問
バージョンアップグレード
npm update -g openclaw-aihubmix
Gateway プロセスが使用中の場合
openclaw gateway stop
openclaw gateway
最終更新日:2026-06-01