All Products
Search
Document Center

Platform For AI:Billing of Machine Learning Designer

Last Updated:Sep 19, 2025

This topic describes the billing methods and provides billing examples for Machine Learning Designer.

Billing description

Using algorithm components in Machine Learning Designer may incur costs for PAI-Algorithm Components, PAI-DLC, or MaxCompute. This topic focuses on the billing of PAI-Algorithm Components. For more information about DLC and MaxCompute billing, see Billing of DLC and Billing of MaxCompute. The pricing information in this topic is for reference only. The actual prices are shown on your bill.

Billable items

image

Billable item

Billing entity

Billing method

How to stop billing

Billing rule

CU usage

Component runtime

Pay-as-you-go

Stop the component.

The resources consumed by a running component are converted into billable hours. You are charged for the billable hours on a pay-as-you-go basis.

Billing methods

When you use algorithm components in Machine Learning Designer, the unit price varies by algorithm type. The billing details are as follows:

  • Billing formula: Bill amount = Number of billable hours × Unit price

    Number of billable hours = max(Number of CPU cores × Duration (h), Memory (GB) × Duration (h) / 4)

  • Billing duration: The time from when the component starts to when it stops.

  • Billing example: Assume that you use a data analytics algorithm and consume 2 CPU cores and 5 GB of memory for 1.5 hours. The number of billable hours is calculated as max(2 × 1.5, 5 × 1.5 / 4) = 3. Therefore, the bill amount is calculated as follows: Bill amount = Number of billable hours × Unit price = 3 × 0.21 = USD 0.63. The following table lists the unit prices for each type of algorithm component:

    Algorithm type

    Unit price (USD per billable hour)

    Description

    Data pre-processing (data_manipulation)

    0.16

    Includes data pre-processing and feature engineering components.

    Data analytics (data_analysis)

    0.21

    Includes statistical analysis, machine learning, time series, network analysis, and finance components.

    Text analysis (text_analysis)

    0.27

    Includes text analysis components.

    Deep learning algorithms (deep_learning)

    0.16

    Includes deep learning components such as the CPU version of TensorFlow and EasyRec series algorithms.

    Note

Billing examples

An experiment in Machine Learning Designer consists of multiple algorithm components, and each component is composed of multiple subtasks. To calculate the total fee for an experiment, you must calculate the fee for each subtask within each component and then sum the fees.

  1. Determine the category of the algorithm component.

    1. Log on to the PAI console.

    2. In the upper-left corner, select a region as needed.

    3. In the navigation pane on the left, choose Workspaces, and then click the name of your target workspace.

    4. In the navigation pane on the left, choose Model Development and Training > Machine Learning Designer.

    5. On the Pipelines page, select a pipeline and click Go To Pipeline to open the pipeline page.

    6. In the component list, the PLDA component is in the Natural Language Processing folder. The price of the PLDA component is USD 0.27 per billable hour.

      组件类别

  2. View the resources consumed by the job.

    1. On the pipeline canvas, right-click the PLDA component.

    2. From the shortcut menu, select View Log.

    3. On the Log-PLDA page, each blue link corresponds to a subtask. Click a link.

      查看日志

    4. On the LogView page, click the SourceXML tab.

    5. In the TaskPlan section, view the CPU and Memory values.查看资源

      • The number of CPU cores used is the CPU value divided by 100. In this example, the job uses 1 CPU core.

      • The memory is measured in MB. In this example, the job uses 1 GB of memory.

    6. On the LogView page, click the Job Details tab.

    7. Click the task object on the AlgoTask_0_0 tab. In the section that appears, click the Terminated tab. The Latency value indicates the runtime of each job.任务详情

      This subtask has 49 jobs. The runtime of each job is about 26 seconds.

  3. Calculate the fee for the subtask.

    1. Number of billable hours for the subtask = max(Number of CPU cores × Duration (h), Memory (GB) × Duration (h) / 4) = max(49 × 1 × (26 / 3600), 49 × 1 × (26 / 3600) / 4) ≈ 0.35 billable hours

    2. Subtask cost = Number of billable hours × Unit price = 0.35 × 0.27 = USD 0.095

  4. Calculate the fees for all subtasks in the PLDA component and sum them to determine the total fee for the PLDA component.

  5. Repeat the preceding steps to calculate the fees for all components in the experiment. Then, sum the fees to determine the total fee for the experiment.