|
| 1 | +--- |
| 2 | +title: Changing the AI model for Copilot Chat |
| 3 | +shortTitle: 'Change the AI model' |
| 4 | +intro: 'Learn how to change the default LLM for {% data variables.product.prodname_copilot_chat_short %} to a different model.' |
| 5 | +versions: |
| 6 | + feature: copilot |
| 7 | +topics: |
| 8 | + - Copilot |
| 9 | +--- |
| 10 | + |
| 11 | +By default, {% data variables.product.prodname_copilot_chat_short %} uses OpenAI's GPT 4o large language model. This is a highly proficient model that performs well for text generation tasks, such as summarization and knowledge-based chat. The model is also capable of reasoning, solving complex math problems and coding. |
| 12 | + |
| 13 | +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. |
| 14 | + |
| 15 | +{% 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. |
| 16 | + |
| 17 | +{% webui %} |
| 18 | + |
| 19 | +> [!NOTE] |
| 20 | +> * Multiple model support in {% data variables.product.prodname_copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change. |
| 21 | +> * 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](https://github.com/copilot). The {% data variables.product.prodname_copilot_chat_short %} panel always uses the default model. |
| 22 | +
|
| 23 | +## AI models for {% data variables.product.prodname_copilot_chat_short %} |
| 24 | + |
| 25 | +{% data reusables.copilot.copilot-chat-models-list %} |
| 26 | + |
| 27 | +### Limitations of AI models for {% data variables.product.prodname_copilot_chat_short %} |
| 28 | + |
| 29 | +* If you want to use the skills listed in the table above{% ifversion ghec %}, or knowledge bases{% endif %}, on the {% data variables.product.github %} website, only the GPT 4o, {% data variables.copilot.copilot_claude_sonnet %}, and {% data variables.copilot.copilot_gemini_flash %} models are supported. |
| 30 | +* Experimental pre-release versions of the models may not interact with all filters correctly, including the duplication detection filter. |
| 31 | + |
| 32 | +## Changing your AI model |
| 33 | + |
| 34 | +These instructions are for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website. For {% data variables.product.prodname_vs %} or {% data variables.product.prodname_vscode_shortname %}, click the appropriate tab at the top of this page. |
| 35 | + |
| 36 | +{% data reusables.copilot.model-picker-enable-o1-models %} |
| 37 | + |
| 38 | +> [!NOTE] If you use {% data variables.product.prodname_copilot_extensions_short %}, they may override the model you select. |
| 39 | +
|
| 40 | +1. In the top right of any page on {% data variables.product.github %}, click the down arrow beside the **{% octicon "copilot" aria-hidden="true" %}** icon and click **Immersive** in the dropdown menu. |
| 41 | + |
| 42 | +  |
| 43 | + |
| 44 | +1. At the top of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice. |
| 45 | + |
| 46 | +{% endwebui %} |
| 47 | + |
| 48 | +{% vscode %} |
| 49 | + |
| 50 | +> [!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. |
| 51 | +
|
| 52 | +## AI models for {% data variables.product.prodname_copilot_chat_short %} |
| 53 | + |
| 54 | +{% data reusables.copilot.copilot-chat-models-list %} |
| 55 | + |
| 56 | +## Changing your AI model |
| 57 | + |
| 58 | +These instructions are for {% data variables.product.prodname_vscode_shortname %}. For {% data variables.product.prodname_vs %} or for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website, click the appropriate tab at the top of this page. |
| 59 | + |
| 60 | +{% data reusables.copilot.model-picker-enable-o1-models %} |
| 61 | + |
| 62 | +{% data reusables.copilot.chat-model-limitations-ide %} |
| 63 | + |
| 64 | +{% data reusables.copilot.open-chat-vs-code %} |
| 65 | +1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice. |
| 66 | + |
| 67 | +{% endvscode %} |
| 68 | + |
| 69 | +{% visualstudio %} |
| 70 | + |
| 71 | +> [!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. |
| 72 | +
|
| 73 | +## AI models for {% data variables.product.prodname_copilot_chat_short %} |
| 74 | + |
| 75 | +{% data reusables.copilot.copilot-chat-models-list-visual-studio %} |
| 76 | + |
| 77 | +## Changing your AI model |
| 78 | + |
| 79 | +These instructions are for {% data variables.product.prodname_vs %}. For {% data variables.product.prodname_vscode_shortname %} or for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website, click the appropriate tab at the top of this page. |
| 80 | + |
| 81 | +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](https://visualstudio.microsoft.com/downloads/). |
| 82 | + |
| 83 | +{% data reusables.copilot.model-picker-enable-o1-models %} |
| 84 | + |
| 85 | +{% data reusables.copilot.chat-model-limitations-ide %} |
| 86 | + |
| 87 | +1. In the {% data variables.product.prodname_vs %} menu bar, click **View**, then click **{% data variables.product.prodname_copilot_chat %}**. |
| 88 | +1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice. |
| 89 | + |
| 90 | +{% endvisualstudio %} |
0 commit comments