Skip to main content

Using Claude 3.5 Sonnet in GitHub Copilot

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

Note

Claude 3.5 Sonnet is in public preview and subject to change. The "GitHub Pre-release License Terms" apply to your use of this product.

Claude 3.5 Sonnet announcement and rollout

Claude 3.5 Sonnet availability in GitHub Copilot was announced on October 29th at GitHub Universe 2024. Access to the model will roll out progressively over an estimated two-week period to all Copilot plans. This new model will initially be available in Copilot Chat for Visual Studio Code and in immersive chat on the GitHub website.

To know if you or your organization has access to enable Claude 3.5 Sonnet, you can check whether the policy is present at the bottom of your personal Copilot policy settings. If you don't see a policy for Anthropic Claude 3.5 Sonnet for Copilot, you have not yet received access via the rollout.

About Claude 3.5 Sonnet on GitHub

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.

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 Individual subscription, you can enable Claude 3.5 Sonnet in two ways:

  • The first time you choose to use Claude 3.5 Sonnet with Copilot Chat in Visual Studio Code, or in the immersive view of Copilot Chat, you will be prompted to allow access to the model.

    Clicking Allow enables you to use Claude 3.5 Sonnet and updates the policy in your personal settings on GitHub.

  • You can enable the model directly in your personal settings on the GitHub website. See "Managing Copilot policies as an individual subscriber."

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: