模型提供者快速入門
OpenClaw 可以使用許多 LLM 提供商。選擇一個,進行身份驗證,然後將預設模型設定為 provider/model。
快速入門(兩個步驟)
Section titled “快速入門(兩個步驟)”- 向提供商進行身份驗證(通常透過
openclaw onboard)。 - 設定預設模型:
{ agents: { defaults: { model: { primary: "anthropic/claude-opus-4-6" } } },}支援的提供商(入門組合)
Section titled “支援的提供商(入門組合)”- 阿里雲模型工作室
- Amazon Bedrock
- Anthropic (API + Claude CLI)
- BytePlus (國際版)
- Chutes
- ComfyUI
- Cloudflare AI Gateway
- DeepInfra
- fal
- Fireworks
- GLM 模型
- MiniMax
- Mistral
- Moonshot AI (Kimi + Kimi Coding)
- OpenAI (API + Codex)
- OpenCode (Zen + Go)
- OpenRouter
- Qianfan
- Qwen
- Runway
- StepFun
- Synthetic
- Vercel AI Gateway
- Venice (Venice AI)
- xAI
- Z.AI
其他提供者變體
Section titled “其他提供者變體”anthropic-vertex- 安裝@openclaw/anthropic-vertex-provider以在 Vertex 憑證可用時支援 Google Vertex 上的隱式 Anthropic;無需單獨的入門驗證選項copilot-proxy- 本機 VS Code Copilot Proxy 橋接器;使用openclaw onboard --auth-choice copilot-proxygoogle-gemini-cli- 非官方 Gemini CLI OAuth 流程;需要本機安裝gemini(brew install gemini-cli或npm install -g @google/gemini-cli);預設模型google-gemini-cli/gemini-3-flash-preview;使用openclaw onboard --auth-choice google-gemini-cli或openclaw models auth login --provider google-gemini-cli --set-default
如需完整的提供者目錄(xAI、Groq、Mistral 等)及進階設定, 請參閱 模型提供者。