Muokkaa

Jaa


View costs for an Azure Machine Learning managed online endpoint

Learn how to view costs for a managed online endpoint. Costs for your endpoints accrue to the associated workspace. You can see costs for a specific endpoint by using tags.

Important

This article only applies to viewing costs for Azure Machine Learning managed online endpoints. Managed online endpoints are different from other resources since they must use tags to track costs.

For more information on managing and optimizing cost for Azure Machine Learning, see Manage and optimize Azure Machine Learning costs. For more information on viewing the costs of other Azure resources, see Quickstart: Start using Cost analysis.

Prerequisites

  • Deploy an Azure Machine Learning managed online endpoint.
  • Have at least Billing Reader access on the subscription where the endpoint is deployed.

View costs

Navigate to the Cost Analysis page for your subscription:

  • In the Azure portal, select Cost Analysis for your subscription.

    Screenshot of a subscription in the Azure portal showing red box around Cost Analysis button.

Create a filter to scope data to your Azure Machine Learning workspace resource:

  1. At the top navigation bar, select Add filter.

  2. In the first filter dropdown, select Resource for the filter type.

  3. In the second filter dropdown, select your Azure Machine Learning workspace.

    Screenshot of the Cost Analysis view showing a red box around the Add filter button.

Create a tag filter to show your managed online endpoint and managed online deployment:

  1. Select Add filter > Tag > azuremlendpoint: <your endpoint name>.

  2. Select Add filter > Tag > azuremldeployment: <your deployment name>.

    Note

    Dollar values in this image are fictitious and do not reflect actual costs.

    Screenshot of the Cost Analysis view showing a red box around the Tag buttons.

Tip

Managed online endpoints use virtual machines (VMs) for the deployments. If you submitted a request to create an online deployment and it failed, it might have passed the stage when compute is created. In that case, the failed deployment would incur charges. If you finished debugging or investigating the failure, you can delete the failed deployments to save the cost.