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
Checked against GitHub Docs on November 12, 2026. Sources in section 4
Contents
- 1. What is GitHub Copilot? From completion to a self-driving agent
- 2. What it can do: three modes, plus code review
- 3. How to hand an Issue to the cloud agent
- 4. Pricing: Free / Pro $10 / Pro+ $39 / Max $100 and AI credits
- 5. How many credits per task? Working it out from the official rates
- 6. Which plan should you choose?
- 7. How it differs from Cursor, Claude Code and Codex
- 8. Getting started
- Summary
- FAQ
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.
| Mode | Where | Good for | On Free? |
|---|---|---|---|
| ① Completion | Editor | Repetitive patterns, finishing a function, test scaffolding | ✓ (up to 2,000 a month) |
| ② Chat and agent mode | Editor, CLI, app, github.com | Explanations, bug fixes, multi-file changes you follow as they happen | ✓ (limited, auto model selection only) |
| ③ Cloud agent | On 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 review | Pull requests | Automatic 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)
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").
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).
| Item | How it works since October 28, 2026 |
|---|---|
| Where to start | Start 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 runs | By default, in an isolated cloud sandbox hosted by GitHub |
| Cost | From 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) |
| Availability | Paid plans (Free users keep chat on github.com and Mobile) |
.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.
| Plan | Monthly price | Monthly AI credits (base + flex) | Model choice | Cloud agent |
|---|---|---|---|---|
| Free | $0 | Amount not stated (2,000 completions a month) | Auto selection only | ✕ |
| Student | $0 (verified students) | Same as Free (unlimited completions) | Auto selection only | ✓ |
| Pro | $10 | 1,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+ | $39 | 7,000 (3,900 + 3,100) | Every listed model | ✓ |
| Max | $100 | 20,000 (10,000 + 10,000) | Every listed model, priority access to new models | ✓ |
| Business | $19/user | 1,900 per user | Set by administrators | ✓ (an administrator enables it) |
| Enterprise | $39/user | 3,900 per user | Set 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)
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 task | Credits |
|---|---|---|---|
| GPT-6.1 Terra (Pro and up) | $1.00 / $0.05 / $5.00 | $0.05 + $0.0125 + $0.10 = about $0.16 | About 16 |
| Claude Sonnet 5.5 (Pro and up) | $2.00 / $0.10 / $10.00 | $0.10 + $0.025 + $0.20 = about $0.33 | About 33 |
| Claude Fable 5.2 (Pro+ and up) | $8.00 / $0.20 / $40.00 | $0.40 + $0.05 + $0.80 = $1.25 | 125 |
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:
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 situation | Plan | Why |
|---|---|---|
| You want to try completion and chat first | Free | 2,000 completions a month, and you can try the CLI, the app and agent mode too |
| You are a student | Student | Free, with unlimited completions, the cloud agent and code review |
| Mostly completion, agents now and then | Pro | Unlimited 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 day | Pro, then Pro+ if it runs short | Upgrading costs only the difference, and what you have used counts toward the new allowance |
| You want Opus, Fable, GPT Sol and similar | Pro+ or above | These models cannot be selected on Pro |
| You run several agents all day | Max | 20,000 credits and priority access to new models |
| Rolling out at a company or controlling how code is handled | Business or Enterprise | Organization 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.
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
- A side-by-side comparison of pricing, limits and GitHub workflow across all four: Cursor vs Claude Code vs Copilot vs Codex
- The option of switching your whole editor: What is Cursor
- The difference between Claude Code and Codex: Claude Code vs Codex
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.
| Where | What to do |
|---|---|
| VS Code | Hover 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 Studio | Install the GitHub Copilot plugin (extension) for your editor and sign in |
| Xcode | On 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 desktop | Install 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).
| Location | How it is read |
|---|---|
.github/copilot-instructions.md | Copilot reads it as instructions for the entire repository |
.github/instructions/ files named NAME.instructions.md | Copilot 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.