Skip to main content

Using Gemini in Copilot Chat

Learn how to enable Gemini in GitHub Copilot Chat, for yourself or your organization.

About Gemini in GitHub Copilot

Gemini models are large language models (LLMs) that you can use as an alternative to the default model used by Copilot Chat. Gemini models are responsive LLMs that can empower you to build apps faster and more easily, so you can focus on great experiences for your users. Gemini 2.0 Flash의 기능에 대한 자세한 내용은 개발자용 Google 블로그Google Cloud 설명서를 참조하세요. Google의 데이터 처리 정책에 대한 자세한 내용은 Google 웹 사이트의 생성 AI 및 데이터 거버넌스를 참조하세요.

Gemini is currently available in:

  • Copilot Chat in Visual Studio Code
  • Immersive mode in Copilot Chat in GitHub

GitHub Copilot uses Gemini 2.0 Flash and Gemini 2.5 Pro hosted on Google Cloud Platform (GCP). When using Gemini models, prompts and metadata are sent to GCP, which makes the following data commitment: Gemini doesn't use your prompts, or its responses, as data to train its models.

When using Gemini models, input prompts and output completions continue to run through GitHub Copilot's content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.

Configuring access

You must enable access to Gemini 2.0 Flash and Gemini 2.5 Pro before you can use the model.

Setup for individual use

Note

Gemini 2.5 Pro is not currently available for Copilot Free.

If you have a Copilot Free, Copilot Pro, or Copilot Pro+ subscription, you can enable Gemini in two ways:

  • The first time you choose to use Gemini models with Copilot Chat in Visual Studio Code, or in the immersive view of Copilot Chat, you will be prompted to allow access to the model.

    Clicking Allow enables you to use Gemini and updates the policy in your personal settings on GitHub.

  • You can enable the model directly in your personal settings on the GitHub website. See 개별 구독자로 Copilot 정책 관리.

Setup for organization use

As an organization owner, you can enable or disable both Gemini 2.0 Flash and Gemini 2.5 Pro for everyone who has been assigned a Copilot Business seat through your organization. See 조직에서 Copilot에 대한 정책 관리.

Using Gemini

For details of how to change the model that Copilot Chat uses, see Copilot Chat에 대한 AI 모델 변경.