Skip to main content

Supported AI models in GitHub Copilot

Learn about the supported AI models in GitHub Copilot.

GitHub Copilot supports multiple models, each with different strengths. Some models prioritize speed and cost-efficiency, while others are optimized for accuracy, reasoning, or working with multimodal inputs (like images and code together).

Depending on your Copilot plan and where you're using it—such as GitHub.com or an IDE—you may have access to different models.

Note

  • Model availability is subject to change. Some models may be replaced or updated over time.
  • In Visual Studio Code you can add more models than those that are available by default with your Copilot subscription. See Changing the AI model for GitHub Copilot Chat.

For all of the default AI models, input prompts and output completions run through GitHub Copilot's content filters for harmful, offensive, or off-topic content, and for public code matching when enabled.

Supported AI models in Copilot

This table lists the AI models available in Copilot, along with their release status and availability in different modes.

Model nameProviderRelease statusAgent modeAsk modeEdit mode
GPT-4.1OpenAIClosing down 2026-06-01
GPT-5 miniOpenAIGA
GPT-5.2OpenAIClosing down 2026-06-01
GPT-5.2-CodexOpenAIClosing down 2026-06-01
GPT-5.3-CodexOpenAIGA
GPT-5.4OpenAIGA
GPT-5.4 miniOpenAIGA
GPT-5.4 nano1OpenAIGA
GPT-5.5OpenAIGA
Claude Haiku 4.5AnthropicGA
Claude Opus 4.5AnthropicGA
Claude Opus 4.6AnthropicGA
Claude Opus 4.6 (fast mode) (preview)AnthropicPublic preview
Claude Opus 4.7AnthropicGA
Claude Opus 4.8AnthropicGA
Claude Sonnet 4.5AnthropicGA
Claude Sonnet 4.6AnthropicGA
Gemini 2.5 ProGoogleGA
Gemini 3 FlashGooglePublic preview
Gemini 3.1 ProGooglePublic preview
Gemini 3.5 FlashGoogleGA
Raptor miniFine-tuned GPT-5 miniPublic preview

Supported AI models in Auto model selection

This table lists the supported AI models for Auto model selection. Available models may be limited by model policies. See About Copilot auto model selection.

ModelCopilot cloud agentCopilot ChatCopilot CLI
GPT-4.1
GPT-5 mini
GPT-5.3-Codex
GPT-5.4
GPT-5.4 mini
Claude Haiku 4.5
Claude Sonnet 4.6
Raptor mini

Models with extended capabilities

The latest Copilot models support the following extended capabilities.

  • 1 million token context window: Allows the model to process significantly more content in a single session. This is useful when working across large codebases, long documents, or complex multi-file projects. When you select a supported model, you can choose between the default context size or the extended (1 million token) context.
  • Configurable reasoning levels: Controls the depth of the model's reasoning process before it generates a response. When you select a supported model, you can choose which reasoning level you want to use. Higher reasoning levels can improve the quality of responses to complex problems.

Choosing a larger context window or higher reasoning will impact AI credits consumption; more tokens will be consumed, so more credits will be used. For this reason, we recommend that you use the regular context window and regular reasoning by default, selecting the larger context window and higher reasoning for more complex tasks only.

Note

These extended capabilities are available in Visual Studio Code and Copilot CLI only.

Model1 million token context windowConfigurable reasoning
Claude Sonnet 4.6
Claude Opus 4.6
Claude Opus 4.6 (fast mode) (preview)
Claude Opus 4.7
Claude Opus 4.8
GPT-5.3-Codex
GPT-5.4
GPT-5.5

Model retirement history

The following table lists AI models that are retired or scheduled for retirement from Copilot, along with their retirement dates and suggested alternatives.

Model nameRetirement dateSuggested alternative
Grok Code Fast 12026-05-15GPT-5 mini
Claude Sonnet 42026-05-01Claude Sonnet 4.6
GPT-5.12026-04-15GPT-5.3-Codex
GPT-5.1-Codex2026-04-01GPT-5.3-Codex
GPT-5.1-Codex-Max2026-04-01GPT-5.3-Codex
GPT-5.1-Codex-Mini2026-04-01GPT-5.3-Codex
Gemini 3 Pro2026-03-26Gemini 3.1 Pro
Claude Opus 4.12026-02-17Claude Opus 4.6
GPT-52026-02-17GPT-5.2
GPT-5-Codex2026-02-17GPT-5.2-Codex
Claude Sonnet 3.52025-11-06Claude Haiku 4.5
Claude Opus 42025-10-23Claude Opus 4.6
Claude Sonnet 3.72025-10-23Claude Sonnet 4.6
Claude Sonnet 3.7 Thinking2025-10-23Claude Sonnet 4.6
Gemini 2.0 Flash2025-10-23Gemini 2.5 Pro
o1-mini2025-10-23GPT-5 mini
o32025-10-23GPT-5.2
o3-mini2025-10-23GPT-5 mini
o4-mini2025-10-23GPT-5 mini

Supported AI models per client

The following table shows which models are available in each client.

ModelGitHub.comCopilot CLIVisual Studio CodeVisual StudioEclipseXcodeJetBrains IDEs
Claude Haiku 4.5
Claude Opus 4.5
Claude Opus 4.6
Claude Opus 4.6 (fast mode) (preview)
Claude Opus 4.7
Claude Opus 4.8
Claude Sonnet 4.5
Claude Sonnet 4.6
Gemini 2.5 Pro
Gemini 3 Flash
Gemini 3.1 Pro
Gemini 3.5 Flash
GPT-4.1
GPT-5 mini
GPT-5.2
GPT-5.2-Codex
GPT-5.3-Codex
GPT-5.4
GPT-5.4 mini
GPT-5.4 nano1
GPT-5.5
Raptor mini

Minimum IDE versions for recent models

Some Copilot models require minimum versions of supported IDEs or Copilot extensions or plugins. The table below lists the minimum versions known from changelog entries or provided release guidance. This information is tentative and subject to change as model support rolls out. For best results, keep your IDE and Copilot extension or plugin updated to the latest available version.

ModelVisual Studio CodeVisual StudioJetBrains IDEsXcodeEclipse
Gemini 3 Flashv1.115.0 and later17.14.22 or 18.1.0 and later1.5.62 and later0.46.0 and later0.14.0 and later
Gemini 3.1 Prov1.115.0 and later17.14.22 or 18.1.0 and later1.5.62 and later0.46.0 and later0.14.0 and later
Gemini 3.5 Flashv1.115.0 and later17.14.22 or 18.1.0 and later1.5.62 and later0.46.0 and later0.14.0 and later
GPT-5.2-CodexNo minimum listed17.14.19 or 18.0.0 and later1.5.61 and later0.45.0 and later0.13.0 and later
GPT-5.3-Codexv1.104.1 and later17.14.19 and later1.5.61 and later0.45.0 and later0.13.0 and later
GPT-5.4v1.104.1 and later17.14.19 and later1.5.66 and later0.47.0 and later0.15.0 and later
GPT-5.4 miniv1.104.1 and later17.14.19 and later1.5.66 and later0.47.0 and later0.15.0 and later
GPT-5.5v1.117 and later17.14.19 and later1.5.66 and later0.47.0 and later0.15.0 and later
Claude Opus 4.8v1.118 and later17.14.19 and laterTBDTBDTBD

Note

  • For GPT-5.3-Codex in Visual Studio Code, v1.108 and later provide improved prompting and response quality.
  • "No minimum listed" means the reviewed changelog or release guidance did not specify a minimum version, not that all older versions are supported.
  • Even when a model appears in the model picker on older supported versions, prompting and model behavior may work best with the latest IDE and Copilot extension or plugin versions.

Supported AI models per Copilot plan

The following table shows which AI models are available in each Copilot plan. For more information about the plans, see Plans for GitHub Copilot.

Note

Copilot Student and Copilot Free users have access to a selection of models, which are subject to change.

Available modelsCopilot ProCopilot Pro+Copilot MaxCopilot BusinessCopilot Enterprise
Claude Haiku 4.5
Claude Opus 4.5
Claude Opus 4.6
Claude Opus 4.6 (fast mode) (preview)
Claude Opus 4.7
Claude Opus 4.8
Claude Sonnet 4.5
Claude Sonnet 4.6
Gemini 2.5 Pro
Gemini 3 Flash
Gemini 3.1 Pro
Gemini 3.5 Flash
GPT-4.1
GPT-5 mini
GPT-5.2
GPT-5.2-Codex
GPT-5.3-Codex
GPT-5.4
GPT-5.4 mini
GPT-5.4 nano1
GPT-5.5
Raptor mini

Fallback and long-term support (LTS) models

For more information about fallback and LTS models, see Base and long-term support (LTS) models.

Evaluation models

GitHub Copilot offers access to evaluation models.

Important

  • Testing revealed evaluation models may perform worse than other models on security-related, or other categories of prompts.
  • Users should always carefully review and validate code, including code security, using a range of models and with a thorough human review before incorporating suggestions into production.

Evaluation models may appear in product with codenames rather than official model or provider names. These models come from, or are fine-tuned by, one or more of the following providers: Microsoft, OpenAI, Anthropic, Google. Data handling for each provider is limited to GitHub's existing agreement with that provider, and evaluation models undergo GitHub and Microsoft testing and verification before release.

Evaluation models may be added, updated, or removed without notice. Availability and rate limits may differ from generally available models.

Access to evaluation models in auto model selection for users Copilot plans for individuals is governed by a policy. To disable evaluation models:

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. At the top of the page, click AI controls.
  3. For the Evaluation models in Copilot auto model selection setting, select Disabled from the dropdown.

Utility models

Utility models power background features across surfaces, and cannot be disabled or selected in the model picker. See Utility models.

The following models are currently used as utility models:

  • GPT-4o mini
  • GPT-4o
  • GPT-4.1
  • GPT-5.4 nano

Next steps

Footnotes

  1. GPT-5.4 nano is currently only available in the Codex Visual Studio Code extension (Copilot Pro+ only) and is not available in Copilot Chat. 2 3