PAI stop billing guide
Billing rules and the operations for stopping billing differ across PAI modules. This topic summarizes how to stop billing and the precautions for all modules, so you can stop billing promptly after you finish using a resource and avoid unnecessary fees.
Understand PAI billing
PAI billing is based on resource occupancy. To stop billing, release the resources that you use. Release methods vary by resource type. The following examples use public resources and AI computing resources.
Public resources (pay-as-you-go)
Public resources support only the pay-as-you-go billing method. Stop billing by stopping or deleting instances, services, or jobs. After you stop them, compute resources are no longer billed, but associated storage, such as an expanded system disk in DSW, might still be billed. To stop billing completely, delete the instance, service, or job.
AI computing resources
Resource types include Lingjun Intelligent Computing resources, general computing resources, and EAS inference resources. Both subscription and pay-as-you-go billing methods are supported:
Pay-as-you-go: You must delete the resources to stop billing.
Subscription: Fees are paid upfront. You can unsubscribe early if needed. For more information, see Unsubscription.
Some submodules might also involve other resources. For more information, see Stop billing by module.
When you use PAI, you might incur fees for products other than the PAI modules themselves, including but not limited to the following:
OSS (Object Storage Service): Items such as DSW mounts, training data, and model outputs might incur storage fees.
SLS (Simple Log Service): After you enable log collection, log storage and read/write fees are incurred.
ALB dedicated gateway: Fees are incurred when an EAS service uses an ALB dedicated gateway.
NAT gateway: Configuring public network access might incur NAT gateway fees.
After you stop a PAI module, check whether any of the preceding associated resources are still running. Stop or delete them in the PAI console or the console of the respective product as needed.
Important reminders: Avoid unexpected billing
The following rules can be counterintuitive. Read them carefully to avoid continuing to incur fees without realizing it.
Rule | Description |
Not in use ≠ not billed |
|
Stopping DSW ≠ stopping all billing | If you expanded the system disk beyond the free 100 GiB when you created a DSW instance, the expanded system disk continues to be billed even after the instance is stopped. You must delete the instance to stop all billing completely. |
Closing the browser ≠ stopping a DSW instance | Closing the browser or the WebIDE page does not stop a DSW instance. The instance continues to run in the background and is billed. In the console, you must stop or delete the instance to stop billing. |
EAS is billed even if it fails to start |
|
Pay-as-you-go AI computing resources have no manual "Stop" option | Machines in pay-as-you-go AI computing resources have no manual stop option. |
Free trial expiration does not stop instances automatically |
|
Bills are delayed | PAI pay-as-you-go bills are delayed to some extent. A deduction notification that you receive after you stop a service settles the resources that were used before the stop. It is not an extra charge. |
Deleting a workspace ≠ clearing all fees | Deleting a workspace does not automatically stop or delete its DSW instances, EAS services, DLC jobs, or other resources. These resources might continue to run and incur fees. Before you delete a workspace, stop or delete its resources one by one. |
Stop billing by module
The following sections describe how to stop billing in each module.
AI computing resources (Lingjun Intelligent Computing/general computing/EAS inference resources)
AI computing resources provide the underlying compute capacity for DSW, DLC, and EAS. Both subscription and pay-as-you-go billing methods are supported.
Subscription
Subscription is an upfront billing method. To unsubscribe early, follow these steps:
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, choose .
Select the tab for the target resource type:
Lingjun Intelligent Computing resources/General Computing Resources: Click the target resource group. In the Actions column of Nodes, click Unsubscribe to open the Resource Unsubscription page and unsubscribe. The instance ID is automatically filled in to search for the resource to unsubscribe from.
EAS Inference Resources:
Click the target resource group. In Machine List, find the instance ID to unsubscribe from.
Go to the Resource Unsubscription page. On the Unsubscribe Resource tab, enter the instance ID, click Search, and unsubscribe from the resource in the Actions column of the results list.
Pay-as-you-go
Billing starts when a resource is added to an AI resource group. You must delete the resource to stop billing. Deletion clears the instance and the data. Back up your data in advance.
Procedure
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, choose .
Select the tab for the target resource type:
Lingjun Intelligent Computing resources/General Computing Resources: Click the target resource group. In the Actions column of Nodes, click Release.
NoteOnly version 2.0 of general computing resources supports purchasing pay-as-you-go machines.
EAS Inference Resources: On the dedicated resource group page, click the target resource group. In the Actions column of Machine List, click Delete a node.
For more information, see Billing of AI computing resources.
Data Science Workshop (DSW)
DSW billing items include compute instances and system disks.
DSW supports public resources and AI computing resources. The way to stop billing for AI computing resources differs from that for public resources. For more information, see AI computing resources. To stop billing for pay-as-you-go public resources, perform the following operations:
Public resources (pay-as-you-go)
Stop an instance: Stops billing for the compute instance. If the system disk is within the free quota of 100 GiB, its billing stops at the same time.
Delete an instance: Stops all billing completely, including for the compute instance and the system disk. After you expand the system disk, you must delete the instance to stop billing.
Procedure
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, click Workspaces and enter the target workspace.
In the left-side navigation pane, click Data Science Workshop (DSW).
In the instance list, perform one of the following operations:
Stop an instance: In the Actions column of the target instance, click Stop.
Delete an instance: Click the More icon (⋮) in the Actions column of the target instance, and then select Delete from the drop-down menu.
DSW supports an idle auto-stop policy that automatically stops an instance when CPU and GPU utilization falls below a threshold. However, the policy is not guaranteed to be triggered. Stop instances manually when they are not in use.
If an instance with an unpaid expanded cloud disk remains stopped for more than 15 consecutive days, the data on the system disk is automatically cleared. Back up your data promptly.
For more information about billing, see DSW billing.
Elastic Algorithm Service (EAS)
EAS billing items include compute resources, an optional system disk, and an optional dedicated gateway. Compute resources can use public resources or AI computing resources. The way to stop billing for AI computing resources differs from that for public resources. For more information, see AI computing resources. To stop billing for pay-as-you-go public resources, perform the following operations:
Public resources (pay-as-you-go)
Stop or delete a job to stop billing for compute resources and system disks.
Procedure
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, click Workspaces and enter the target workspace.
In the left-side navigation pane, click Elastic Algorithm Service (EAS).
In the service list, perform one of the following operations:
Stop a service: In the Actions column of the target service, click Stop.
Delete a service: Click the More icon (⋮) in the Actions column of the target service, and then click Delete in the drop-down menu.
Serverless services
Deployment is free. Billing applies only when requests are processed, so no manual stop is required. Currently, only SDWebUI is supported.
Dedicated gateways
If you created a dedicated gateway that is fully managed or uses ALB, delete it after you confirm that it is no longer in use to stop billing.
Procedure
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, click Workspaces and enter the target workspace.
In the left-side navigation pane, click Elastic Algorithm Service (EAS).
On the Inference Gateway tab, click Delete in the Actions column of the target gateway.
For more information about billing, see Elastic Algorithm Service (EAS) billing.
Deep Learning Containers (DLC)
DLC is billed based on how long jobs run. Billing stops after a job completes, fails, or is stopped manually. DLC supports public resources and AI computing resources. The way to stop billing for AI computing resources differs from that for public resources. For more information, see AI computing resources.
Public resources (pay-as-you-go)
Stop or delete a job to stop billing.
Procedure
Log on to the PAI console and select the target region in the upper-left corner of the page.
In the left-side navigation pane, click Workspaces and enter the target workspace.
In the left-side navigation pane, click Deep Learning Containers (DLC).
In the job list, perform one of the following operations:
Stop a job: In the Actions column of the target job, click Stop.
Delete a job: Click the More icon (⋮) in the Actions column of the target job, and then click Delete in the drop-down menu.
For more information about billing, see Billing for DLC.
Machine Learning Designer
Machine Learning Designer is billed based on the Compute Unit (CU) consumption of running components. Stop billing in the following ways:
Manually stop a component: Stop a running component in the Designer editor.
Wait for a job to complete: When the job completes, the instance is automatically released and billing stops.
Manually terminate a job: Terminate a running job to automatically release the instance.
Machine Learning Designer has no resident instances and is billed only while components run. No additional action is required after a job ends.
For more information about billing, see Billing for Machine Learning Designer.
FeatureStore
FeatureStore uses MaxCompute and DataWorks resources for feature computing and FeatureDB for feature storage. To stop billing, handle each resource separately:
FeatureDB: Delete the FeatureDB data source to stop write, read, and storage fees.
MaxCompute / DataWorks: Stop billing according to the billing rules of each product. For instructions, see the stop billing documentation for the respective product.
For more information about billing, see Billing of FeatureStore.
Other modules
iTAG
iTAG is currently free. Purely manual labeling incurs no fees, and some Large Language Model (LLM)-assisted labeling templates are temporarily free. No stop action is required. For more information, see iTAG billing.
AutoML
AutoML itself is free. Fees come from the underlying training tasks that it triggers, including DLC or MaxCompute. To stop billing, stop the DLC training task or MaxCompute job. For more information, see AutoML billing.
QuickStart
QuickStart itself is free. Fees come from the DLC training tasks or deployed EAS services that it triggers. To stop billing, stop the DLC job or EAS service. For more information, see Billing for QuickStart.
LangStudio
LangStudio itself is free. Fees come from the underlying services that it uses, including:
DSW: Instances used for development and debugging must be stopped or deleted manually.
EAS: Used to deploy model services, and must be stopped or deleted manually.
OSS: Clean up the buckets that store application data.
SLS / OpenTelemetry: Log and tracing services, which must be disabled in the respective console.
For more information, see LangStudio billing.
PAI Token Service
PAI Token Service is billed based on the number of tokens actually consumed: input tokens plus output tokens. Stop API calls to stop billing. No manual resource release is required. For more information, see PAI Token Service pricing.