Skip to content
RealAIApps

GitHub Copilot

AI pair programmer from GitHub that works in VS Code and other editors.

Free plan

Best for: AI code suggestions in the editor you already use, at a low price

Free plan: yes · Paid from: Pro — $10/month or $100/year

What is GitHub Copilot?

GitHub Copilot suggests code as you type and answers coding questions in a chat panel. It works in VS Code, Visual Studio, JetBrains editors and on github.com.

It has a free plan, and it is free for verified students and teachers, which makes it a good first AI coding tool.

How GitHub Copilot works

GitHub Copilot is made by GitHub, which Microsoft owns. It suggests code as you type and has a chat and agent that understand your project.

You can choose between several AI models from OpenAI, Anthropic and Google. Bigger models use more of your monthly allowance.

AI models in GitHub Copilot

A model is the AI "brain" behind a tool. It was trained on huge amounts of text, images, audio or video, and it is what actually writes, draws, speaks or codes when you send a request. GitHub Copilot uses these 5 models:

Checked on . AI companies rename and replace models often, so the list in the app may be newer.

Auto

By GitHub · Picks a model for you

Copilot picks a model for you in chat, the CLI and the cloud agent. GitHub's docs list GPT-5.3-Codex as the fallback model.

How it works

  1. You leave the model picker on Auto.
  2. Copilot chooses a model that fits the task and is available on your plan.

Good for

  • Everyday coding help

Available on: All plans.

OpenAI models (GPT-6.2 Sol, GPT-6 and Codex models)

By OpenAI · Coding

GitHub supports many OpenAI models, including GPT-6.2 Sol, GPT-6.2 Astra, GPT-6 Sol, GPT-5.6 Sol and GPT-5.3-Codex.

How it works

  1. You describe what you want in plain words, inside your project.
  2. The model reads the relevant files, plans the change and writes the code.
  3. In agent mode it runs commands and tests, reads the errors and fixes them until the task works.

Good for

  • Code completion and chat
  • Agent tasks in your repository

Available on: Depends on your plan; stronger models count as premium requests. Check GitHub's model table for your plan.

Anthropic models (Claude Sonnet 5.5, Opus 5.5, Fable 5.2)

By Anthropic · Coding

Claude models are available in Copilot, from Haiku 5.5 up to Fable 5.2.

How it works

  1. You describe what you want in plain words, inside your project.
  2. The model reads the relevant files, plans the change and writes the code.
  3. In agent mode it runs commands and tests, reads the errors and fixes them until the task works.

Good for

  • Larger refactors
  • Explaining unfamiliar code

Available on: Depends on your plan; top models use more premium requests.

Google models (Gemini 4 family)

By Google · Coding

Gemini 4 Carbon, Neon, Hydrogen and Argon, plus Gemini 3.8 Flash.

How it works

  1. You describe what you want in plain words, inside your project.
  2. The model reads the relevant files, plans the change and writes the code.
  3. In agent mode it runs commands and tests, reads the errors and fixes them until the task works.

Good for

  • Working with very large files
  • Fast answers (Flash)

Available on: Depends on your plan.

MAI Code 2 and MAI Code 2 Flash

By Microsoft · Coding

Microsoft's own coding models, announced at Ignite in November 2026 for everyday coding at lower cost.

How it works

  1. You describe what you want in plain words, inside your project.
  2. The model reads the relevant files, plans the change and writes the code.
  3. In agent mode it runs commands and tests, reads the errors and fixes them until the task works.

Good for

  • Everyday coding at lower cost

Available on: Depends on your plan.

What you can use it for

  • Autocomplete lines and whole functions
  • Ask questions about code in chat
  • Generate tests and documentation
  • Let the agent fix an issue and open a pull request on GitHub

Main features

  • Code completions in many editors
  • Copilot Chat with knowledge of your open files
  • Agent mode for multi-file changes
  • Coding agent that works on GitHub issues

AI agents in GitHub Copilot

A normal chatbot answers one message at a time. An AI agent takes a goal, plans the steps, uses tools like a browser, files or your apps, and keeps working until the task is done. You check the result at the end, and sometimes approve important steps along the way.

Agent features change quickly. Check the tool's website for what your plan includes today.

Agent mode

Agent mode works inside your code editor. It plans a change, edits several files, runs commands and fixes its own errors.

How it works

  1. In VS Code or another supported editor, open Copilot Chat and choose Agent.
  2. Describe the task. Copilot finds the right files and makes a plan.
  3. It edits code and runs terminal commands, asking you before it runs them.
  4. It reads test results and errors, and keeps fixing until the task works.

Available on: Free (limited) and paid plans.

Copilot coding agent

The coding agent works on GitHub by itself. You give it an issue, and it comes back with a pull request.

How it works

  1. On GitHub, assign an issue to Copilot, or ask it from chat.
  2. It starts a safe cloud environment using GitHub Actions and works on a new branch.
  3. It writes the code, runs tests, and opens a draft pull request.
  4. You review it and comment. It updates the code based on your comments.

Available on: Pro ($10/month) and higher.

Try asking: Assign it an issue like: "Add input validation to the signup form and show an error if the email is invalid."

Copilot code review

Copilot reviews pull requests and leaves comments with suggested fixes.

How it works

  1. Request a review from Copilot on a pull request.
  2. It reads the changes and comments on bugs, unclear code and possible problems.
  3. You can apply its suggested fixes with one click.

Available on: Paid plans. Each review uses part of your monthly AI allowance.

How to use GitHub Copilot, step by step

  1. Step 1: Sign in to GitHub

    You need a free GitHub account.

  2. Step 2: Turn on Copilot

    Go to github.com/features/copilot and start the free plan, or apply for student access through GitHub Education.

  3. Step 3: Install the extension

    In VS Code, install the GitHub Copilot extension and sign in with GitHub.

  4. Step 4: Start typing

    Write a comment describing what you want, then press Tab to accept the suggestion.

  5. Step 5: Open Copilot Chat

    Ask questions like "explain this function" or "why does this throw an error?".

Example prompt to try

Copy this, then change the details to fit what you need.

Write a function that takes a list of prices and returns the total with 17% sales tax, rounded to 2 decimals, and add 3 unit tests.

Tips for better results

  • A clear comment above a function gives much better suggestions.
  • Students: apply through GitHub Education for free access.

Limits to know before you start

  • The free plan has a monthly limit on completions and chat.
  • Suggestions can be outdated or insecure. Review them.

Pricing

GitHub Copilot pricing
Free planYes. Up to 2,000 code completions per month and limited chat. Free for verified students and teachers.
Cheapest paid planPro — $10/month or $100/year
Other planPro+ — $39/month
Prices checked on 28 Nov 2026. US prices. GitHub has changed how usage is counted in 2026, so check the website for current limits.

Where GitHub Copilot works

Apps and devices

  • VS Code
  • Visual Studio
  • JetBrains editors
  • Xcode
  • GitHub website
  • GitHub Mobile
  • Command line

Works with

  • GitHub issues, pull requests and Actions
  • MCP servers for other tools
  • Slack, Teams and Jira for starting the coding agent

Your data and privacy

  • On personal plans, you can choose in settings whether GitHub may use your code snippets to improve its products.
  • Business and Enterprise code is not used for training.
  • AI-written code can contain bugs and security holes. Read the changes and test them before you ship.

Privacy settings change often. Check the tool's own privacy page before you share anything private.

Details

Category
Coding
Works in Urdu
Not tested yet
Needs an international card
Not tested yet
Our rating
Not reviewed yet

GitHub Copilot FAQ

Is GitHub Copilot free?

Yes. Copilot Free gives a monthly allowance of completions and chat. Verified students and teachers can get Copilot Pro free.

What is the difference between agent mode and the coding agent?

Agent mode works in your editor while you watch. The coding agent works on GitHub in the background and gives you a pull request when it's done.

Alternatives to GitHub Copilot

Other tools to write code or build an app. See all coding tools

Articles that mention GitHub Copilot