1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/copilot/how-tos/use-ai-models/change-the-completion-model.md
2025-11-12 20:26:41 +00:00

3.8 KiB

title, shortTitle, intro, versions, topics, redirect_from, contentType, category
title shortTitle intro versions topics redirect_from contentType category
Changing the AI model for GitHub Copilot inline suggestions Change the completion model Learn how to change the default LLM for {% data variables.product.prodname_copilot_short %} inline suggestions to a different model.
feature
copilot
Copilot
/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion
/copilot/how-tos/ai-models/changing-the-ai-model-for-copilot-code-completion
/copilot/how-tos/ai-models/change-the-completion-model
how-tos
Configure Copilot

{% vscode %}

The following instructions are for {% data variables.product.prodname_vscode_shortname %}. If you are using {% data variables.product.prodname_vs %}, or a JetBrains IDE, click the appropriate tab at the start of this article.

Prerequisites

{% data reusables.copilot.code-completion-switch-prereqs-vscode %}

{% data reusables.copilot.code-completion-available-models %}

For more information, see AUTOTITLE.

Changing the AI model for inline suggestions

  1. Open the command palette by pressing Ctrl+Shift+P (Windows/Linux) / Command+Shift+P (Mac).
  2. Type change completions model and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
  3. In the dropdown menu, select the model you want to use.

Checking which model is being used

  1. Open the Settings editor by pressing Ctrl+, (Linux/Windows) / Command+, (Mac).

  2. Type copilot completion and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.

    The field in this section displays the currently selected model. If the field is empty, the default model is being used.

{% endvscode %}

{% visualstudio %}

The following instructions are for {% data variables.product.prodname_vs %}. If you are using {% data variables.product.prodname_vscode_shortname %}, or a JetBrains IDE, click the appropriate tab at the start of this article.

Prerequisites

{% data reusables.copilot.code-completion-switch-prereqs-vs %}

{% data reusables.copilot.code-completion-available-models %}

For more information, see AUTOTITLE.

Changing the AI model for inline suggestions

  1. Click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} icon in the top right corner.
  2. Click Settings, then click Options.
  3. Under {% data variables.product.prodname_copilot_short %} Completions, use the dropdown menu to select the model you want to use.

{% endvisualstudio %}

{% jetbrains %}

The following instructions are for JetBrains IDEs. If you are using {% data variables.product.prodname_vs %}, or {% data variables.product.prodname_vscode_shortname %}, click the appropriate tab at the start of this article.

Prerequisites

{% data reusables.copilot.code-completion-switch-prereqs-jetbrains %}

{% data reusables.copilot.code-completion-available-models %}

For more information, see AUTOTITLE.

Changing the AI model for inline suggestions

  1. Click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} icon in the status bar.
  2. In the popup menu, click Edit Model for Completion.
  3. In the settings dialog box for "Languages & Frameworks > {% data variables.product.prodname_copilot %}," click the dropdown menu for Model for completions and select the model you want to use.
  4. Click OK.

{% endjetbrains %}