Skip to main content

Documentation Index

Fetch the complete documentation index at: https://openclaw.zhcndoc.com/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;无需单独的 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 等)和高级配置, 请参阅 模型提供商

相关内容