Skip to main content

About Copilot 自动模型选择

Automatically select the best model for each task.

谁可以使用此功能?

自动模型选择 is available with all GitHub Copilot plans.

Overview

More than just a model picker, 自动模型选择 is an intelligent system delivering high quality results, better reliability, and one less decision to make as the model landscape rapidly evolves.

Auto with task optimization

注意

自动模型选择 with task optimization is generally available in 副驾驶聊天 in VS Code.

自动模型选择 with task optimization combines two systems to provide high quality results and better reliability. One system tracks real-time system health and availability, while the other evaluates task complexity. Putting these together, 自动模型选择 routes the task to the optimal model.

Routing occurs along natural cache boundaries to avoid additional cache related costs. Switching models mid-session has shown increased cost without ample improvements in quality. This helps you get more value from Copilot since it matches each task to the model that can solve it most efficiently. That means reserving higher-cost reasoning models for problems that truly need it, while routing straightforward tasks to faster, lower-cost models that still deliver great results.

Benefits of using 自动模型选择 include:

  • Matching each task to the model that can solve it most efficiently.
  • Model choice based on real-time system health and availability.
  • Language invariance: Routing decisions depend on what you are trying to do, not what language you're asking in.
  • Improved cost efficiency due to intelligent task routing.

Auto optimized for model reliability and availability

Experience less rate limiting by letting 自动模型选择 choose the best available model on your behalf.

自动模型选择, optimized for model reliability and availability, intelligently chooses models based on real-time system health and model performance. You benefit from:

  • Reduced rate limiting
  • Lower latency and errors

Policies and availability

When you select Auto, 自动模型选择 chooses from supported models, subject to your policies and subscription type. Available models may change over time. See GitHub Copilot中支持的 AI 模型.

自动模型选择 won't include these models:

  • Models not available in your plan.
  • Models excluded by administrator policies. See 在 GitHub Copilot 中配置对 AI 模型的访问.
  • Models excluded by policies restricting Copilot to data-resident or FedRAMP-compliant models.
  • Models with premium request multipliers greater than one.

Multiplier discounts

如果你使用的是付费Copilot计划,并且在自动模型选择、副驾驶聊天或Copilot 命令行界面(CLI)中使用Copilot云代理,则这些模型有资格获得 10% 的乘数折扣。 See GitHub Copilot 中的请求.

自动模型选择 in Copilot

自动模型选择, optimized for model reliability and availability, is available in these Copilot products:

  • 副驾驶聊天
  • Copilot 命令行界面(CLI)
  • Copilot云代理

提示

You can see which model was used for each Copilot response.

  • In 副驾驶聊天, hover over the response.
  • In Copilot 命令行界面(CLI), the model used for each response displays in the terminal.
  • In Copilot云代理, the model used for each response displays at the end of the response.

副驾驶聊天 in IDEs

自动模型选择, with task optimization, is generally available in the following IDEs:

  • VS Code

自动模型选择, optimized for model reliability and availability, is generally available in the following IDEs:

  • JetBrains IDEs
  • Eclipse
  • Xcode

自动模型选择, optimized for model reliability and availability, is in public preview in the following IDEs:

  • Visual Studio

Enabling access during 公开预览

During the 公开预览, if you're using a Copilot业务 or Copilot Enterprise plan, the organization or enterprise that provides your plan must have the Editor preview features policy enabled. See 管理组织中GitHub Copilot的策略和功能 or 管理企业中 GitHub Copilot 的策略和功能.

自动模型选择 in third-party agents

When you select Auto in the OpenAI Codex or Anthropic Claude coding agents, 自动模型选择 chooses from the supported list of models, subject to your policies and subscription type.

OpenAI Codex supported models

These models are available for 自动模型选择 in the OpenAI Codex coding agent.

  • GPT-5.2-Codex
  • GPT-5.3-Codex
  • GPT-5.4
  • GPT-5.4 nano

For more information, see OpenAI Codex.

Anthropic Claude supported models

These models are available for 自动模型选择 in the Anthropic Claude coding agent.

  • 克洛德作品4.5
  • 克洛德作品4.6
  • 克劳德·奥普斯 4.7
  • 克劳德十四行诗 4.5
  • 克洛德十四行诗 4.6

For more information, see 人类克劳德.