All Products
Search
Document Center

Platform For AI:Billing FAQ

Last Updated:Nov 09, 2023

This topic provides answers to some frequently asked questions about billing of Platform for AI (PAI).

Which projects incur fees?

  • Pipelines that run in Machine Learning Designer or Studio incur fees. In detail, the algorithm components of pipelines incur fees during computing.

  • Computing resources used by Data Science Workshop (DSW) instances incur fees. We recommend that you stop instances that you no longer need to prevent unnecessary costs.

  • Deep Learning Containers (DLC) jobs that run in the public resource group incur fees. Services that run in dedicated resource groups that you have purchased do not incur fees.

  • Elastic Algorithm Service (EAS) services that run in the public resource group incur fees regardless of whether the services are called. Services that run in pay-as-you-go dedicated resource groups incur fees. This is because the resource groups are billed after you use them. Services that run in subscription dedicated resource groups do not incur fees. This is because these resource groups have already been paid when you purchase them.

    The following items describe the billing rules. For more information, see Billing of EAS.

    • You are charged for pay-as-you-go dedicated resource groups in the Running state.

      Important

      When you scale in or out a dedicated resource group that is in the running state, the group enters an intermediate state, which is Scaling out or Scaling in. Resources that are used while the group is in this intermediate state are also billed.

    • You are charged for services that are deployed in the public resource group and are in the Running state.

      Important

      When you scale out a deployed service, the service enters an intermediate state, which is Pending. Resources that are used while the service is in this intermediate state are also billed.

How do I stop a project that is being billed?

  • Stop the project that incurs fees in Machine Learning Designer or Studio.

    1. Log on to the PAI console.

    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.

    3. In the left-side navigation pane, choose Model Development and Training > Visualized Modeling (Designer).

    4. On the Visualized Modeling (Designer) page, double-click the name of the pipeline that you want to stop to go to the pipeline details page.

    5. Click the image button to stop this pipeline that is in the running state.

  • Stop a DSW instance.

    1. Log on to the PAI console.

    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.

    3. In the left-side navigation pane, choose Model Development and Training > Interactive Modeling (DSW).

    4. On the Interactive Modeling (DSW) page, find the DSW instance that you want to stop and click Stop in the Actions column.

      After you stop the instance, when the Status changes to Stopped, the system stops billing for the pay-as-you-go instance. Make sure that the DSW instances that are not in use are in the Stopped state. Otherwise, the system continues to charge fees for the instances.

    Important

    We recommend that you create DSW instances in workspaces. This helps avoid unnecessary costs that are incurred because you cannot stop your DSW instances due to misconfiguration.

  • Stop an EAS service that is being billed.

    • For a running service in a dedicated pay-as-you-go resource group:

      To stop the service, reduce the number of nodes in the dedicated resource group to 0. Perform the following steps.

      1. In the left-side navigation pane, choose Model Development > Elastic Algorithm Service (EAS).

      2. On the Resource Group tab of the EAS-Online Model Services page, click the name of the resource group that you want to view.

      3. On the Nodes tab, find the pay-as-you-go nodes and click image.png > Delete in the Actions column.

    • Stop a service that runs in the public resource group:

      1. On the EAS-Online Model Services page, find the model service that you want to stop on the Inference Service tab and click Stop in the Actions column. Then, the model service is stopped, and the system stops billing the resources used by the model service

        Important

        Make sure that the stopped model service is no longer required to prevent unnecessary business losses.

How do I query deductions and details?

On the Bill Details page, you can set the filter conditions to view bill details on the Billing Details tab. For more information, see View bills and usage details. In particular, on the Billing Details tab, the Product Detail column indicates the module that generates the expense. The following content describes the values related to PAI:

  • Pay-As-You-Go: fees incurred by pay-as-you-go dedicated resource groups in EAS.

  • Machine Learning Platform for AI: fees incurred by MaxCompute computing resources used in Machine Learning Designer or Studio for training. To view the billing details, click the Billing Details tab and view the information in the Billing Item column. The following table describes the mapping between the billable items and expenses.

    Product

    Billable resources

    Instance ID

    Expense source

    PAI

    Usage

    • text_analysis

    • data_analysis

    • data_manipulation

    • deep_learning

    • default

    Fees are incurred by pipeline training performed in Machine Learning Designer or Studio.

  • EAS pre-payment for dedicated machine: fees incurred by subscription dedicated resource groups in EAS.

Why are fees deducted after I stop a billable project?

Fees are not immediately deducted after you stop a project. Instead, fees are deducted after a bill is generated for the project. A delay exists between the time when the bill is generated and the time when you stop the project. For example, fees incurred by resource usage between 10:00 and 11:00 may be billed and deducted several hours later. Therefore, even if you have stopped the project at 11:00, you may still receive a bill for the project later. Despite the delay, only the fees incurred before you stop the project are deducted.