Skip to main content

AI models for Copilot

Learn how to use alternative large language models for GitHub Copilot.

Changing the AI model for Copilot Chat

Learn how to change the default LLM for Copilot Chat to a different model.

Changing the AI model for Copilot code completion

Learn how to change the default LLM for Copilot code completion to a different model.

Using Claude Sonnet in Copilot Chat

Learn how to enable Claude Sonnet in GitHub Copilot Chat, for yourself or your organization.

Using Gemini in Copilot Chat

Learn how to enable Gemini in GitHub Copilot Chat, for yourself or your organization.

Choosing the right AI model for your task

Compare available AI models in Copilot Chat and choose the best model for your task.

Comparing AI models using different tasks

Explore real-world examples of common developer tasks along with sample prompts, responses, and guidance to help you choose the right AI model for your workflow.