You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/copilot-add-custom-model.md
+32-6Lines changed: 32 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: 'Bring your own model to chat'
3
-
description: Learn how to add and configure custom language models in GitHub Copilot Chat in Visual Studio, by using API keys from other providers.
2
+
title: 'Using model in Copilot Chat'
3
+
description: Learn how to select, configure, and use built-in or custom AI models in GitHub Copilot Chat for Visual Studio.
4
4
ms.date: 8/19/2025
5
5
ms.update-cycle: 180-days
6
6
ms.topic: get-started
@@ -11,11 +11,37 @@ ms.subservice: ai-tools
11
11
ms.collection: ce-skilling-ai-copilot
12
12
monikerRange: '>= vs-2022'
13
13
---
14
-
# Add and configure custom models in chat
14
+
# Using models in Copilot Chat
15
+
16
+
With Visual Studio 17.14, Copilot in Visual Studio uses **GPT-4.1** as the default model (previously GPT-4o). GPT-4.1 provides faster response times, higher quality suggestions, and improved efficiency for coding tasks.
17
+
18
+
You can also select from additional models or add your own, allowing you to choose the model that best fits your workflow requirements.
19
+
20
+
## Available models
21
+
22
+
Choose from an expanded set of models in the model picker:
23
+
24
+
- Claude Sonnet 4
25
+
- Claude Opus 4
26
+
- GPT-5
27
+
- Claude Sonnet 3.5
28
+
- Claude 3.7 (thinking and non-thinking)
29
+
- OpenAI o3-mini
30
+
- Gemini 2.0 Flash
31
+
- Gemini 2.5 Pro
32
+
33
+
**Model selection improvements**
34
+
35
+
-**Persistent selection**: The model you choose remains selected across chat threads.
36
+
-**Enable models directly**: If a model is available in your plan but not yet enabled, you’ll see a prompt in the model picker to activate it.
37
+
38
+
> Model availability depends on your Copilot subscription and the current status of each model. For Copilot Enterprise and Business, administrators must enable the **Preview** policy in Copilot settings before models are available in Visual Studio.
39
+
40
+
## Add and configure custom models in chat
15
41
16
42
With the latest servicing release of 17.14, Visual Studio now supports adding your own language model to the chat experience. You can now use API keys from providers like Anthropic, Google, and OpenAI to integrate a wider range of models directly into Chat. This feature enables you to select and configure models based on your workflow requirements or to test new model capabilities as they become available.
17
43
18
-
## Benefits
44
+
###Benefits
19
45
20
46
Using your own model provides the following capabilities:
21
47
@@ -24,7 +50,7 @@ Using your own model provides the following capabilities:
24
50
-**API management**: Monitor and control API usage, rate limits, and quotas directly with your chosen provider.
25
51
-**Switching models**: Change between built-in and custom models as needed for different tasks or workflows.
26
52
27
-
## Get started
53
+
###Get started
28
54
29
55
To add an API key from OpenAI, Anthropic, or Google:
30
56
@@ -36,7 +62,7 @@ To add an API key from OpenAI, Anthropic, or Google:
36
62
37
63
> This feature is not available for Copilot Business or Copilot Enterprise users.
38
64
39
-
## Limitations and considerations
65
+
###Limitations and considerations
40
66
41
67
- Custom model support is limited to the Chat experience in Visual Studio and does not affect code completions or other AI-assisted features, such as commit message generation.
42
68
- Model capabilities depend on the provider; some third-party models may not support tool use, vision inputs, or advanced features.
0 commit comments