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: articles/ai-foundry/how-to/costs-plan-manage.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.custom:
9
9
- build-2024
10
10
- ignite-2024
11
11
ms.topic: conceptual
12
-
ms.date: 02/19/2025
12
+
ms.date: 04/25/2025
13
13
ms.reviewer: siarora
14
14
ms.author: larryfr
15
15
author: Blackmist
@@ -73,10 +73,12 @@ Before you delete a hub in the Azure portal or with Azure CLI, the following sub
73
73
- Azure Virtual Network
74
74
- Bandwidth
75
75
76
-
Each VM is billed per hour it's running. Cost depends on VM specifications. VMs that are running but not actively working on a dataset are still charged via the load balancer. For each compute instance, one load balancer is billed per day. Every 50 nodes of a compute cluster have one standard load balancer billed. Each load balancer is billed around $0.33/day. To avoid load balancer costs on stopped compute instances and compute clusters, delete the compute resource.
76
+
Each VM is billed per hour it's running. Cost depends on VM specifications. VMs that are running but not actively working on a dataset are still charged via the load balancer. For each compute instance, one load balancer is billed per day. Every 50 nodes of a compute cluster have one standard load balancer billed. To avoid load balancer costs on stopped compute instances and compute clusters, delete the compute resource.
77
77
78
78
Compute instances also incur P10 disk costs even in stopped state. This cost is because any user content saved to disk is persisted across the stopped state similar to Azure VMs. We're working on making the OS disk size/ type configurable to better control costs. For Azure Virtual Networks, one virtual network is billed per subscription and per region. Virtual networks can't span regions or subscriptions. Setting up private endpoints in virtual network setups might also incur charges. If your virtual network uses an Azure Firewall, the firewall might also incur charges. Bandwidth usage is charged; the more data transferred, the more you're charged.
79
79
80
+
For more information, see the [Azure pricing calculator](https://azure.microsoft.com/pricing/calculator/).
81
+
80
82
> [!TIP]
81
83
> Using a managed virtual network is free. However some features of the managed network rely on Azure Private Link (for private endpoints) and Azure Firewall (for FQDN rules) and will incur charges. For more information, see [Managed virtual network isolation](configure-managed-network.md#pricing).
82
84
@@ -127,9 +129,9 @@ Here's an example of how to monitor costs for a project. The costs are used as a
127
129
128
130
In this example:
129
131
- The resource group name is **rg-contosoairesource**.
130
-
- The total cost for all resources and services in the resource group is **$222.97**. In this example, $222.97 is the total cost for your application or solution that you're building with Azure AI Foundry. Again, this example assumes that all Azure AI Foundry resources are in the same resource group. But you can have resources in different resource groups.
132
+
- The total cost for all resources and services in the example resource group is **$222.97**. In this example, $222.97 is the total cost for your application or solution that you're building with Azure AI Foundry. Again, this example assumes that all Azure AI Foundry resources are in the same resource group. But you can have resources in different resource groups.
131
133
- The project name is **contoso-outdoor-proj**.
132
-
- The costs that are limited to resources and services in the [project](../concepts/ai-resources.md#organize-work-in-projects-for-customization) total **$212.06**.
134
+
- The costs that are limited to resources and services in the example [project](../concepts/ai-resources.md#organize-work-in-projects-for-customization) total **$212.06**.
133
135
134
136
1. Expand **contoso-outdoor-proj** to see the costs for services underlying the [project](../concepts/ai-resources.md#organize-work-in-projects-for-customization) resource.
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/get-started-projects-vs-code.md
+66-58Lines changed: 66 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
title: Work with the Azure AI Foundry for Visual Studio Code extension
3
3
titleSuffix: Azure AI Foundry
4
-
description: Use this article to learn how to deploy Large Language Models and develop AI agents using Azure AI Foundry capabilities directly in VS Code.
4
+
description: Use this article to learn how to deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
5
5
manager: mcleans
6
6
ms.service: azure-ai-foundry
7
7
content_well_notification:
8
8
- AI-contribution
9
9
ms.topic: how-to
10
-
ms.date: 04/03/2025
10
+
ms.date: 04/21/2025
11
11
ms.reviewer: erichen
12
12
ms.author: johalexander
13
13
author: ms-johnalex
14
-
# customer intent: As an AI app developer, I want to learn how to use the Azure AI Foundry for Visual Studio Code extension so that I can deploy Large Language Models and develop AI agents using Azure AI Foundry capabilities directly in VS Code.
14
+
# customer intent: As an AI app developer, I want to learn how to use the Azure AI Foundry for Visual Studio Code extension so that I can deploy Large Language Models using Azure AI Foundry capabilities directly in VS Code.
15
15
---
16
16
17
17
# Work with the Azure AI Foundry for Visual Studio Code extension (Preview)
@@ -85,22 +85,46 @@ Sign in to your Azure subscription to access your resources with the following s
85
85
86
86
1. Under the "Resources" section, select your Azure Subscription and Resource Group.
87
87
88
-
1. Select **Azure AI Foundry** and open your project.
88
+
1. Select **Azure AI Foundry** and right-click your project.
89
89
90
-
1.The**Agents** and **Models** sections are listed under your project.
90
+
1.Select**Open in Azure AI Foundry Extension**.
91
91
92
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/open-azure-ai-foundry-extension.png" alt-text="A screenshot of the Open in Azure AI Foundry Extension option." lightbox="../../media/how-to/get-started-projects-vs-code/open-azure-ai-foundry-extension.png":::
92
93
93
-
### Set the default Azure AI Foundry Project
94
94
95
-
Set your default Azure AI Foundry Project with the following steps:
95
+
### Explore the Azure AI Foundry Extension
96
96
97
-
1. Open a new Visual Studio Code window.
97
+
The Azure AI Foundry Extension opens in its own view, with the Azure AI Foundry Icon now displayed on the VS Code Navbar. The extension has three main sections: **Resources**, **Tools**, and **Help and Feedback**.
98
98
99
-
1. Select <kbd>F1</kbd> to open the command palette.
100
99
101
-
1. Enter **Azure AI Foundry: Select Default Project** and press Enter.
100
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/initial-view.png" alt-text="A screenshot of the Azure AI Foundry Extension with highlighted sections.":::
101
+
102
+
-**Resources**: This section contains the resources you have access to in your Azure AI Foundry project. The **Resources** section is the main view for interacting with your Azure AI Foundry resources. It contains the following subsections:
103
+
-**Models**: This section contains the models you can use to build and deploy your AI applications. The **Models** view is where you can find your deployed models in your Azure AI Foundry project.
104
+
-**Agents**: This section contains your deployed agents in your Azure AI Foundry project.
105
+
-**Threads**: This section contains the threads and runs from a deployed agent in your Azure AI Foundry project.
106
+
107
+
-**Tools**: This section contains the tools you can use to build and deploy your AI applications. The **Tools** view is where you can find the tools available to deploy and then work with your deployed models and agents. It contains the following subsections:
108
+
-**Model Catalog**: The link to the model catalog you can use to discover and deploy models.
109
+
-**Model Playground**: The link to the model playground for interacting with your deployed models in your Azure AI Foundry project.
110
+
-**Agent Playground**: The link to the agent playground for interacting with your deployed agents in your Azure AI Foundry project.
111
+
112
+
-**Help and Feedback**: This section contains links to the Azure AI Foundry documentation, feedback, and support. It contains the following subsections:
113
+
-**Documentation**: The link to the Azure AI Foundry Extension documentation.
114
+
-**GitHub**: The link to the Azure AI Foundry extension GitHub repository.
115
+
116
+
>[!NOTE]
117
+
> To learn more about working with Agents and Threads in the Azure AI Foundry Extension, see the [Work with Azure AI Agent Service in Visual Studio Code](./vs-code-agents.md) article.
118
+
119
+
### The default Azure AI Foundry Project
102
120
103
-
1. Select the Azure AI Foundry Project you want to use from the list of available projects and press Enter.
121
+
When you open a project in the Azure AI Foundry Extension, that project is set as your default project.
122
+
123
+
Switch your default project by following these steps:
124
+
125
+
1. Right-click on your deployed model and select the **Switch Default Project in Azure Extension** option.
126
+
127
+
1. In the top center, select the Azure AI Foundry Project you want to use from the list of available projects and press Enter.
104
128
105
129
Your selected project will now display **Default** after the project name.
106
130
@@ -115,7 +139,14 @@ The Azure AI Foundry for Visual Studio Code extension enables you to create, int
115
139
116
140
The [model catalog](/azure/ai-foundry/how-to/model-catalog-overview) in Azure AI Foundry portal is the hub to discover and use a wide range of models for building generative AI applications.
117
141
118
-
Access the model catalog from the command palette to explore and deploy a curated selection of models available in Azure AI Foundry, right from inside VS Code.
142
+
Access the model catalog from several different ways:
143
+
- The **Azure AI Foundry: Open Model Catalog** command palette command.
144
+
- Select the **plus** icon next to **Models** in the **Resources** section of the Azure AI Foundry Extension view.
145
+
- Select the **Model Catalog** link in the **Tools** section of the Azure AI Foundry Extension view.
146
+
147
+
#### Open the model catalog from the command palette
148
+
149
+
Access the model catalog from the command palette to explore and deploy a curated selection of models available in Azure AI Foundry, right from inside VS Code.
119
150
120
151
1. Select <kbd>F1</kbd> to open the command palette.
121
152
@@ -130,8 +161,22 @@ The [model catalog](/azure/ai-foundry/how-to/model-catalog-overview) in Azure AI
130
161
131
162
1. Search for a specific model using the search bar at the top-center of the page.
132
163
164
+
#### Open the model catalog from the Resources section
133
165
134
-
#### Deploy a model from the model catalog
166
+
The **Model Catalog** is also available in the **Resources** section of the Azure AI Foundry Extension view.
167
+
168
+
In the Azure AI Foundry Extension view, select the **plus** icon next to **Models** to open the Model Catalog.
169
+
170
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-model-plus-expanded.png" alt-text="Screenshot of the plus sign next to models with the list of models expanded." lightbox="../../media/how-to/get-started-projects-vs-code/select-model-plus-expanded.png":::
171
+
172
+
> [!TIP]
173
+
> You can also right-click on **Models** and select the **Deploy new AI model** option to open the Model Catalog to start the deployment process.
174
+
175
+
#### Open the model catalog from the Tools section
176
+
177
+
The **Model Catalog** is also available in the **Tools** section of the Azure AI Foundry Extension view. Double-click on the **Model Catalog** link to open the Model Catalog.
178
+
179
+
### Deploy a model from the model catalog
135
180
136
181
Deploy a selected model in the model catalog using the following steps:
137
182
@@ -163,48 +208,7 @@ Deploy a selected model in the model catalog using the following steps:
163
208
164
209
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/deployed-model.png" alt-text="Screenshot of the newly deployed model under the Models section." lightbox="../../media/how-to/get-started-projects-vs-code/deployed-model.png":::
165
210
166
-
### Deploy, view, and update models
167
-
168
-
#### Deploy a model
169
-
170
-
You can also deploy a model directly from your Azure AI Foundry project.
171
-
172
-
1. In the Azure Resources Extension view, select the **plus** icon next to **Models** to start the deployment process.
173
-
174
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-model-plus-expanded.png" alt-text="Screenshot of the plus sign next to models with the list of models expanded." lightbox="../../media/how-to/get-started-projects-vs-code/select-model-plus-expanded.png":::
175
-
176
-
> [!TIP]
177
-
> You can also right-click on **Models** and select the **Deploy new AI model** option to start the deployment process.
178
-
179
-
1. In the top center, select the AI service to use in the **Choose an AI service** dropdown and press Enter.
180
-
181
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png" alt-text="Screenshot of the Choose AI service dropdown for model deployment." lightbox="../../media/how-to/get-started-projects-vs-code/choose-ai-service.png":::
182
-
183
-
1. In the top center, select the model to deploy in the **Choose a model to deploy** dropdown and press Enter.
184
-
185
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-deployment-model.png" alt-text="Screenshot of the Choose a model to deploy dropdown." lightbox="../../media/how-to/get-started-projects-vs-code/select-deployment-model.png":::
186
-
187
-
1. In the top center, select the model version to use in the **Choose model version** dropdown and press Enter.
188
-
189
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-model-version-2.png" alt-text="Screenshot of the Choose model version dropdown for model deployment." lightbox="../../media/how-to/get-started-projects-vs-code/select-model-version-2.png":::
190
-
191
-
1. In the top center, select the deployment type to use in the **Choose deployment type** dropdown and press Enter.
192
-
193
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-deployment-type.png" alt-text="Screenshot of the Choose deployment type dropdown for model deployment." lightbox="../../media/how-to/get-started-projects-vs-code/select-deployment-type.png":::
194
-
195
-
1. In the top center, enter the model deployment name to use in the **Enter deployment name** textbox and press Enter.
196
-
197
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/enter-deployment-name-2.png" alt-text="Screenshot of the Enter deployment name textbox for model deployment." lightbox="../../media/how-to/get-started-projects-vs-code/enter-deployment-name-2.png":::
198
-
199
-
1. A confirmation dialog box appears. Select the **Deploy** button to deploy the model to your project.
200
-
201
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/deploy-model-popup-2.png" alt-text="Screenshot of the model deployment confirmation dialog box with the Deploy button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/deploy-model-popup-2.png":::
202
-
203
-
1. After a successful deployment, your model will be listed with your other deployed models under the **Models** section in your project.
204
-
205
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/deployed-model-2.png" alt-text="Screenshot of the deployed model under the Models section." lightbox="../../media/how-to/get-started-projects-vs-code/deployed-model-2.png":::
206
-
207
-
#### View deployed models
211
+
### View deployed models
208
212
209
213
In the Azure Resources Extension view, select the **caret** icon in front of the **Models** section to view the list of deployed models.
210
214
@@ -271,7 +275,9 @@ This Python sample code file that demonstrates a basic call to the chat completi
271
275
272
276
Chat interactively with the model, change settings, and system instructions using the **Model Playground**.
273
277
274
-
Open the model playground using the following steps:
278
+
The **Model Playground** is available in the **Tools** section of the Azure AI Foundry Extension view. Double-click on the **Model Playground** link to open the Model Playground.
279
+
280
+
You can also open the model playground using the following steps:
275
281
276
282
1. Right-click on your deployed model and select the **Open in playground** option.
277
283
@@ -294,13 +300,15 @@ The Azure resources that you created in this article are billed to your Azure su
294
300
295
301
### Delete your agents
296
302
297
-
Delete the deployed agent in the [online AI Foundry portal](https://ai.azure.com). Select **Agents** from the navigation menu on the left, select your agent, then select the **Delete** button.
303
+
1. In the VS Code navbar, refresh the **Azure AI Foundry Extension**. In the **Resources** section, expand the **Agents** subsection to display the list of deployed agents.
304
+
305
+
1. Right-click on your deployed agent to delete and select the **Delete** option.
298
306
299
307
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-agent.png" alt-text="Screenshot of the AI Foundry portal with 'Agents' from the navigation menu on the left and the **Delete** button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-agent.png":::
300
308
301
309
### Delete your models
302
310
303
-
1. In the VS Code navbar, refresh the **Azure Resources**view. Expand the **Models** subsection to display the list of deployed models.
311
+
1. In the VS Code navbar, refresh the **Azure AI Foundry Extension**. In the **Resources**section, expand the **Models** subsection to display the list of deployed models.
304
312
305
313
1. Right-click on your deployed model to delete and select the **Delete** option.
0 commit comments