个人头像ztm0929
OpenClaw模型与供应商

如何为 OpenClaw 配置 GitHub Copilot

注意

本文尚处于草稿状态,内容可能不完整或存在错误,如有疑问,欢迎 联系天明 改进!

开始之前

动手操作

环境预检

unset http_proxy
unset https_proxy
openclaw models auth login-github-copilot
Terminal.app(终端)
openclaw models list --provider github-copilot

不知为何,GitHub Copilot 的模型目录相当慢(将近 2 分钟),需要耐心等待结果。

🦞 OpenClaw 2026.5.6 (c97b9f7) — Alexa, but with taste.

Model                                      Input      Ctx         Local Auth  Tags
github-copilot/claude-haiku-4.5            text+image 125k        no    no
github-copilot/claude-opus-4.5             text+image 125k        no    no
github-copilot/claude-opus-4.6             text+image 125k        no    no
github-copilot/claude-opus-4.7             text+image 125k        no    no
github-copilot/claude-sonnet-4             text+image 125k        no    no
github-copilot/claude-sonnet-4.5           text+image 125k        no    no
github-copilot/claude-sonnet-4.6           text+image 125k        no    no
github-copilot/gemini-2.5-pro              text+image 125k        no    no
github-copilot/gemini-3-flash              text+image 125k        no    no
github-copilot/gemini-3.1-pro              text+image 125k        no    no
github-copilot/goldeneye                   text       125k        no    no
github-copilot/gpt-4.1                     text+image 125k        no    no
github-copilot/gpt-5-mini                  text+image 125k        no    no
github-copilot/gpt-5.2                     text+image 125k        no    no
github-copilot/gpt-5.2-codex               text       125k        no    no
github-copilot/gpt-5.3-codex               text       125k        no    no
github-copilot/gpt-5.4                     text+image 125k        no    no
github-copilot/gpt-5.4-mini                text+image 125k        no    no
github-copilot/gpt-5.4-nano                text+image 125k        no    no
github-copilot/grok-code-fast-1            text       125k        no    no
github-copilot/raptor-mini                 text       125k        no    no
openclaw models set github-copilot/gpt-5.2
openclaw models set github-copilot/gpt-5.4-mini
openclaw models set github-copilot/gpt-5-mini

分别是1倍、0.33倍和免费版本的 GitHub Copilot 模型

source ~/.zshrc

最后更新于

目录