Skip to main content

How Copilot serves AI models

Learn how Copilot Chat serves different AI models.

GitHub Copilot can use a variety of AI models. This article explains how Copilot serves these models.

OpenAI models

Used for:

  • o3
  • o4-mini

These models are hosted by OpenAI and GitHub's Azure tenant when used in GitHub Copilot. OpenAI makes the following data commitment: We [OpenAI] do not train our models on your business data by default. GitHub maintains a zero data retention agreement with OpenAI.

When using OpenAI's models, input requests and output responses continue to run through GitHub Copilot's content filters for public code matching, when applied, along with those for harmful or offensive content.

Anthropic models

Used for:

  • Клод Opus 4
  • Клод Соннет 3.5
  • Клод Соннет 3.7
  • Клод Соннет 3.7 Thinking
  • Клод Соннет 4

Клод Opus 4 and Клод Соннет 4 are hosted by Anthropic PBC and Google Cloud Platform. Клод Соннет 3.7 is hosted by Amazon Web Services, Anthropic PBC, and Google Cloud Platform. Клод Соннет 3.5 is hosted exclusively by Amazon Web Services. GitHub has provider agreements in place to ensure data is not used for training. Additional details for each provider are included below:

To provide better service quality and reduce latency, GitHub uses prompt caching. You can read more about prompt caching on Anthropic PBC, Amazon Bedrock, and Google Cloud.

When using Клод, 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 or offensive content.

Google models

Used for:

  • Близнецы 2.5 Pro
  • Gemini 2.0 Flash

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

When using Близнецы 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 or offensive content.