Skip to main content

Modification du modèle IA pour Copilot Chat

Découvrez comment modifier le LLM par défaut pour Copilot Chat en un modèle différent.

By default, Copilot Chat uses a base model to provide fast, capable responses for a wide range of tasks, such as summarization, knowledge-based questions, reasoning, math, and coding.

However, you are not limited to using this model. You can choose from a selection of other models, each with its own particular strengths. You may have a favorite model that you like to use, or you might prefer to use a particular model for inquiring about a specific subject.

Remarque

Different models have different premium request multipliers, which can affect how much of your monthly usage allowance is consumed. For details, see About premium requests.

Copilot allows you to change the model during a chat and have the alternative model used to generate responses to your prompts.

Changing the model that's used by Copilot Chat does not affect the model that's used for Copilot code completion. See Changing the AI model for Copilot code completion.

Remarque

  • Multiple model support in Copilot Chat is in public preview and is subject to change.
  • Support for GPT-4.5 is only available on Copilot Pro+ and Copilot Enterprise.

AI models for Copilot Chat

The following models are currently available through multi-model Copilot Chat:

  • GPT-4o
  • GPT-4.1
  • GPT-4.5 (preview)
  • Claude 3.5 Sonnet
  • Claude 3.7 Sonnet
  • Claude 3.7 Sonnet Thinking
  • Gemini 2.0 Flash
  • Gemini 2.5 Pro (preview)
  • o1 (preview)
  • o3 (preview)
  • o3-mini
  • o4-mini (preview)

For more information about these models, see Choosing the right AI model for your task.

Changing the AI model for Copilot Chat

These instructions are for Xcode. For instructions on different clients, click the appropriate tab at the top of this page.

To use multi-model Copilot Chat, you must install the GitHub Copilot for Xcode extension. See Installing the GitHub Copilot extension in your environment.

If you access Copilot Chat through a Copilot Business or Copilot Enterprise subscription, your organization or enterprise must grant members the ability to switch to a different model. See Managing policies for Copilot in your organization or Managing policies and features for Copilot in your enterprise.

Remarque

  • If you use Copilot Extensions, they may override the model you select.
  • Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter.
  1. To open the chat view, click Editor in the menu bar, then click Copilot then Open Chat. Copilot Chat opens in a new window.
  2. In the bottom right of the chat view, select the CURRENT-MODEL dropdown menu, then click the AI model of your choice.

Further reading