RoboDodd

Enable Claude 3.7 Sonnet in GitHub Copilot for VS Code

Learn how to enable Claude 3.7 Sonnet in GitHub Copilot for VS Code. Use Copilot Chat with this AI model in your organization. Quick guide to get started!

Neon-lit illustration of a developer using GitHub Copilot with Claude in VS Code
GitHub Copilot 2 min read
Update — April 2026: Claude 3.7 Sonnet has since been superseded by the Claude 4.x family (Opus 4.7 and Sonnet 4.6 are current as of this update). The enable-flow below is unchanged — pick whichever Claude model is listed in your Copilot model picker. If you don't see 4.x yet, your admin may still need to toggle it on at the organization level.

If you want to use Claude 3.7 Sonnet in GitHub Copilot, this guide will show you how to enable it for both Copilot Pro and GitHub Copilot for Organizations.

Important Notes

  • Code completion using Claude 3.7 is not yet available.
  • You can use Copilot Chat and Copilot Edits with Claude 3.7.
  • This setup requires at least a GitHub Pro account (for individuals) or a GitHub Copilot Organization Subscription.

Enabling Claude 3.7 Sonnet in GitHub Copilot

For Copilot Pro (Individual Accounts)

  1. Go to GitHub Settings
    • Navigate to GitHub Settings (click your profile icon > Settings).
    • Scroll down and click Copilot.

GitHub user settings sidebar with the Copilot section selected

2. Enable Claude 3.7 Sonnet

  • Under Copilot Models, select Claude 3.7 Sonnet as your preferred model.

3. Enable Editor Preview Features

  • Under Copilot Settings, enable Editor Preview Features to access the latest features.

For Copilot in GitHub Organizations

  1. Go to GitHub Organization Settings
    • Navigate to your GitHub Organization settings.
    • Click on Copilot > Models.

GitHub organization Copilot settings showing the Models page

2. Enable Anthropic Claude 3.7 Sonnet

  • Locate Claude 3.7 Sonnet in the available models.
  • Enable it for your organization.

3. Enable Copilot Editor Preview Features

  • In Copilot Policies, enable Editor Preview Features (for future code completion capabilities).

GitHub Copilot policies page with the Editor Preview Features toggle enabled


Using Claude 3.7 Sonnet in VS Code

  1. Open or Restart VS Code
    • Ensure you have the latest GitHub Copilot extension installed.
    • Restart VS Code if it was already open.
  2. Access Copilot in VS Code
    • Click the GitHub Copilot icon in the sidebar.
    • You should see the Copilot Edits panel on the right.

VS Code with the GitHub Copilot icon in the sidebar and the Copilot Edits panel open

3. Select the Claude 3.7 Model

  • Click the dropdown in the lower right of the Copilot panel.
  • Select Claude 3.7 Sonnet as your model.

Copilot model dropdown in VS Code with Claude 3.7 Sonnet selected


You’re Now Using Claude 3.7 Sonnet in VS Code!

With this setup, you can now use Copilot Chat and Copilot Edits powered by Claude 3.7. While code completion is not yet available, keep an eye on GitHub’s updates for future releases!

Let me know in the comments if you found this guide helpful or if you run into any issues. !