Co-authored-by: Sunbrye Ly <56200261+sunbrye@users.noreply.github.com> Co-authored-by: sunbrye <sunbrye@github.com>
16 KiB
title, shortTitle, intro, versions, topics
| title | shortTitle | intro | versions | topics | |||
|---|---|---|---|---|---|---|---|
| Changing the AI model for Copilot Chat | Change the chat model | Learn how to change the default LLM for {% data variables.product.prodname_copilot_chat_short %} to a different model. |
|
|
By default, {% data variables.product.prodname_copilot_chat_short %} 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.
[!NOTE] Different models have different premium request multipliers, which can affect how much of your monthly usage allowance is consumed. For details, see AUTOTITLE.
{% data variables.product.prodname_copilot_short %} 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 {% data variables.product.prodname_copilot_chat_short %} does not affect the model that's used for {% data variables.product.prodname_copilot_short %} code completion. See AUTOTITLE.
{% webui %}
Note
- Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
- Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.product.prodname_copilot_enterprise_short %}{% endif %}.
- You can only use an alternative AI model in the immersive view of {% data variables.product.prodname_copilot_chat_short %}. This is the full-page version of {% data variables.product.prodname_copilot_chat_short %} that's displayed at https://github.com/copilot. The {% data variables.product.prodname_copilot_chat_short %} panel always uses the default model.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available in the immersive mode of {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_gpt_41 %}
- {% data variables.copilot.copilot_gpt_45 %} (preview)
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
- {% data variables.copilot.copilot_claude_sonnet_40 %}
- {% data variables.copilot.copilot_claude_opus %}
- {% data variables.copilot.copilot_gemini_flash %}
- {% data variables.copilot.copilot_gemini_25_pro %} (preview)
- {% data variables.copilot.copilot_o1 %}
- {% data variables.copilot.copilot_o3 %}
- {% data variables.copilot.copilot_o3_mini %}
- {% data variables.copilot.copilot_o4_mini %}
For more information about these models, see AUTOTITLE.
Limitations of AI models for {% data variables.product.prodname_copilot_chat_short %}
Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter.
Changing your AI model
These instructions are for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website. For instructions on different clients, click the appropriate tab at the top of this page.
{% data reusables.copilot.model-picker-enable-alternative-models %}
[!NOTE] If you use {% data variables.product.prodname_copilot_extensions_short %}, they may override the model you select.
-
In the top right of any page on {% data variables.product.github %}, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} beside the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} icon and click Immersive in the dropdown menu.
-
At the top of the immersive view, select the CURRENT-MODEL {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
-
Optionally, after submitting a prompt, you can regenerate the same prompt using a different model by clicking the retry icon ({% octicon "sync" aria-label="The re-run icon" %}) below the response. The new response will use your selected model and maintain the full context of the conversation.
{% endwebui %}
{% vscode %}
Changing the model that's used by {% data variables.product.prodname_copilot_chat_short %} does not affect the model that's used for {% data variables.product.prodname_copilot_short %} code completion. See AUTOTITLE.
Note
- Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
- Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.product.prodname_copilot_enterprise_short %}{% endif %}.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_gpt_41 %}
- {% data variables.copilot.copilot_gpt_45 %} (preview)
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
- {% data variables.copilot.copilot_claude_sonnet_40 %}
- {% data variables.copilot.copilot_claude_opus %}
- {% data variables.copilot.copilot_gemini_flash %}
- {% data variables.copilot.copilot_o1 %}
- {% data variables.copilot.copilot_o3 %}
- {% data variables.copilot.copilot_o3_mini %}
- {% data variables.copilot.copilot_o4_mini %}
For more information about these models, see AUTOTITLE.
Changing your AI model
These instructions are for {% data variables.product.prodname_vscode_shortname %}. For instructions on different clients, click the appropriate tab at the top of this page.
{% data reusables.copilot.model-picker-enable-alternative-models %}
{% data reusables.copilot.chat-model-limitations-ide %}
{% data reusables.copilot.open-chat-vs-code %}
- In the bottom right of the chat view, select the CURRENT-MODEL {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
{% endvscode %}
{% visualstudio %}
[!NOTE] Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_o1 %}
- {% data variables.copilot.copilot_o3_mini %}
For more information about these models, see AUTOTITLE.
Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
These instructions are for {% data variables.product.prodname_vs %}. For instructions on different clients, click the appropriate tab at the top of this page.
To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must use {% data variables.product.prodname_vs %} 2022 version 17.12 or later. See the {% data variables.product.prodname_vs %} downloads page.
{% data reusables.copilot.model-picker-enable-alternative-models %}
{% data reusables.copilot.chat-model-limitations-ide %}
- In the {% data variables.product.prodname_vs %} menu bar, click View, then click {% data variables.product.prodname_copilot_chat %}.
- In the bottom right of the chat view, select the CURRENT-MODEL {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %} dropdown menu, then click the AI model of your choice.
{% endvisualstudio %}
{% jetbrains %}
Note
- Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
- Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.product.prodname_copilot_enterprise_short %}{% endif %}.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_gpt_41 %}
- {% data variables.copilot.copilot_gpt_45 %} (preview)
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
- {% data variables.copilot.copilot_gemini_flash %}
- {% data variables.copilot.copilot_gemini_25_pro %} (preview)
- {% data variables.copilot.copilot_o1 %} (preview)
- {% data variables.copilot.copilot_o3 %} (preview)
- {% data variables.copilot.copilot_o3_mini %}
- {% data variables.copilot.copilot_o4_mini %} (preview)
For more information about these models, see AUTOTITLE.
Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
These instructions are for the JetBrains IDEs. For instructions on different clients, click the appropriate tab at the top of this page.
{% data reusables.copilot.model-picker-enable-alternative-models %}
{% data reusables.copilot.chat-model-limitations-ide %}
- Click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} icon in the status bar.
- In the popup menu, click Open {% data variables.product.prodname_copilot_chat %}.
- In the bottom right of the chat view, select an AI model of your choice from the {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu.
{% endjetbrains %}
{% eclipse %}
Note
- Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
- Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.product.prodname_copilot_enterprise_short %}{% endif %}.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_gpt_45 %} (preview)
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
- {% data variables.copilot.copilot_gemini_flash %}
- {% data variables.copilot.copilot_o1 %} (preview)
- {% data variables.copilot.copilot_o3_mini %}
For more information about these models, see AUTOTITLE.
Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
These instructions are for the Eclipse IDE. For instructions on different clients, click the appropriate tab at the top of this page.
{% data reusables.copilot.model-picker-enable-alternative-models %}
{% data reusables.copilot.chat-model-limitations-ide %}
- Click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} icon in the status bar.
- In the popup menu, click Open Chat.
- In the bottom right of the chat panel, click the currently selected AI model, then select an alternative model from the popup menu.
{% endeclipse %}
{% xcode %}
Note
- Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
- Support for GPT-4.5 is only available on {% data variables.product.prodname_copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.product.prodname_copilot_enterprise_short %}{% endif %}.
AI models for {% data variables.product.prodname_copilot_chat_short %}
The following models are currently available through multi-model {% data variables.product.prodname_copilot_chat_short %}:
- {% data variables.copilot.copilot_gpt_4o %}
- {% data variables.copilot.copilot_gpt_41 %}
- {% data variables.copilot.copilot_gpt_45 %} (preview)
- {% data variables.copilot.copilot_claude_sonnet_35 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %}
- {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
- {% data variables.copilot.copilot_gemini_flash %}
- {% data variables.copilot.copilot_gemini_25_pro %} (preview)
- {% data variables.copilot.copilot_o1 %} (preview)
- {% data variables.copilot.copilot_o3 %} (preview)
- {% data variables.copilot.copilot_o3_mini %}
- {% data variables.copilot.copilot_o4_mini %} (preview)
For more information about these models, see AUTOTITLE.
Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
These instructions are for Xcode. For instructions on different clients, click the appropriate tab at the top of this page.
To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must install the {% data variables.product.prodname_copilot %} for Xcode extension. See AUTOTITLE.
{% data reusables.copilot.model-picker-enable-alternative-models %}
{% data reusables.copilot.chat-model-limitations-ide %}
- To open the chat view, click Editor in the menu bar, then click {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %} then Open Chat. {% data variables.product.prodname_copilot_chat_short %} opens in a new window.
- In the bottom right of the chat view, select the CURRENT-MODEL {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %} dropdown menu, then click the AI model of your choice.
{% endxcode %}
