×

注意!页面内容来自https://docs.github.com/en/copilot/reference/ai-models/supported-models,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

Skip to main content

Supported AI models in GitHub Copilot

Learn about the supported AI models in GitHub Copilot.

GitHub Copilot supports multiple modelseach with different strengths. Some models prioritize speed and cost-efficiencywhile others are optimized for accuracyreasoningor 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 modelsinput prompts and output completions run through GitHub Copilot's content filters for harmfuloffensiveor off-topic contentand for public code matching when enabled.

Supported AI models in Copilot

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

Model nameProviderRelease statusAgent modeAsk modeEdit mode
GPT-4.1OpenAIGA
GPT-5 miniOpenAIGA
GPT-5.1OpenAIClosing down: 2026-04-15
GPT-5.2OpenAIGA
GPT-5.2-CodexOpenAIGA
GPT-5.3-CodexOpenAIGA
GPT-5.4OpenAIGA
GPT-5.4 miniOpenAIGA
Claude Haiku 4.5AnthropicGA
Claude Opus 4.5AnthropicGA
Claude Opus 4.6AnthropicGA
Claude Opus 4.6 (fast mode) (preview)AnthropicPublic preview
Claude Sonnet 4AnthropicGA
Claude Sonnet 4.5AnthropicGA
Claude Sonnet 4.6AnthropicGA
Gemini 2.5 ProGoogleGA
Gemini 3 FlashGooglePublic preview
Gemini 3.1 ProGooglePublic preview
Grok Code Fast 1xAIGA
Raptor miniFine-tuned GPT-5 miniPublic preview
GoldeneyeFine-tuned GPT-5.1-CodexPublic preview

Model retirement history

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

Model nameRetirement dateSuggested alternative
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.

Note

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 Sonnet 4
Claude Sonnet 4.5
Claude Sonnet 4.6
Gemini 2.5 Pro
Gemini 3 Flash
Gemini 3 Pro
Gemini 3.1 Pro
GPT-4.1
GPT-5 mini
GPT-5.1
GPT-5.1-Codex
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Max
GPT-5.2
GPT-5.2-Codex
GPT-5.3-Codex
GPT-5.4
GPT-5.4 mini
Grok Code Fast 1
Raptor mini
Goldeneye

Supported AI models per Copilot plan

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

Available models in chatCopilot FreeCopilot StudentCopilot ProCopilot Pro+Copilot BusinessCopilot Enterprise
Claude Haiku 4.5
Claude Opus 4.5
Claude Opus 4.6
Claude Opus 4.6 (fast mode) (preview)
Claude Sonnet 4
Claude Sonnet 4.5
Claude Sonnet 4.6
Gemini 2.5 Pro
Gemini 3 Flash
Gemini 3 Pro
Gemini 3.1 Pro
GPT-4.1
GPT-5 mini
GPT-5.1
GPT-5.1-Codex
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Max
GPT-5.2
GPT-5.2-Codex
GPT-5.3-Codex
GPT-5.4
GPT-5.4 mini
Grok Code Fast 1
Raptor mini
Goldeneye

Model multipliers

Note

The multiplier for these models are subject to change.

  • Claude Sonnet 4.6
  • GPT-5.4 mini

Each model has a premium request multiplierbased on its complexity and resource usage. If you are on a paid Copilot planyour premium request allowance is deducted according to this multiplier.

For more information about premium requestssee Requests in GitHub Copilot.

ModelMultiplier for paid plansMultiplier for Copilot Free
Claude Haiku 4.50.331
Claude Opus 4.53Not applicable
Claude Opus 4.63Not applicable
Claude Opus 4.6 (fast mode) (preview)30Not applicable
Claude Sonnet 41Not applicable
Claude Sonnet 4.51Not applicable
Claude Sonnet 4.61Not applicable
Gemini 2.5 Pro1Not applicable
Gemini 3 Flash0.33Not applicable
Gemini 3 Pro1Not applicable
Gemini 3.1 Pro1Not applicable
GPT-4.101
GPT-4o01
GPT-5 mini01
GPT-5.11Not applicable
GPT-5.1-Codex1Not applicable
GPT-5.1-Codex-Mini0.33Not applicable
GPT-5.1-Codex-Max1Not applicable
GPT-5.21Not applicable
GPT-5.2-Codex1Not applicable
GPT-5.3-Codex1Not applicable
GPT-5.41Not applicable
GPT-5.4 mini0.33Not applicable
Grok Code Fast 10.251
Raptor mini01
GoldeneyeNot applicable1

Fallback and long-term support (LTS) models

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

Evaluation models

GitHub Copilot offers access to evaluation models—including top-performing open source and open-weight models—to provide the most advanced coding suggestions available.

Note

Testing of evaluation models has revealed that some may perform worse than other models on security-related or other categories of prompts. Customers are encouraged to validate codeincluding code securityusing a range of models and thorough human review before incorporating suggestions into production.

Evaluation models may be addedupdatedor removed without notice. Availability and rate limits may differ from generally available models.

Next steps