GitHub Copilot is an AI coding-assistance service from GitHub (owned by Microsoft). It plugs into the editor you already use (VS Code, JetBrains, Visual Studio, Xcode and others) and fits straight into the GitHub Issue and PR (pull request) workflow.

There are three ways to use it: ① "completion," which suggests what comes next as you type; ② "chat and agent mode," which you ask from your editor or the GitHub UI; and ③ "cloud agent," which works in the background when you assign it an Issue and opens a PR.

The key thing when choosing a plan is that the three modes are billed differently. Since June 1, 2026, chat and agents are metered by the tokens they use, counted in "AI credits" (1 credit = $0.01). Completions do not use credits on paid plans.

This article covers what drains your allowance, how many credits a single task costs, which plan to pick, and how to get started with the cloud agent — all checked against GitHub's official documentation on November 12, 2026.

Copilot's three modes, and how each uses your monthly allowance

① CompletionSuggests the next lines as you type (accept with Tab)
On paid plans it is unlimited and uses no credits (same for next edit suggestions). Free is capped at 2,000 a month
② Chat and agent modeAnswers questions and edits multiple files while you watch
Runs in your editor, Copilot CLI and the GitHub Copilot app. The tokens it uses are paid for in AI credits
③ Cloud agentAssign it an Issue; it works in the background and opens a PR
Paid plans and Student only. On top of AI credits, its running time comes out of your GitHub Actions compute allowance

Checked against GitHub Docs on November 12, 2026. Sources in section 4

1. What is GitHub Copilot? From completion to a self-driving agent

Copilot took off in 2021 as a completion tool that showed the rest of your code in grey text.

Today it also has agent mode, which edits several files when you ask in chat, and the cloud agent (formerly called Copilot coding agent), which takes an Issue, works on GitHub and opens a PR. Its role has grown from "a tool that suggests what you were about to type" to "something you hand a task to and that gets on with it."

Where to use it

  • Editors: It installs as an extension for VS Code, Visual Studio, the JetBrains IDEs, Eclipse, Xcode, Neovim and more
  • Xcode integration: Since November 4, 2026, you can also pick Copilot inside Xcode's built-in coding assistant (public preview, Xcode 27.3 beta or later; GitHub Changelog)
  • Outside the editor: Copilot CLI in the terminal, the desktop GitHub Copilot app, github.com, GitHub Mobile, Slack and Microsoft Teams
  • The CLI and the app are included in every plan, Free included (GitHub Docs, "Plans for GitHub Copilot")

Unlike Cursor, where you switch to a whole new editor, Copilot adds to the editor you already have, which makes it easy to start. That said, Cursor and Claude Code now also run in almost every surface — terminal, IDE and cloud — so you are less likely to choose wrong by looking at "how usage is counted" and "how close it is to GitHub" rather than "where it runs" (section 7).

2. What it can do: three modes, plus code review

The easiest way to tell the three modes apart is who is driving. In ① and ② you drive and the AI assists; in ③ the AI drives and you supervise.

ModeWhereGood forOn Free?
① CompletionEditorRepetitive patterns, finishing a function, test scaffolding✓ (up to 2,000 a month)
② Chat and agent modeEditor, CLI, app, github.comExplanations, bug fixes, multi-file changes you follow as they happen✓ (limited, auto model selection only)
③ Cloud agentOn GitHub (started from github.com, Mobile, CLI, app, VS Code, Slack or Teams)Handing off a well-scoped Issue and getting a PR back✕ (paid plans and Student)
Copilot code reviewPull requestsAutomatic review when a PR is opened✕ (only "review selection" in VS Code)

Sources: GitHub Docs, "Plans for GitHub Copilot" and GitHub Changelog (October 28, 2026)

Agent mode works inside your editor: ask it to "add this feature" and it reads the relevant files, edits them, runs commands when needed and tries to fix errors that come up. Because the changes happen in front of you, you can stop it and correct course midway. It rolled out to all VS Code users in April 2025 and became generally available in JetBrains, Eclipse and Xcode on July 16, 2025 (GitHub Changelog).
Copilot code review has, since March 5, 2026, gathered and read the code and directory structure relevant to a change on its own. Its comments can be handed to the cloud agent with "Fix with Copilot," and since October 2 you can also request reviews through the API (Changelog entries for March 5, May 19 and October 2). The model used for reviews is chosen automatically and not disclosed, so the credit cost varies from review to review. The infrastructure that runs reviews also uses GitHub Actions minutes (GitHub Docs, "Models and pricing").
There is a safeguard for running it locally, too. Local sandboxing, generally available since October 7, 2026, limits which files the commands Copilot runs can read and write, and what they can reach on the internet, your internal network and your Git credentials, in Copilot CLI, the GitHub Copilot app and some VS Code sessions. It costs nothing extra (GitHub Changelog).

3. How to hand an Issue to the cloud agent

The cloud agent is the most "GitHub" part of Copilot. Pick Copilot as the Issue's assignee and work begins; the result arrives as a PR.

The official steps are as follows (GitHub Docs, "Kick off a task with Copilot agents on GitHub").

1
Open the Issue and choose Copilot under "Assignees" in the right sidebar. If Copilot is not in the list on Business or Enterprise, an administrator has not enabled it yet
2
Add context in the "Optional prompt" field. Which files it may change, which conventions to follow, which tests must pass. On the same screen you can choose the model (and reasoning level, where supported), a custom agent, the base branch and the target repository
3
Copilot works in the background, opens a PR and asks for your review. Assigning from an Issue always produces a PR
4
Put follow-up instructions in PR comments, not on the Issue. Copilot does not read comments added to the Issue after assignment

Limits worth knowing up front

  • Each task works on one branch and opens one PR
  • Sessions running on GitHub Actions last at most 59 minutes and cannot be extended
  • Without write access to the repository the session is read-only, and branch protection rules can stop it from creating a PR
  • It only works with repositories hosted on GitHub

Source: GitHub Docs, "About GitHub Copilot cloud agent" (GitHub Docs)

Since October 28, 2026, "Copilot in the cloud," including the cloud agent, has been one connected experience (GitHub Changelog, October 28, 2026).

ItemHow it works since October 28, 2026
Where to startStart from github.com/copilot, a repository's Agents tab, GitHub Mobile, Copilot CLI, the app, VS Code, Slack or Teams, and pick it up anywhere else
Where it runsBy default, in an isolated cloud sandbox hosted by GitHub
CostFrom November 2026, usage is drawn, separately from AI credits, from your account's GitHub Actions compute entitlement (a dollar-based pool shared with standard runners)
AvailabilityPaid plans (Free users keep chat on github.com and Mobile)
How you write the Issue changes the result. A vague Issue like "fix the login screen" tends to produce an off-target PR. Say what to change, in which files, and what must pass for it to count as done, and keep repository conventions in .github/copilot-instructions.md or AGENTS.md (section 8). Sizing each Issue so it can be finished in 59 minutes avoids half-done PRs from timeouts.

4. Pricing: Free / Pro $10 / Pro+ $39 / Max $100 and AI credits

There are four individual plans and two for organizations. The details below were checked on GitHub's pricing page and documentation on November 12, 2026. What changes between plans is two things: how many credits you get each month, and which models you can pick.

PlanMonthly priceMonthly AI credits (base + flex)Model choiceCloud agent
Free$0Amount not stated (2,000 completions a month)Auto selection only✕
Student$0 (verified students)Same as Free (unlimited completions)Auto selection only✓
Pro$101,500 (1,000 + 500)16 models including Claude Sonnet and Haiku, GPT Terra and Luna, and Gemini Flash (no Opus, Fable, GPT Sol or Astra, Gemini 4 and others)✓
Pro+$397,000 (3,900 + 3,100)Every listed model✓
Max$10020,000 (10,000 + 10,000)Every listed model, priority access to new models✓
Business$19/user1,900 per userSet by administrators✓ (an administrator enables it)
Enterprise$39/user3,900 per userSet by administrators✓ (an administrator enables it)

Sources: GitHub pricing page, GitHub Docs, "Plans for GitHub Copilot" and GitHub Docs, "Usage-based billing for individuals" (all checked November 12, 2026)

How credits work

  • 1 credit = $0.01; Pro's 1,500 credits are worth $15
  • Base credits are used first, then the flex allotment at the same rates
  • Flex is the top-up GitHub says it adjusts "as model prices and efficiency change"
  • The allowance resets at 00:00 UTC on the 1st of each month, and unused credits do not carry over (the reset date is fixed, regardless of when you subscribed)
Uses no credits
Completions and next edit suggestions (unlimited on paid plans)
Uses credits
Chat, Copilot CLI, cloud agent, Copilot Spaces, Spark, third-party coding agents
Also uses Actions compute
Cloud agent sandboxes (from November 2026) and the infrastructure behind code review

Three options when you run out

  • ① Upgrade and pay only the difference (what you have already used that month counts toward the new plan's allowance)
  • ② Set a budget in US dollars and pay for extra usage (a $10 budget buys 1,000 credits; for individuals, additional usage may be capped and you may need to pay for what you have used before continuing)
  • ③ Wait for next month's reset

Business and Enterprise users see a prompt to ask their administrator for more budget.

Ways to lower the rate

  • Using auto model selection in chat and the cloud agent gives paid plans 10% off model costs
  • Copilot Fusion, generally available since October 28, 2026, lets Copilot pick and combine models for each task (Standard, High and Max levels). It is billed at the standard rate of each model it uses, but paid plans get 30% off until November 30, 2026 (GitHub Changelog, GitHub Docs)

Annual Pro and Pro+ subscriptions stay on the older "premium request" system until they expire, then move to Free. You can also switch to monthly early, with prorated credits for the remaining term. The base prices themselves (Pro $10, Pro+ $39) did not change (GitHub Blog, April 27, 2026).

5. How many credits per task? Working it out from the official rates

Credit use comes down to the model's rate × the number of tokens. GitHub Docs' "Models and pricing for GitHub Copilot" lists each model's price per million tokens (with different rates for input, cached input, output and so on).

As an illustration, assume one medium-sized fix in agent mode that uses 300,000 input tokens (250,000 of them read from cache) and 20,000 output tokens. These token counts are hypothetical values for the calculation; real usage varies a lot with repository size and conversation length.

Model (plans)Rate (input / cached / output, per 1M tokens)One taskCredits
GPT-6.1 Terra (Pro and up)$1.00 / $0.05 / $5.00$0.05 + $0.0125 + $0.10 = about $0.16About 16
Claude Sonnet 5.5 (Pro and up)$2.00 / $0.10 / $10.00$0.10 + $0.025 + $0.20 = about $0.33About 33
Claude Fable 5.2 (Pro+ and up)$8.00 / $0.20 / $40.00$0.40 + $0.05 + $0.80 = $1.25125

Rates from GitHub Docs, "Models and pricing for GitHub Copilot" (checked November 12, 2026).

Calculation assumptions and excluded charges

Input rates are for prompts below the long-context threshold. Cache write charges are not included; all three models have a cache write rate (per 1M tokens: Terra $1.25, Sonnet 5.5 $2.50, Fable 5.2 $10.00), so the real number of tasks is somewhat lower.

Converted to a monthly allowance, that gives a rough number of times you could repeat the same task:

Pro (1,500) × GPT-6.1 TerraAbout 92
Pro (1,500) × Claude Sonnet 5.5About 46
Pro+ (7,000) × Claude Fable 5.256

Allowance divided by the hypothetical task above. Bar length is relative to the highest value, 92

What this tells us

  • On the same Pro plan, your choice of model roughly doubles or halves how many tasks you get: Leave everyday fixes to a lighter model or auto selection and save the top models for hard design questions, and your allowance lasts longer
  • If you want the top model families such as Opus, Fable or Sol, that alone means Pro+ or above: Pro cannot select them at all

Ways to use fewer tokens are in our guide to saving tokens.

6. Which plan should you choose?

Putting the calculation in section 5 together with the table in section 4, here is a plan for each situation. Expect to revisit the choice after watching your usage for the first month or two.

Your situationPlanWhy
You want to try completion and chat firstFree2,000 completions a month, and you can try the CLI, the app and agent mode too
You are a studentStudentFree, with unlimited completions, the cloud agent and code review
Mostly completion, agents now and thenProUnlimited completions that use no credits, and 1,500 credits go a long way on lighter models
You want to give the cloud agent Issues every dayPro, then Pro+ if it runs shortUpgrading costs only the difference, and what you have used counts toward the new allowance
You want Opus, Fable, GPT Sol and similarPro+ or aboveThese models cannot be selected on Pro
You run several agents all dayMax20,000 credits and priority access to new models
Rolling out at a company or controlling how code is handledBusiness or EnterpriseOrganization policies, file exclusion and IP indemnity are only on organization plans

Defaults to decide on before rolling out at a company

  • Default policy for new features (Default policy for new features, effective October 22, 2026): Generally available features an administrator has not configured follow this default (enabled, disabled, or let organizations decide; GitHub Changelog)
  • Model default (a separate policy, "Default availability for released models"): A newly released, generally available model follows this default until an administrator configures it (GitHub Docs)
  • Exception: Preview models and open-weight models such as DeepSeek and Kimi K3 are disabled by default regardless of this setting

7. How it differs from Cursor, Claude Code and Codex

All four now run in nearly every surface: terminal, IDE and cloud. Three differences remain.

Home base: Copilot lives in GitHub Issues and PRs. Choose Copilot as the assignee and work starts; review happens on the same screen. Cursor's entry point is its own editor, Claude Code's is a Claude subscription, and Codex's is a ChatGPT subscription
Models: Copilot and Cursor let you choose models from several companies. Claude Code uses only Claude, and Codex only OpenAI models
How usage is counted: Copilot states its monthly AI credits as a dollar amount, drawn down at each model's API rate. Claude Code and Codex mainly count usage in 5-hour and weekly windows (some higher plans have no 5-hour limit) and do not state them in dollars. So the monthly price alone cannot tell you how much work the same money buys

On any paid plan you can also assign work to third-party coding agents from inside Copilot (GitHub Docs). The Claude Code and Codex limits above come from each vendor's documentation (Claude Code Docs, Codex Pricing).

Related reading

8. Getting started

① Turn on Copilot with your GitHub account. Free is only for individuals who do not get Copilot through an organization or enterprise. Students can use Student, and verified teachers and maintainers of popular open-source projects may be eligible for free Pro (GitHub Docs).

② Sign in from your editor.

WhereWhat to do
VS CodeHover over the Copilot icon in the status bar, choose "Use AI Features" and sign in with GitHub (without a plan you are signed up for Free; source: VS Code documentation)
JetBrains, Eclipse, Visual StudioInstall the GitHub Copilot plugin (extension) for your editor and sign in
XcodeOn Xcode 27.3 beta or later, set up Copilot in "Xcode > Settings > Intelligence" (macOS 26.6 or later), with the existing GitHub Copilot for Xcode extension still available as a separate option
Terminal and desktopInstall Copilot CLI or the GitHub Copilot app and sign in

③ Put instruction files in your repository. Here is where Copilot reads instruction files (GitHub Docs).

LocationHow it is read
.github/copilot-instructions.mdCopilot reads it as instructions for the entire repository
.github/instructions/ files named NAME.instructions.mdCopilot reads them as instructions for specific paths only
AGENTS.md (or CLAUDE.md or GEMINI.md at the repository root)Agents also read these

In VS Code, typing /init in chat reads your codebase and drafts one for you. For examples, see our instruction prompts and templates; for how per-folder rules get picked up, see CLAUDE.md and AGENTS.md in subdirectories.

④ Set a budget, then hand over one small Issue. Setting a US-dollar budget for extra usage in your GitHub billing settings protects you from surprise charges. Start by giving the cloud agent something like "add one test" or "fix an error message," look at the quality of the PR and the credits it used, and then widen what you delegate.

Summary

GitHub Copilot is GitHub's AI coding assistant, with three modes: completion, chat and agent mode, and the cloud agent. Its distinctive strength is that it adds to your current editor, and that an assigned Issue comes back as a PR.

Pricing at a glance

  • Free / Pro $10 / Pro+ $39 / Max $100 (organizations: $19 and $39 per user)
  • Since June 2026, chat and agents are metered in AI credits (1 credit = $0.01)
  • Completions are unlimited and use no credits on paid plans
  • How fast credits go depends heavily on the model's rate, and the top model families such as Opus, Fable and Sol are only selectable on Pro+ and above
  • From November 2026, cloud agent sandboxes also draw on your Actions allowance

If in doubt, start on Free or Pro and upgrade as you watch your usage — it is the least wasteful order, and upgrading costs only the difference. For comparing tools, see the four-tool comparison; for how agents change the development process, see How AI changes the software development lifecycle.

FAQ

Q. Can I use GitHub Copilot for free?
A. Yes. Free gives you 2,000 completions a month, limited chat and agent mode, and auto model selection only. The cloud agent is not included. Students on Student get unlimited completions and the cloud agent. Teachers and maintainers of popular open-source projects may get Pro for free if they qualify (eligibility is reviewed monthly).

Q. Are Pro's 1,500 credits enough?
A. It depends on how you use it. If you mostly use completion, which uses no credits, it is usually enough. In the hypothetical calculation in section 5, the allowance runs out after about 46 medium-sized fixes on Claude Sonnet 5.5, or about 92 on GPT-6.1 Terra. If you plan to hand the cloud agent work every day, use it for a month, look at your usage, then consider Pro+. Upgrading costs only the difference.

Q. What about copyright and safety of code Copilot writes?
A. A filter that blocks suggestions matching public code (with code referencing) is available on every plan, Free included. Indemnity against intellectual-property claims is not included in the individual Free, Pro, Pro+ or Max plans; it is for Business and Enterprise (GitHub pricing page). Never trust generated code as-is: always review and test it. For handling secrets, see what not to put in prompts.

Q. If I hand work to the agent, do I still need to write code?
A. It does not go that far. The cloud agent produces drafts and routine implementations quickly, but deciding what to build, making design calls and doing the final review remain human work. It is more accurate to think of it as "hand over well-scoped Issues and review the PRs that come back." The better your instruction files and the clearer your Issues, the better the PRs.