跳转到主要内容

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 可以使用许多 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 bridge;使用 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 等)和高级配置,请参阅 模型提供商

相关内容