GitHub Chat

GitHub Chat

GitHub · Coding

GitHub Chat is the AI assistant built into GitHub. It answers questions about your code, repositories, and pull requests on github.com, running on models from OpenAI, Anthropic, Google, and xAI.

Interface preview of GitHub Chat

About GitHub Chat

What Is GitHub Chat

GitHub Chat is the conversational side of GitHub Copilot and works as an AI coding assistant inside the browser. It lives inside the website, so you can open it from any page and ask about your own repositories. You get answers about a function you are reading, a bug you are chasing, or a library you have never touched.

The feature solves a specific problem: context switching. Instead of copying code into a separate tab and pasting results back, you ask in place and the assistant already knows which repository and file you mean. That saving matters most when you are skimming unfamiliar code or reviewing someone else's pull request.

The catch is scope. GitHub Chat only reads what your account can already see, and its answers are suggestions rather than verified fixes. You still have to check the output before you merge or ship anything. Chat usage also draws on a credit allowance, so heavy days can run through a metered plan faster than you expect.

Getting Started

  1. Sign in to GitHub and open github.com/copilot, or click the Copilot icon in the top bar of any page.
  2. Pick a model from the dropdown at the bottom of the chat panel if the default does not suit the task.
  3. Type a question. On a repository or pull request page, the assistant picks up that context automatically.
  4. Review the answer, and use the retry control to regenerate it with a different model if you want a second opinion.

Product Information

A quick look at GitHub Chat's pricing, supported platforms, and performance.

Free PlanYes
Paid PlansFree / $10 - $100/mo base credits
PlatformWeb (github.com), GitHub Mobile
DeveloperGitHub
CategoryCoding
Release DateAug 2023
Latest UpdatedOct 2025
Website VisitsN/A
Website Global RankN/A
API AvailabilityN/A

Best for

The users, tasks, and scenarios where this tool fits best.

Users

  • Developers exploring an unfamiliar codebase
  • Reviewers handling pull requests
  • Students learning a language or framework
  • Team leads triaging issues

Tasks

  • Explaining a confusing file
  • Generating a quick script or snippet
  • Summarizing a pull request
  • Answering general coding questions
  • Drafting documentation from code

Scenarios

  • Triage during a busy sprint
  • Onboarding to a new project
  • Spot-checking a dependency
  • Pre-review on a large diff

Key features

Built Into Every GitHub Page

Chat opens from the top bar of github.com, and it knows which repository or pull request you are viewing. You do not paste code or explain where you are. That in-place context is the main reason to use it over a separate chatbot tab.

Automatic Repository Context

When you ask from inside a repository, the assistant pulls in the relevant files and history on its own. You spend less time describing the problem and more time reading the answer. The downside is that it can miss files outside the current view.

Model Picker

A dropdown at the bottom of the panel lets you switch Copilot chat models from OpenAI, Anthropic, Google, and xAI during a conversation. Different models cost different amounts of AI credits, so the choice affects both quality and spend. You can also retry a prompt on another model to compare answers.

Custom Instructions

You can set standing instructions that shape how the assistant responds across sessions. Teams use this to enforce tone, format, or a preferred coding style. It keeps answers consistent without repeating yourself every time.

Pull Request and Diff Summaries

On a pull request, Chat summarizes what changed and points at parts worth a closer look. It is a fast way to orient yourself before reading a long diff line by line. Treat the summary as a starting point, not a substitute for the review.

MCP Server Support

Chat connects to Model Context Protocol servers, which extend what the assistant can reach beyond the repository. That opens the door to external tools and data sources. Setup takes some configuration, so it fits teams more than casual users.

Credit-Based Usage

Chat runs on GitHub AI Credits shared across Copilot features. The free plan allows limited chat and agent use, while paid plans add a monthly base allowance. Watching your credit spend matters once you lean on the assistant daily.

Pros and cons

Pros

  • Works where the code lives, so there is no copy-paste between a chat tab and your editor.
  • Reads repository context automatically, which cuts the time spent explaining your problem.
  • Model picker spans OpenAI, Anthropic, Google, and xAI without leaving GitHub.
  • Free plan gives limited chat and agent access, enough to test the workflow.
  • Custom instructions keep answers consistent across a team.

Cons

  • Chat draws on metered AI credits, so heavy use on a small plan runs out quickly.
  • Answers can be wrong or outdated, which means you still verify every suggestion before shipping.
  • Only sees what your account can access, so private dependencies or external docs stay out of reach unless you wire them in.
  • The deep features, like MCP servers and custom agents, need setup that casual users may not want to tackle.

Frequently asked questions

It answers questions about your code, repositories, and pull requests from inside GitHub. Typical uses include explaining a file, summarizing a pull request, and drafting snippets or documentation.