Machine Learning Platform for AI (PAI) provides two editions of Data Science Workshop (DSW): DSW 1.0 and DSW 2.0. DSW 1.0 supports the pay-as-you-go and subscription billing methods. DSW 2.0 supports the pay-as-you-go billing method.

Billing rules for DSW 1.0

DSW 1.0 supports the pay-as-you-go and subscription billing methods. This section describes the billing rules for the pay-as-you-go billing method.
  • If you run a DSW instance on GPUs:
    The system calculates the number of compute hours based on the following formula:
    Number of compute hours = Number of GPUs that are used to run the DSW instance × Running duration of the DSW instance
    Note The running duration is measured in hours.
    Assume that you use eight GPUs to run a DSW instance, and the running duration of the instance is 0.5 hours. In this case, the number of compute hours is four.
    Number of compute hours = 8 × 0.5 = 4
    The system calculates the bill amount based on the following formula:
    Bill amount= Number of compute hours × Unit price
  • If you run a DSW instance on CPUs:
    The system calculates the number of compute hours based on the following formula:
    Number of compute hours = Number of CPU cores that are used to run the DSW instance × Running duration of the DSW instance
    Note The running duration is measured in hours.
    Assume that you use two CPU cores to run a DSW instance, and the running duration of the instance is 0.5 hours. In this case, the number of compute hours is one.
    Number of compute hours = 2 × 0.5 = 1
    The system calculates the bill amount based on the following formula:
    Bill amount= Number of compute hours × Unit price

Pricing of DSW 1.0

The following table describes the unit prices of different types of pay-as-you-go GPUs.
GPU type Unit price (USD/compute hour) Region
V100 4.547
  • China (Shanghai)
  • China (Beijing)
P100 1.875
  • China (Hangzhou)
  • China (Shanghai)
  • China (Beijing)
  • China (Shenzhen)
  • Singapore
T4 2.406
M40 1.313 China (Shanghai)
The following table describes the unit prices of different types of subscription GPUs.
GPU type Unit price (USD/GPU/month) Region
P100 312.5 China (Beijing)
M40 78.125 China (Shanghai)
The following table describes the unit prices of different types of pay-as-you-go CPU resources.
CPU resource type Unit price (USD/compute hour) Specifications Region
pai.large.2core4g 0.109 2 CPU cores, 4 GB
  • China (Hangzhou)
  • China (Shanghai)
  • China (Beijing)
  • China (Shenzhen)
  • Singapore
pai.xlarge.4core8g 0.216 4 CPU cores, 8 GB
pai.2xlarge.8core16g 0.431 8 CPU cores, 16 GB
pai.4xlarge.16core32g 0.856 16 CPU cores, 32 GB
pai.6xlarge.24core48g 1.284 24 CPU cores, 48 GB

Billing rules for DSW 2.0

The system calculates the bill amount of DSW 2.0 based on the following formula:
Bill amount = Running duration of the DSW instance × Unit price
Note The running of instances of DSW 2.0 depends on the Elastic Compute Service (ECS), Server Load Balancer (SLB), and Elastic IP Address (EIP) services. Bills are generated for these services when you run an instance of DSW 2.0. Note the following pricing information about these services:
  • The reference unit price of SLB instances is CNY 0.1 per hour. For more information, see Billing method.
  • The reference unit price of EIPs is CNY 0.8 per GB. For more information, see Pay-as-you-go.
  • Bills are generated for ECS instances based on the instance type and disk size. For more information, see Pay-as-you-go.

Pricing of DSW 2.0

The following table describes the unit prices of different types of ECS instances in DSW 2.0:
ECS instance type Unit price (USD/hour) Region
ecs.g6.large 0.0077 China (Hangzhou)
ecs.g6.xlarge 0.0155
ecs.g6.2xlarge 0.0310
ecs.g6.3xlarge 0.0464
ecs.g6.4xlarge 0.0619
ecs.g6.6xlarge 0.0929
ecs.g5.large 0.0138
ecs.g5.xlarge 0.0274
ecs.g5.2xlarge 0.0548
ecs.g5.3xlarge 0.0822
ecs.g5.4xlarge 0.1096
ecs.c6.large 0.0060
ecs.c6.xlarge 0.0121
ecs.c6.2xlarge 0.0241
ecs.c6.3xlarge 0.0362
ecs.c6.4xlarge 0.0483
ecs.c6.6xlarge 0.0724
ecs.c5.large 0.0096
ecs.c5.xlarge 0.0192
ecs.c5.2xlarge 0.0385
ecs.c5.3xlarge 0.0577
ecs.c5.4xlarge 0.0769
ecs.c5.6xlarge 0.1155
ecs.gn6v-c8g1.2xlarge 0.4095
ecs.gn5-c4g1.xlarge 0.1978
ecs.gn5-c4g1.2xlarge 0.3958
ecs.gn5-c8g1.2xlarge 0.2382
ecs.gn5-c8g1.4xlarge 0.4764
ecs.gn5-c28g1.7xlarge 0.3696

Time-limited offer

DSW 2.0 was available for free from May 1, 2020 to July 30, 2020. However, you would be charged for the SLB instances, EIPs, and ECS instances that you used to run instances of DSW 2.0 in that period.