This topic describes the billing rules, billable items, and cost optimization options for Data Science Workshop (DSW).
Billing overview
Billable items
Computing instances
DSW supports two types of computing resources: public resources and dedicated resources (general computing resources or Lingjun resources). The billing method varies depending on the resource type you choose.
|
Instance type |
Billing method |
Billable item |
Billing rule |
Stop billing |
|
Public resources |
Pay-as-you-go |
The duration for which a DSW instance occupies public resources. |
For the unit price of a specific instance type, see the pricing information on the DSW console. Important
DSW instances are billed on a per-minute basis. Bills are generated hourly but may be delayed by 2 to 3 hours due to data aggregation and processing. Refer to the final invoice for accurate billing information. |
Important
You must manually stop the instance or configure a scheduled shutdown. For more information, see Manage DSW instances. |
|
Dedicated resources (general computing or Lingjun resources) |
Subscription |
The number of nodes and the subscription duration. |
You purchase dedicated resources on a subscription basis. You are billed based on the number and specifications of nodes and the subscription duration. For more information, see Billing of AI computing resources. |
N/A |
System disks
Each DSW instance comes with a default system disk. You are billed only for storage capacity that exceeds the free quota.
|
Billing method |
Billable item |
Billing rule |
Stop billing |
|
Pay-as-you-go |
The capacity and usage duration of the system disk that exceeds the free quota. |
If you expand the system disk beyond the free quota, you are billed for the additional capacity based on usage duration.
|
Delete the DSW instance. Important
Billing for the expanded capacity of a system disk continues even if the DSW instance is stopped. To stop the billing, you must back up your data and delete the DSW instance. |
Cost optimization options
To reduce your DSW costs, you can take advantage of the following options for pay-as-you-go resources.
PAI savings plan
A PAI savings plan allows you to prepay for a committed amount of resource usage. This plan automatically offsets the costs of your pay-as-you-go DSW instances.
|
Resource type |
Formula |
Unit price |
Billing duration |
Scale-out and scale-in |
Other notes |
|
|
You can purchase a savings plan with a committed spending amount ranging from CNY 100 to CNY 1,000,000. After purchase, the plan automatically offsets your pay-as-you-go DSW bills. For pricing details, see the PAI savings plan purchase page. |
The savings plan takes effect immediately upon purchase. |
N/A |
|
DSW resource plan
A DSW resource plan provides prepaid compute hours that you can apply toward your pay-as-you-go DSW instances.
|
Resource type |
Formula |
Unit price |
Billing duration |
Scale-out and scale-in |
Other notes |
|
|
For pricing details, see the DSW resource plan purchase page. |
The resource plan takes effect immediately upon purchase. |
N/A |
|
Billing examples
The following examples are for illustration purposes only. For actual pricing, refer to the DSW console or the Alibaba Cloud purchase page.Billing for the expanded capacity of a system disk continues even if the DSW instance is stopped. To stop the billing, you must back up your data and delete the DSW instance.
Pay-as-you-go example
-
Scenario:
You create a DSW instance with the ecs.g6.13xlarge specification using public resources in the China (Shanghai) region. The instance runs for 2 minutes.
-
Fee calculation:
Fee = 2.05 / 60 × 2 = USD 0.0683
Subscription example
-
Scenario:
You purchase dedicated resources for DSW instances. You subscribe to two instances with the ecs.g6.13xlarge-52c192g specification in the China (Shanghai) region for two months. The unit price is USD 980.57/month. The actual price is displayed on the purchase page.
-
Fee calculation:
Total fee = 2 × 980.57 × 2 = USD 3,922.28
FAQ
For answers to common questions about DSW billing, see FAQ about DSW billing and bills.