Skip to content

Commit 33863c2

Browse files
authored
Merge pull request #261027 from eric-urban/eur/studio-billing
monitor project costs
2 parents 7775e05 + 7411d87 commit 33863c2

8 files changed

+55
-19
lines changed

articles/ai-studio/how-to/costs-plan-manage.md

Lines changed: 55 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ Before you delete an Azure AI resource in the Azure portal or with Azure CLI, th
6565
- Virtual Network
6666
- Bandwidth
6767

68-
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 will still be charged via the load balancer. For each compute instance, one load balancer is billed per day. Every 50 nodes of a compute cluster will 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.
68+
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 will still be 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.
6969

70-
Compute instances also incur P10 disk costs even in stopped state. This is because any user content saved there's 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 virtual networks, one virtual network will be billed per subscription and per region. Virtual networks can't span regions or subscriptions. Setting up private endpoints in vNet setups might also incur charges. Bandwidth is charged by usage; the more data transferred, the more you are charged.
70+
Compute instances also incur P10 disk costs even in stopped state. This is because any user content saved there's 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 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. Bandwidth is charged by usage; the more data transferred, the more you're charged.
7171

7272
### Costs might accrue after resource deletion
7373

@@ -80,43 +80,79 @@ After you delete an Azure AI resource in the Azure portal or with Azure CLI, the
8080

8181
## Monitor costs
8282

83-
As you use Azure resources with Azure AI services, you incur costs. Azure resource usage unit costs vary by time intervals (seconds, minutes, hours, and days) or by unit usage (bytes, megabytes, and so on). As soon as use of an Azure AI services resource starts, costs are incurred and you can see the costs in [cost analysis](../../cost-management-billing/costs/quick-acm-cost-analysis.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn).
83+
As you use Azure AI Studio with Azure AI resources, you incur costs. Azure resource usage unit costs vary by time intervals (seconds, minutes, hours, and days) or by unit usage (bytes, megabytes, and so on). You can see the incurred costs in [cost analysis](../../cost-management-billing/costs/quick-acm-cost-analysis.md?WT.mc_id=costmanagementcontent_docsacmhorizontal_-inproduct-learn).
8484

85-
When you use cost analysis, you view Azure AI services costs in graphs and tables for different time intervals. Some examples are by day, current and prior month, and year. You also view costs against budgets and forecasted costs. Switching to longer views over time can help you identify spending trends. And you see where overspending might have occurred. If you've created budgets, you can also easily see where they're exceeded.
85+
When you use cost analysis, you view Azure AI resource costs in graphs and tables for different time intervals. Some examples are by day, current and prior month, and year. You also view costs against budgets and forecasted costs. Switching to longer views over time can help you identify spending trends. And you see where overspending might have occurred. If you've created budgets, you can also easily see where they're exceeded.
8686

87-
To view Azure AI services costs in cost analysis here's an example:
87+
### Monitor Azure AI Studio project costs
8888

89-
1. Sign in to the Azure portal.
90-
1. Open the scope in the Azure portal and select **Cost analysis** in the menu. For example, go to **Subscriptions**, select a subscription from the list, and then select **Cost analysis** in the menu. Select **Scope** to switch to a different scope in cost analysis.
91-
1. By default, cost for services are shown in the first donut chart. Select the area in the chart labeled Azure AI services.
89+
You can get to cost analysis from the [Azure portal](https://portal.azure.com). You can also get to cost analysis from the [Azure AI Studio portal](https://ai.azure.com).
9290

93-
Actual monthly costs are shown when you initially open cost analysis. Here's an example showing all monthly usage costs.
91+
> [!IMPORTANT]
92+
> Your Azure AI project costs are only a subset of your overall application or solution costs. You need to monitor costs for all Azure resources used in your application or solution. See [Azure AI resources](../concepts/ai-resources.md) for more information.
9493
95-
:::image type="content" source="../media/cost-management/all-costs.png" alt-text="Screenshot of monthly usage costs using the cost analysis tool." lightbox="../media/cost-management/all-costs.png":::
94+
For the examples in this section, assume that all Azure AI Studio resources are in the same resource group. But you can have resources in different resource groups. For example, your Azure AI Search resource might be in a different resource group than your Azure AI Studio project.
9695

97-
To narrow costs for a single service, like Azure AI services, select **Add filter** and then select **Service name**. Then, select **Azure AI services**.
96+
Here's an example of how to monitor costs for an Azure AI Studio project. The costs are used as an example only. Your costs will vary depending on the services that you use and the amount of usage.
9897

99-
In the preceding example, you see the current cost for the service. Costs by Azure regions (locations) and Azure AI services costs by resource group are also shown. From here, you can explore costs on your own.
98+
1. Sign in to [Azure AI Studio portal](https://ai.azure.com).
99+
1. Select your project and then select **Settings** from the left navigation menu.
100+
101+
:::image type="content" source="../media/cost-management/project-costs/project-settings-go-view-costs.png" alt-text="Screenshot of the Azure AI Studio portal showing how to see project settings." lightbox="../media/cost-management/project-costs/project-settings-go-view-costs.png":::
102+
103+
1. Select **See project cost on Azure portal**. The Azure portal opens to the cost analysis page for your project.
104+
105+
1. Expand the **Resource** column to see the costs for each service that's underlying your [Azure AI project](../concepts/ai-resources.md#project-assets). But this view doesn't include costs for all resources that you use in an Azure AI Studio project.
106+
107+
:::image type="content" source="../media/cost-management/project-costs/costs-per-project-resource.png" alt-text="Screenshot of the Azure portal cost analysis with the Azure AI project and associated resources." lightbox="../media/cost-management/project-costs/costs-per-project-resource.png":::
108+
109+
1. Select **Costs by resource** > **Resources**.
110+
111+
:::image type="content" source="../media/cost-management/project-costs/select-costs-per-resource.png" alt-text="Screenshot of the Azure portal cost analysis with the button to select costs by resources." lightbox="../media/cost-management/project-costs/select-costs-per-resource.png":::
112+
113+
1. On the **Cost analysis** page where you're taken to, make sure the scope is set to your resource group.
114+
115+
:::image type="content" source="../media/cost-management/project-costs/costs-per-resource-group-details.png" alt-text="Screenshot of the Azure portal cost analysis for a resource group." lightbox="../media/cost-management/project-costs/costs-per-resource-group-details.png":::
116+
117+
In this example:
118+
- The resource group name is **rg-contosoairesource**.
119+
- The total cost for all resources and services in the resource group is **$222.97**. In this example, this is the total cost for your application or solution that you're building with Azure AI Studio. Again, this assumes that all Azure AI Studio resources are in the same resource group. But you can have resources in different resource groups.
120+
- The project name is **contoso-outdoor-proj**.
121+
- The costs that are limited to resources and services in the [Azure AI project](../concepts/ai-resources.md#project-assets) total **$212.06**.
122+
123+
1. Expand **contoso-outdoor-proj** to see the costs for services underlying the [Azure AI project](../concepts/ai-resources.md#project-assets) resource.
124+
125+
:::image type="content" source="../media/cost-management/project-costs/costs-per-project-resource-details.png" alt-text="Screenshot of the Azure portal cost analysis with Azure AI project expanded." lightbox="../media/cost-management/project-costs/costs-per-project-resource-details.png":::
126+
127+
1. Expand **contoso_ai_resource** to see the costs for services underlying the [Azure AI](../concepts/ai-resources.md#azure-ai-resources) resource. You can also apply a filter to focus on other costs in your resource group.
128+
129+
You can also view resource group costs directly from the Azure portal. To do so:
130+
1. Sign in to [Azure portal](https://portal.azure.com).
131+
1. Select **Resource groups**.
132+
1. Find and select the resource group that contains your Azure AI Studio resources.
133+
1. From the left navigation menu, select **Cost analysis**.
134+
135+
:::image type="content" source="../media/cost-management/project-costs/costs-per-resource-group.png" alt-text="Screenshot of the Azure portal cost analysis at the resource group level." lightbox="../media/cost-management/project-costs/costs-per-resource-group.png":::
100136

101137
For more information, see the [Azure pricing calculator](https://azure.microsoft.com/pricing/calculator/).
102138

103-
## Monitor costs for models offered through the Azure Marketplace
139+
### Monitor costs for models offered through the Azure Marketplace
104140

105-
Models deployed as a service using pay-as-you-go are offered through the Azure Marketplace. The model publishers might apply different costs depending on the offering. Each project in Azure AI Studio has its own subscription with the offering, which allows you to monitor the costs and the consumption happening on that project. Use Azure Cost Management to monitor the costs:
141+
Models deployed as a service using pay-as-you-go are offered through the Azure Marketplace. The model publishers might apply different costs depending on the offering. Each project in Azure AI Studio has its own subscription with the offering, which allows you to monitor the costs and the consumption happening on that project. Use [Microsoft Cost Management](https://azure.microsoft.com/products/cost-management) to monitor the costs:
106142

107-
1. Go to [Azure portal](https://portal.azure.com).
143+
1. Sign in to [Azure portal](https://portal.azure.com).
108144

109145
1. On the left navigation area, select **Cost Management + Billing** and then, on the same menu, select **Cost Management**.
110146

111147
1. On the left navigation area, under the section **Cost Management**, select now **Cost Analysis**.
112148

113149
1. Select a view such as **Resources**. The cost associated with each resource is displayed.
114150

115-
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-analysis.png" alt-text="A screenshot of the Cost Analysis tool displaying how to show cost per resource.":::
151+
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-analysis.png" alt-text="A screenshot of the Cost Analysis tool displaying how to show cost per resource." lightbox="../media/cost-management/marketplace/costs-model-as-service-cost-analysis.png":::
116152

117153
1. On the **Type** column, select the filter icon to filter all the resources of type **microsoft.saas/resources**. This type corresponds to resources created from offers from the Azure Marketplace. For convenience, you can filter by resource types containing the string **SaaS**.
118154

119-
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-filter.png" alt-text="A screenshot of how to filter by resource type containing the string 'SaaS'.":::
155+
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-filter.png" alt-text="A screenshot of how to filter by resource type containing the string 'SaaS'." lightbox="../media/cost-management/marketplace/costs-model-as-service-cost-filter.png":::
120156

121157
1. One resource is displayed for each model offer per project. Naming of those resources is `[Model offer name]-[GUID]`.
122158

@@ -127,12 +163,12 @@ Models deployed as a service using pay-as-you-go are offered through the Azure M
127163

128164
Some model providers might use the same name for both.
129165

130-
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-details.png" alt-text="A screenshot showing different resources corresponding to different model offers and their associated meters.":::
166+
:::image type="content" source="../media/cost-management/marketplace/costs-model-as-service-cost-details.png" alt-text="A screenshot showing different resources corresponding to different model offers and their associated meters." lightbox="../media/cost-management/marketplace/costs-model-as-service-cost-details.png":::
131167

132168
> [!TIP]
133169
> Remember that one resource is created per each project, per each plan your project subscribes to.
134170
135-
1. When expanding the details, costs are reported per each of the meters associated with the offering. Each meter may track different sources of costs like inferencing, or fine tuning. The following meters will be displayed (when some cost is associated with them):
171+
1. When expanding the details, costs are reported per each of the meters associated with the offering. Each meter might track different sources of costs like inferencing, or fine tuning. The following meters are displayed (when some cost is associated with them):
136172

137173
| Meter | Group | Description |
138174
|-----|-----|-----|
Binary file not shown.
411 KB
Loading
317 KB
Loading
449 KB
Loading
317 KB
Loading
414 KB
Loading
244 KB
Loading

0 commit comments

Comments
 (0)