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:
- Amazon Bedrock: Amazon makes the following data commitments: Amazon Bedrock doesn't store or log your prompts and completions. Amazon Bedrock doesn't use your prompts and completions to train any AWS models and doesn't distribute them to third parties.
- Anthropic PBC: GitHub maintains a zero data retention agreement with Anthropic.
- Google Cloud: Google commits to not training on GitHub data as part of their service terms. GitHub is additionally not subject to prompt logging for abuse monitoring.
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.