Claude 3.5 Sonnet on GitHub Copilot

2 min read Original article ↗

Starting today, the new Claude 3.5 Sonnet begins rolling out on GitHub Copilot, enabling developers to choose Claude 3.5 Sonnet for coding—directly in Visual Studio Code and GitHub.com. This integration brings Claude’s coding capabilities to GitHub’s community of over 100 million developers.

The upgraded Claude 3.5 Sonnet outperforms all publicly available models on SWE-bench Verified, a benchmark that measures how models solve real-world GitHub issues. It also achieves the top score in its class (93.7%) on HumanEval, a benchmark testing the ability to write correct Python functions from natural language descriptions.

Claude 3.5 Sonnet will be available in public preview to all GitHub Copilot Chat users and organizations over the coming weeks.

Use cases

With context about your entire codebase, you can use Claude 3.5 Sonnet on GitHub Copilot to:

  • Write production-ready code: Ask GitHub Copilot Chat to transform natural language descriptions into high-quality code that matches your project’s patterns and conventions.
  • Debug with inline chat: Highlight problematic code to get instant analysis and fixes, or ask GitHub Copilot Chat to explain error messages and suggest solutions.
  • Create tests from implementation: Select any function to automatically generate comprehensive test suites that match your testing framework and cover edge cases.
  • Understand code with contextual explanations: Hover over functions or highlight blocks of code in VS Code to get explanations of what the code does and how it fits into your project.

Getting started

GitHub is releasing Claude 3.5 Sonnet in public preview starting today. Claude 3.5 Sonnet runs on GitHub Copilot via Amazon Bedrock, leveraging Bedrock’s cross-region inference to further enhance reliability.

All developers and organizations should have access to Claude 3.5 Sonnet over the coming weeks. Explore the GitHub blog and documentation to learn more.

Related content

Government of Alberta uses Claude to find and fix cybersecurity vulnerabilities across government systems

Since 2025, the Government of Alberta has been using Claude Code with both Opus and Sonnet models to review its systems, find vulnerabilities, and fix them.

Read more

More details on Fable 5’s cyber safeguards and our jailbreak framework

Read more

Introducing Claude Sonnet 5

Sonnet 5 delivers frontier performance across coding, agents, and professional work at scale.

Read more