概览

模型提供商快速开始

OpenClaw 可以使用许多 LLM 提供商。选择一个、完成身份验证,然后将默认 模型设置为 provider/model

快速开始(两步)

  1. 通过提供商进行身份验证(通常使用 openclaw onboard)。
  2. 设置默认模型:
{
  agents: { defaults: { model: { primary: "anthropic/claude-opus-4-6" } } },
}

支持的提供商(入门集合)

其他内置提供商变体

  • anthropic-vertex - 当 Vertex 凭证可用时,隐式支持 Google Vertex 上的 Anthropic;没有单独的新手引导身份验证选项
  • 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 等)和高级配置, 请参阅模型提供商

相关