All Products
Document Center

Machine Learning Platform for AI:Billing of DSW

Last Updated:Aug 08, 2023

Machine Learning Platform for AI (PAI) provides the Data Science Workshop (DSW) of the Individual Edition. This topic describes how DSW is billed.

Billable modules

The following figure shows how DSW is billed.计费项

Billable item

The following table describes how each edition is billed.

Billable module

Billable item

Billing rule

Billing method

How to stop billing

Individual Edition

Running duration of the instance

An instance is billed based on the amount of time public resources are occupied by the instance. The billing starts once the instance enters the running state.


Stop the instance.

Individual Edition

Individual Edition supports only the pay-as-you-go billing method. The following table describes the billing details.

Billing method

Billing formula

Unit price

Billing duration

Scaling description

Usage notes


Bill amount = (Price / 60) × Usage duration (minutes)

For information about the pricing details, visit Machine Learning DSW.

  • Billing start time: the time when an instance starts to run.

  • Billing end time: the time when an instance stops running.

If you scale an instance, you are charged for the instance based on the new specifications.


Billing examples


The following examples are provided for reference only. The prices listed on the DSW buy page of the PAI console shall prevail.

Individual Edition

  • Pay-as-you-go

    • Scenario:

      Assume that you create an instance of the ecs.c6e.8xlarge instance type in the China (Shanghai) region.

      • The instance enters the running state at 09:00:00 on December 3, 2022.

      • The instance enters the stopped state at 10:00:00 on December 3, 2022.

    • Cost calculation:

      1 × 1.07 = 1.07. Unit: USD.

Overdue payments


Your account balance is insufficient.

  • Subscription: Your account balance is insufficient to pay for subscription fees.

  • Pay-as-you-go: Your account balance is less than the bill amount of the previous billing cycle. If the system fails to deduct fees, your account enters the overdue state.

Service suspension

In PAI, bills are generated 2 to 4 hours after the previous billing cycle ends. Therefore, your resources are stopped 2 to 4 hours after your account enters the overdue state.


To ensure service continuity, we recommend that you renew your instances at the earliest opportunity.

View the overdue amount

  1. Log on to the Billing Management console.

  2. On the Account Overview page, view the outstanding amount due.账户总览

Refund policy

  • Pay-as-you-go fees cannot be refunded.
  • Subscription fees can be refunded based on the following rules:
    • Five-day money-back guarantee: You are eligible for a full refund for unused resources that are purchased within five days.
    • Partial refund: You are eligible for a refund for the remaining duration. The refund amount is calculated by using the following formula:

      Refund amount = Amount paid - Amount consumed.

    • Refund for renewal orders: You can cancel renewal orders that have not taken effect.