コマンド概要
openclaw models コマンドは OpenClaw 内のすべてのモデル設定を管理するために使用します。利用可能なモデルの確認、パフォーマンステスト、パラメータ設定、デフォルトモデルの変更が可能です。
モデル一覧の表示
openclaw models list
利用可能なモデルの確認
# 特定プロバイダーの確認
openclaw models available --provider openai
# すべてのプロバイダー
openclaw models available --all
モデル設定の追加
openclaw models add smart-model \
--provider openai \
--model gpt-4o \
--temperature 0.7 \
--max-tokens 4096
デフォルトモデルの設定
openclaw models default fast
モデルのテスト
# クイックテスト
openclaw models test main
# 詳細テスト
openclaw models test main --verbose
パフォーマンスベンチマーク
openclaw models benchmark main --rounds 10
比較テスト
openclaw models compare main fast --prompt "相対性理論を説明してください"
モデル費用の確認
openclaw models cost --period 7d
フェイルオーバー設定
openclaw models set-fallback main --fallback fast
openclaw models set-fallback fast --fallback local
まとめ
openclaw models はモデルのライフサイクル全体の管理機能を提供します。利用可能なモデルの発見、パラメータ設定、パフォーマンステストから費用監視まで、マルチモデル環境で最適な選択を行えるようサポートします。