Comparison
Claude Code vs GitHub Copilot for an engineering team
Claude Code and GitHub Copilot overlap more than their names suggest. Copilot is GitHub’s assistant: suggestions and chat in the editor, an agent mode, a command-line agent, and a cloud agent that works on a branch in GitHub Actions and opens a pull request. Claude Code is Anthropic’s coding agent, run from the terminal, VS Code, JetBrains IDEs, a desktop app or cloud sessions, and connected to GitHub through an app, GitHub Actions and an automated code review. On the vendors’ pages read on 29 September 2026, Copilot Business is US$19 a seat a month and Copilot Enterprise US$39, each with a pooled allowance of AI credits; Claude Team is US$20 a standard seat a month billed annually, and Claude Enterprise is US$20 a seat plus usage at API rates. Copilot also runs Claude models and, in public preview, a Claude coding agent. Choose on where your code is hosted, which admin layer your security team wants to run and how you want heavy use billed.
AI coding tool. Software that uses an AI model to read, write and change code in a repository, from suggestions in the editor to agents that work through a task and open a pull request.
1AYM is an OpenAI Select Partner. Its founder holds personal Claude certifications. 1AYM is not an Anthropic partner.
Checked . Prices, plan features and controls were read on Anthropic’s and GitHub’s own pricing pages and documentation, in US dollars. Anthropic states that its prices exclude applicable tax. Features the vendors mark as public preview or research preview can change or be withdrawn, and both vendors change prices and plans without notice, so confirm them on the sources below before you buy.
Claude Code and GitHub Copilot side by side
What each vendor publishes, read on its own pricing pages and documentation. The numbers in brackets point to the sources at the foot of the page. Where the two are not like for like, the cell says so.
| Dimension | Claude Code | GitHub Copilot |
|---|---|---|
| What it is [1, 12] | Anthropic’s coding agent: it reads the codebase, edits files, runs commands and works across files and tools to finish a task | GitHub’s AI assistant: suggestions and chat in the editor, agent mode, a command-line agent, a cloud agent and pull request review |
| Where it runs [2, 19, 24] | Terminal, VS Code, JetBrains IDEs, a desktop app, the web and mobile. Cloud sessions run on Anthropic’s infrastructure by default, or on your organisation’s self-hosted environment when routed there | VS Code, Visual Studio, JetBrains IDEs, Eclipse, Xcode and Neovim; GitHub.com and GitHub Mobile; the Copilot CLI on Linux, macOS and Windows |
| Working with GitHub [3, 4, 5, 14, 18] | The Claude GitHub App for cloud sessions; @claude in issues and pull requests through Claude Code GitHub Actions; Code Review posts findings on pull requests (research preview, Team and Enterprise) | Built in: assign an issue to Copilot or mention @copilot on a pull request, and the cloud agent works in GitHub Actions and opens a pull request; Copilot code review |
| Code not on GitHub.com [2, 6, 12, 14, 18] | Cloud sessions and Code Review support GitHub Enterprise Server on Team and Enterprise; a GitLab CI/CD integration; the command-line tool runs in any project directory | Not available for GitHub Enterprise Server; the cloud agent works only on repositories hosted on GitHub; code review on Azure DevOps is in public preview |
| Models [9, 12, 17] | Anthropic’s Claude models, through Anthropic or through Amazon Bedrock, Google Cloud or Microsoft Foundry; admins can restrict which models appear | Models from Anthropic, OpenAI, Google, xAI and others on Business and Enterprise, including current Claude models; an Anthropic Claude coding agent in public preview |
| Business plan prices in US dollars [7, 12] | Claude Team: US$20 a standard seat a month billed annually, US$25 monthly; premium seat with five times the usage US$100 or US$125. Claude Enterprise: US$20 a seat a month, billed annually, plus usage at API rates | Copilot Business: US$19 a granted seat a month. Copilot Enterprise: US$39 a granted seat a month, for companies on GitHub Enterprise Cloud |
| How heavy use is billed [7, 8, 13] | Team: an allowance per seat that resets every five hours, plus weekly limits, with optional usage credits under spend limits. Enterprise: no per-seat limit on current plans; every token billed at API rates | Each seat adds 1,900 (Business) or 3,900 (Enterprise) AI credits a month to a shared pool; one credit is US$0.01; usage past the pool is billed unless an admin turns it off; completions are not billed in credits |
| Automated pull request review [4, 18] | Code Review, billed separately from plan usage: Anthropic puts the average at US$15 to US$25 a review | Copilot code review, billed in AI credits plus Actions minutes: GitHub estimates US$0.05 to US$1 a review at Lite effort, US$0.25 to US$5 at Balanced. Not the same depth of review, so not like for like |
| Admin and policy controls [9, 13, 14, 20, 21] | Managed settings from the admin console, device management or a file: allow and deny rules for tools and commands, OS-level sandboxing with a network allowlist, approved MCP servers and plugins, model limits, a minimum version | Enterprise and organisation policies for features, agents and models; content exclusion by file path; repositories can opt out of the cloud agent; budgets per user, cost centre and organisation |
| Audit and reporting [7, 9, 14, 22] | Adoption dashboard and a per-user spend report; audit logs, a Compliance API and an analytics API on Enterprise; OpenTelemetry export on every setup | Enterprise audit log of plan, policy and licence changes and agent activity on GitHub.com, kept 180 days; it holds no prompts sent from local clients; usage metrics APIs |
| Training on your code [11, 23] | Not on Team, Enterprise or the API. Free, Pro and Max accounts are used for training when the user’s setting is on | Not on Business or Enterprise. Free, Pro and Pro+ interactions may be used for training unless the user opts out |
What you are really choosing: an admin layer and a billing model
Search this question and you get arguments about which tool writes better code. For a company, that is the wrong place to start. Model quality moves every few months, and the two products now reach overlapping models: GitHub lists current Claude models alongside OpenAI’s and Google’s in Copilot Business [12]. What does not move every few months is where the tool is administered, where it runs and how the bill behaves when your heaviest users have a busy week.
Copilot is administered inside GitHub. Seats are granted through your GitHub organisation or enterprise, policies are set there, and the cloud agent runs in GitHub Actions against repositories on GitHub [12, 14, 20]. Claude Code is administered from Anthropic’s admin console and from managed settings pushed to each engineer’s machine, and it reaches GitHub through the Claude GitHub App, GitHub Actions and Code Review [3, 4, 5, 9]. Those are two different jobs for your platform and security teams, and the choice between them matters more over three years than this quarter’s benchmark.
GitHub already runs an Anthropic Claude coding agent inside Copilot, built on the Claude Agent SDK and paid for from an existing Copilot subscription; it is in public preview, and GitHub lists Claude Opus 4.7 and Claude Sonnet 4.6 for it [16, 17]. So a company on Copilot Business can put Claude models and a Claude agent in front of its engineers without a second contract. What it does not get that way is Claude Code itself: the terminal and desktop apps, managed settings on each machine, Anthropic’s Code Review and its cloud sessions [2, 4, 5, 9].
If the choice in front of you is Claude Code or OpenAI’s coding agent instead, our comparison of Codex and Claude Code for business covers it on the same terms.
Which fits which situation
Neither tool wins every case below, and no benchmark decides any of them. Find the situation that matches yours.
- Your code is on GitHub.com and you want one contract
- Copilot Business or Copilot Enterprise keeps licences, policies and agents inside the GitHub organisation you already run, and brings Claude models with it [12, 20]. Copilot Enterprise is for companies on GitHub Enterprise Cloud [12]. If a pilot shows your engineers need Claude Code’s own apps or its managed settings, that is the point to add a second contract.
- Your repositories are on GitHub Enterprise Server
- GitHub states that Copilot is not currently available for GitHub Enterprise Server [12]. Anthropic supports GitHub Enterprise Server for Claude Code cloud sessions and Code Review on Team and Enterprise plans [6], and the command-line tool runs in any project directory on an engineer’s machine [2].
- Engineers want an agent for long, multi-step work
- Both vendors sell one. Claude Code runs in the terminal, the editor, a desktop app or a cloud session that keeps going after you disconnect [2]. Copilot has agent mode in the editor, the Copilot CLI and a cloud agent in GitHub Actions, limited to 59 minutes and one repository per session [14, 19]. The vendors’ descriptions read alike here, so this is where a pilot on your own repositories earns its keep.
- Security wants controls enforced on each machine
- Claude Code’s managed settings take precedence over what an engineer sets locally, can deny specific tools and commands, and can switch on OS-level sandboxing with a network allowlist [9]. Copilot’s policies decide which features, agents and models users reach on the surfaces where they sign in, though GitHub notes not every policy applies to every surface [20]. Content exclusion keeps named files away from Copilot, but GitHub states that exclusion is currently not supported in the Edit and Agent modes of Copilot Chat in VS Code and other editors [21]. Ask your security team which of the two approaches matches how it already manages developer machines.
- Finance wants a hard ceiling on spend
- Copilot pools each seat’s AI credits across the organisation. Paid usage past the pool is on by default; an administrator can turn it off, and usage then stops until the next month [13]. Claude Team gives each seat an allowance that resets every five hours plus weekly limits, with optional usage credits under spend limits; Claude Enterprise bills every token at API rates, with spend limits set by administrators [7, 8, 10].
- You already pay for both
- Then the cost is two admin layers and two sets of repository instructions: Claude Code reads CLAUDE.md [4], and Copilot reads its own repository custom instructions [14]. Decide which tool owns which job, the editor for one and pull request review for the other for example, and keep the shared conventions in one place both can read.
What the business plans cost, in US dollars
GitHub prices Copilot per granted seat: US$19 a month on Copilot Business and US$39 on Copilot Enterprise [12]. Each seat adds 1,900 or 3,900 AI credits a month to a pool shared across the organisation or enterprise, one credit is US$0.01, and code completions and next edit suggestions are not billed in credits [13]. Usage past the pool is billed at that rate unless an administrator turns off the paid usage policy, which is on by default [13]. The cloud agent and third-party agents also use GitHub Actions minutes [14, 16].
Anthropic prices Claude Team at US$20 a standard seat a month billed annually, or US$25 monthly, and a premium seat with five times the usage at US$100 or US$125 [7]. Claude Code is included in every Team seat and draws on the same allowance as Claude chat [7, 8]. Claude Enterprise is US$20 a seat a month, billed annually, plus usage at API rates; on current Enterprise plans there is no per-seat usage limit, and older Enterprise contracts can still be seat-based [7, 8]. Anthropic’s own Claude Code cost guide describes a per-seat allowance on both Team and Enterprise [10], so the two sources differ: ask Anthropic which applies to your contract.
Automated pull request review is priced differently on each side, and the two are not the same depth of review. Anthropic’s Code Review is billed separately from plan usage and averages US$15 to US$25 a review [4]. GitHub estimates a Copilot code review at US$0.05 to US$1 of AI credits at Lite effort and US$0.25 to US$5 at Balanced, plus Actions minutes [18]. Price a month of your own pull requests on each before you switch review on across every repository.
What to test in a two-week pilot
A pilot answers what the pricing pages cannot. Put both tools on the same repositories for two weeks, with a named owner and one question to settle, and collect evidence on each point below.
- Real tickets, not demonstrations
- Pick issues from your own backlog of the size your teams ship every week, and have the same engineers try both tools on them. Count what merged, not what was generated.
- The review path
- Send each tool’s pull requests through your normal branch protection and required checks. Copilot’s cloud agent pushes to its own branch and cannot approve or merge its own pull request [15]; confirm that pull requests opened with Claude Code meet the same rules in your repositories.
- Spend per engineer
- Read the spend or credit report at the end of each week and project it over a year [10, 13]. Count the engineers who hit a limit: on Claude Team each is a premium seat decision [7], and on Copilot each is a draw on the shared pool [13].
- Your identity and file controls
- Assign seats the way you would in production and confirm leavers lose access. Test Copilot’s content exclusion and Claude Code’s managed deny rules against a file you genuinely need to protect [9, 21].
- Data terms in writing
- Confirm the plan’s training and retention position on the order form. GitHub states it does not use Copilot Business or Enterprise data to train its models [23]; Anthropic states it does not train on code or prompts sent to Claude Code under its commercial terms [11].
The wider question, which AI assistant the rest of the company gets, has its own page in our guides to buying AI services.
Where 1AYM fits
The licence is the smaller half of adopting an AI coding tool. Whichever tool you pick, what decides whether it helps is the same: repository instructions and shared skills, the permission model, review gates and the path to production. That is the work 1AYM does as AI harness and platform engineering, and the documented case is engagement file D-01, the AI platform we hold the lead architect role on for a large international marketing agency. We take small fixed-scope statements of work as well as larger builds. If that would help, the call below is 30 minutes.
For engineering managers: guardrails, settings and logs to check
The table gives the headline. These are the details a technical review asks about, each from the vendor’s own documentation.
- Copilot cloud agent guardrails
- Only users with write access can trigger it. It pushes to one branch, a new copilot/ branch unless it was started from an existing pull request, and it is subject to branch protections and required checks. A human must review and merge its draft pull requests, the person who asked for the change cannot approve it, and by default Actions workflows wait until a user with write access approves them [15]. Each session is limited to 59 minutes and one repository [14].
- Claude Code managed settings
- Delivered from the claude.ai admin console, a macOS plist or Windows registry policy, or a managed-settings.json file, in that priority order. Managed values take precedence over user and project settings, with a few security-sensitive exceptions, and allow and deny lists merge, so engineers can add to a managed deny list but not remove from it. permissions.disableBypassPermissionsMode turns off the skip-permissions flag [9].
- Permission rules are not a network boundary
- Anthropic’s administrator guide notes that denying Claude’s fetch tool does not stop curl if Bash is allowed. OS-level sandboxing with a domain allowlist closes that gap [9].
- GitHub Actions credentials for Claude
- The Claude Code GitHub Action authenticates with a Claude API key or a subscription OAuth token stored as a repository secret. Anthropic recommends an API key for a secret shared across repositories, because an OAuth token is tied to the subscription of the person who created it. Routed through Amazon Bedrock, Google Cloud or Microsoft Foundry, it authenticates by OIDC federation instead, with no static cloud credentials in the repository [3].
- Limits of Copilot content exclusion
- Repository administrators, organisation owners and enterprise owners can exclude files. Exclusion does not apply to symbolic links or repositories on remote filesystems, is not supported in the Edit and Agent modes of Copilot Chat in VS Code and other editors, and Copilot may still use semantic information the IDE supplies indirectly, such as type information [21].
- Audit trails
- GitHub’s enterprise audit log records Copilot plan, policy and licence changes and agent activity on GitHub.com for 180 days; it holds no prompts sent from local clients, and GitHub recommends streaming it to a SIEM [22]. Enabling the third-party agents installs GitHub Apps named anthropic code agent and openai code agent, whose actions appear in the audit log [16]. Anthropic lists audit logs and a Compliance API on Claude Enterprise [7], and Claude Code exports OpenTelemetry metrics on every setup [9].
- Data terms for particular models
- GitHub’s plans page notes that when Claude Fable 5 or Claude Fable 5.1 is used through Copilot, Anthropic retains prompts and outputs by default to run safety classifiers, with a zero data retention exemption available on request through the end of 2026; other Claude models in Copilot run under zero data retention [12]. Anthropic’s Code Review is not available to organisations with zero data retention enabled [4].
- Cloud sessions and GitHub credentials
- In Anthropic-hosted cloud environments, GitHub credentials stay encrypted on Anthropic’s servers and never enter the session’s VM; git operations go through a GitHub proxy that attaches the credential server-side [5].
Sources
- [1]Anthropic, Claude Code overview, read 29 September 2026
- [2]Anthropic, Claude Code platforms and integrations, read 29 September 2026
- [3]Anthropic, Claude Code GitHub Actions, read 29 September 2026
- [4]Anthropic, Claude Code Code Review (research preview), read 29 September 2026
- [5]Anthropic, Use Claude Code in the cloud, read 29 September 2026
- [6]Anthropic, Claude Code with GitHub Enterprise Server, read 29 September 2026
- [7]Anthropic, Claude plans and pricing (Team and Enterprise), in US dollars, read 29 September 2026
- [8]Anthropic Help Center, Use Claude Code with your Team or Enterprise plan, read 29 September 2026
- [9]Anthropic, Set up Claude Code for your organization, read 29 September 2026
- [10]Anthropic, Claude Code costs, read 29 September 2026
- [11]Anthropic, Claude Code data usage, read 29 September 2026
- [12]GitHub Docs, Plans for GitHub Copilot, read 29 September 2026
- [13]GitHub Docs, Usage-based billing for organizations and enterprises, read 29 September 2026
- [14]GitHub Docs, About GitHub Copilot cloud agent, read 29 September 2026
- [15]GitHub Docs, Risks and mitigations for GitHub Copilot cloud agent, read 29 September 2026
- [16]GitHub Docs, About third-party coding agents (public preview), read 29 September 2026
- [17]GitHub Docs, Anthropic Claude coding agent (public preview), read 29 September 2026
- [18]GitHub Docs, About GitHub Copilot code review, read 29 September 2026
- [19]GitHub Docs, About GitHub Copilot CLI, read 29 September 2026
- [20]GitHub Docs, GitHub Copilot policies for enterprises and organizations, read 29 September 2026
- [21]GitHub Docs, Content exclusion for GitHub Copilot, read 29 September 2026
- [22]GitHub Docs, Reviewing audit logs for GitHub Copilot, read 29 September 2026
- [23]GitHub, Copilot plans and pricing (FAQ on training and IP indemnity), read 29 September 2026
- [24]GitHub Docs, Copilot feature matrix, read 29 September 2026
Frequently asked questions
Is GitHub Copilot cheaper than Claude Code?
At the seat they are close: Copilot Business is US$19 a granted seat a month and Claude Team US$20 a standard seat a month billed annually. The difference is heavy use. Copilot pools each seat’s AI credits and bills usage past the pool at US$0.01 a credit unless an administrator turns that off. Claude Team moves heavy users to a US$100 premium seat or to usage credits, and Claude Enterprise bills all usage at API rates on top of a US$20 seat. Read on the vendors’ pages on 29 September 2026.
Can GitHub Copilot use Claude models?
Yes. GitHub lists Claude models, including Claude Opus 5.5 and Claude Sonnet 5.5, in Copilot Business and Copilot Enterprise, and runs an Anthropic Claude coding agent, built on the Claude Agent SDK, inside Copilot in public preview. That agent lists Claude Opus 4.7 and Claude Sonnet 4.6. It is not the same as running Claude Code itself, which has its own apps and admin settings.
Does Claude Code work with GitHub?
Yes, in three ways Anthropic documents: the Claude GitHub App, which lets cloud sessions clone a repository and push branches; Claude Code GitHub Actions, which responds to @claude in issues and pull requests; and Code Review, which posts findings on pull requests and is in research preview on Team and Enterprise plans.
What if our code is on GitHub Enterprise Server?
GitHub’s plans page states that Copilot is not currently available for GitHub Enterprise Server. Anthropic supports GitHub Enterprise Server for Claude Code cloud sessions and Code Review on Team and Enterprise plans.
Which is better, Claude Code or GitHub Copilot?
Neither on every count, and this page names no winner. They are administered in different places and billed in different ways, and both can run Claude models. The answer for your company comes from a two-week pilot on your own repositories, judged on merged work, review load and spend per engineer.
Does either one train on our code?
Not on the business plans. GitHub states it does not use Copilot Business or Enterprise data to train its models, and that interactions on Copilot Free, Pro and Pro+ may be used for training unless the user opts out. Anthropic states it does not train on code or prompts sent to Claude Code under its commercial terms, which cover Team and Enterprise, and that Free, Pro and Max accounts are used for training when the user’s setting is on. Engineers on personal plans are the gap to close.
Further
- Codex vs Claude Code for business · The same decision with OpenAI’s coding agent on the other side.
- Rolling out coding agents · The operating layer that decides whether any of these tools helps.
- Engagement file D-01 · The AI platform and skills estate we architect for a large international marketing agency.
- 1AYM’s OpenAI partner status · What the company status covers, and what it does not.
- The founder’s Claude credentials · Two personal certifications, rendered from the public Credly record.
We build these systems for a living. See the engagement files for what that looks like in practice, or write to us if yours is the next one.
Last reviewed · 1AYM