跳轉到主要內容

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 可使用許多大型語言模型供應商。選擇一個供應商、完成驗證,然後將預設 模型設為 provider/model

快速開始(兩個步驟)

  1. 使用供應商完成驗證(通常透過 openclaw onboard)。
  2. 設定預設模型:
{
  agents: { defaults: { model: { primary: "anthropic/claude-opus-4-6" } } },
}

支援的供應商(入門集合)

其他內建供應商變體

  • anthropic-vertex - 當 Vertex 認證可用時,提供 Google Vertex 上的隱式 Anthropic 支援;沒有獨立的 onboarding 驗證選項
  • copilot-proxy - 本機 VS Code Copilot Proxy 橋接;使用 openclaw onboard --auth-choice copilot-proxy
  • google-gemini-cli - 非官方 Gemini CLI OAuth 流程;需要本機安裝 geminibrew install gemini-clinpm install -g @google/gemini-cli);預設模型 google-gemini-cli/gemini-3-flash-preview;使用 openclaw onboard --auth-choice google-gemini-cliopenclaw models auth login --provider google-gemini-cli --set-default
如需完整的供應商目錄(xAI、Groq、Mistral 等)和進階設定, 請參閱模型供應商

相關