Using Claude 3.5 Sonnet in GitHub Copilot - GitHub Docs (original) (raw)

Learn how to enable Claude 3.5 Sonnet for yourself or your organization.

About Claude 3.5 Sonnet in GitHub Copilot

Claude 3.5 Sonnet is a large language model that you can use as an alternative to the default model used by Copilot Chat. Claude 3.5 Sonnet excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about the model's capabilities or read the model card.

Claude 3.5 Sonnet is currently available in Copilot Chat for Visual Studio Code and Visual Studio, and in immersive chat on the GitHub website.

GitHub Copilot uses Claude 3.5 Sonnet hosted on Amazon Web Services. When using Claude 3.5 Sonnet, prompts and metadata are sent to Amazon's Bedrock service, which makes the following data commitments: Amazon Bedrock doesn't store or log your prompts and completions. Amazon Bedrock doesn't use your prompts and completions to train any AWS models and doesn't distribute them to third parties.

When using Claude 3.5 Sonnet, input prompts and output completions continue to run through GitHub Copilot's content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.

Configuring access

You must enable access to Claude 3.5 Sonnet before you can use the model.

Setup for individual use

If you have a Copilot Free or Copilot Pro subscription, you can enable Claude 3.5 Sonnet in two ways:

Setup for organization use

As an organization owner, you can enable or disable Claude 3.5 Sonnet for everyone who has been assigned a Copilot Business seat through your organization. See Managing policies for Copilot in your organization.

Using Claude 3.5 Sonnet

For details of how to change the model for Copilot Chat, see:

Leaving feedback

To leave feedback about Claude 3.5 Sonnet in GitHub Copilot, or to ask a question, see the GitHub Community discussion Claude 3.5 Sonnet is now available to all Copilot users in Public Preview.