All Products
Search
Document Center

Platform For AI:Billing of EAS

Last Updated:Aug 22, 2024

This topic describes the billable items and billing methods of Elastic Algorithm Service (EAS) of Platform for AI (PAI).

Note

The pricing information in this topic is only for reference. The actual prices in the billing statement shall prevail.

Billable resources

The following figure shows the billable resources of EAS.

ba4707451bdd90949c09b40602927d9f

Billing methods

The following table describes the billing methods of EAS.

Billing method

Billable resource

Billable item

Billing rule

Stop billing

Pay-as-you-go

Public resource group

The amount of time for which a model service runs by using public resources.

If you use public resources to deploy a model service, you are charged based on the usage duration. Billing starts immediately after model services are deployed.

Stop model services.

Pay-as-you-go

EAS resources (dedicated resource group)

The number of nodes and the usage duration.

If you use dedicated resources to deploy a model service, you are charged only for nodes in the dedicated resource group. Billing starts immediately after pay-as-you-go nodes are created in dedicated resource groups.

Delete pay-as-you-go nodes from dedicated resource groups.

Subscription

The number of nodes and the subscription duration.

N/A

Pay-as-you-go

System disk

The system disk capacity and the usage duration.

Billing starts immediately after the system disk is created.

  • Delete nodes from dedicated resource groups.

  • Delete model services deployed in the public resource group.

Subscription

The system disk capacity and the subscription duration.

Billing starts immediately after the system disk is created.

N/A

Subscription

AI computing resources (Lingjun resources)

For more information, see Billing of AI computing resources.

For more information, see Billing of AI computing resources.

N/A

Pay-by-inference-duration

Service calls

The inference duration of the Serverless Edition service.

You are billed based on the inference duration of the Serverless Edition service.

If you do not use the service to perform inference, you are not charged.

Pay-as-you-go

Dedicated gateway

The number and usage duration of gateway nodes.

You are billed based on the number of gateway nodes you purchase and the usage duration of the nodes.

Delete dedicated gateways.

Public resource group

Pay-as-you-go

The public resource group supports only the pay-as-you-go billing method. When you deploy a model service in the public resource group, you can select an instance type that has predefined resources or specify resources based on your business requirements.Dedicated resource group (pay-as-you-go)

Resource type

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

Specified resources

Bill amount for each model service = Number of nodes × [Number of vCPUs × (Unit price of vCPUs/60) + Memory size × (Unit price of memory/60)] × Usage duration (minutes)

For the unit prices per hour of vCPUs and memory, see Table 1. Pricing for specified resources in this topic. Fees are billed per minute. You can calculate the unit prices per minute by dividing the prices listed in Table 1 by 60.

  • Billing starts when a model service starts to run and consume resources.

  • Billing ends when a model service stops running and releases resources.

If you scale out a model service, you are charged for new resources after the scale-out activity is complete.

If you scale in a model service, the released resources are no longer billed. You are charged only for the remaining resources.

  • The usage duration is measured in minutes.

  • To prevent unnecessary costs, we recommend that you stop model services that you no longer use.

Specified instance type

Bill amount for each model service = Number of nodes × (Unit price/60) × Usage duration (minutes)

Unit prices may vary based on the instance type and the region. To view the unit prices of nodes, go to the EAS page in the PAI console, click Deploy Service, and then click Custom Deployment. In the Resource Deployment Information section, set the Resource Group Type parameter to Public Resource Group and select the instance type that you want to use. The unit price of the instance is displayed. For more information, see Model service deployment by using the PAI console. image

For information about the instance types supported by the public resource group, see Appendix: Public resource group instance types.

  • Billing starts when a model service starts to run and consume resources.

  • Billing ends when a model service stops running and releases resources.

N/A

  • The usage duration is measured in minutes.

  • To prevent unnecessary costs, we recommend that you stop model services that you no longer use.

  • Specific resources may be unavailable in specific regions for a short period of time.

Table 1. Resource-based configuration

Important

The unit prices listed in the following table are only for reference. You can view the actual prices in the console or on the buy page of the service resource that you want to purchase.

Resource

Unit price

vCPU

USD 0.03 per vCPU-hour

Memory

USD 0.004 per GB-hour

EAS resources

Dedicated resource group (pay-as-you-go)

EAS resources support the pay-as-you-go billing method.

Resource

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

Dedicated resource group

Bill amount for each resource group = Number of nodes × (Unit price/60) × Usage duration (minutes)

For information about the unit prices of pay-as-you-go nodes, go to the EAS post-payment for dedicated machine buy page.

  • Billing starts immediately after a node is created in a dedicated resource group and enters the Running state.

  • Billing ends when all resources in a dedicated resource group are released.

If you scale out a model service, you are charged for new resources after the scale-out activity is complete.

If you scale in a model service, the released resources are no longer billed. You are charged only for the remaining resources.

  • The usage duration is measured in minutes.

  • Specific instance types may become unavailable for short periods of time in specific regions. In this case, you can purchase instances in different regions.

Dedicated resource group (subscription)

EAS resources also support the subscription billing method.

Resource

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

Dedicated resource group

Bill amount for each resource group = Number of nodes × Unit price × Subscription duration (months)

For information about the unit prices of subscription nodes, go to the EAS pre-payment for dedicated machine buy page.

  • Billing starts at 00:00:00 the next day after the purchase.

  • Billing ends when the subscription expires.

N/A

Specific instance types may become unavailable for short periods of time in specific regions. In this case, you can purchase instances in different regions.

System disk

Pay-as-you-go

Resource

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

System disk

Bill amount = Number of nodes × System disk capacity (GiB) × (Unit price/60) × Usage duration (minutes)

To view the unit prices of system disks, go to the product overview page of Elastic Compute Service (ECS), click the Pricing tab, and then click Storage. The pricing information of Enhanced SSD PL1 is displayed in the System Cloud Disk Fee section.

  • Billing starts immediately after a system disk is created.

  • Billing ends when nodes are deleted from dedicated resource groups or when model services deployed in the public resource group are deleted.

N/A

N/A

Subscription

Resource

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

System disk

Bill amount = Number of nodes × System disk capacity (GiB) × Unit price × Subscription duration (months)

To view the unit prices of system disks, go to the product overview page of ECS, click the Pricing tab, and then click Storage. The pricing information of Enhanced SSD PL1 is displayed in the System Cloud Disk Fee section.

  • Billing starts immediately after a system disk is created.

  • Billing ends when the subscription expires.

N/A

None

AI computing resources (Lingjun resources)

Subscription

Lingjun resources support the subscription billing method. You can deploy model services in EAS by using Lingjun resource quotas. For more information, see Billing of AI computing resources.

Service call (Serverless Edition)

The deployment of Serverless Edition services is free of charge. You are charged only if you call the services based on the inference duration. For example, if you click Generate on the web UI page to generate an image and the process requires 10 seconds, the billing duration is 10 seconds.

To view the pricing details, go to the Deploy Service page in the PAI console, click AI Painting - SD Web UI Deployment in the Scenario-based Deployment section, and then select Serverless Edition. The pricing information is displayed in the Total Configuration Fee section. For more information, see Use SD web UI to deploy an AI painting service. image

Dedicated gateway

Resource type

Fee calculation

Unit price

Billing duration

Scaling description

Usage notes

Dedicated gateway

Bill amount = (Unit price/60) × Number of gateway nodes × Usage duration (minutes)

To view the unit prices of dedicated gateways, go to the EAS Dedicated Gateway Postpay buy page.

  • Billing starts immediately after a dedicated gateway is purchased.

  • Billing ends when the dedicated gateway is deleted.

N/A

N/A

Billing examples

Important

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

Public resource group

Pay-as-you-go

  • Scenario

    You used the public resource group to deploy a model service in the China (Hangzhou) region. You specified the public resources used for model deployment based on your business requirements.

    • The model service occupied 2 vCPUs and 8 GB of memory and started to run at 09:00:00 (UTC+8) on June 3, 2019.

    • You scaled in the model service and reduced the occupied resources to 1 vCPU and 4 GB of memory at 10:00:00 (UTC+8) on June 3, 2019.

    • You scaled out the model service and increased the occupied resources to 4 vCPUs and 16 GB of memory at 11:00:00 (UTC+8) on June 3, 2019.

    • The model service stopped running at 12:00:00 (UTC+8) on June 3, 2019.

  • Fee calculation

    Bill amount = 2 × 0.03 + 8 × 0.004 + 1 × 0.03 + 4 × 0.004 + 4 × 0.03 + 16 × 0.004 = USD 0.322

Dedicated resource group

Subscription

  • Scenario

    You subscribed to two NVIDIA T4 GPUs in the China (Hangzhou) region for three months. Each GPU provides 4 vCPUs and 15 GB of memory. The unit price of the GPU is USD 570 per month.

  • Fee calculation

  • Bill amount = 2 × 570 × 3 = USD 3,420

Pay-as-you-go

  • Scenario

    You purchased two pay-as-you-go ecs.g6.6xlarge instances in the China (Hangzhou) region and used the instances for 45 minutes. Each instance provides 24 vCPUs and 96 GB of memory. The unit price of the instance is USD 1.02 per hour.

  • Fee calculation

System disk

Subscription

  • Scenario

    You purchased two subscription instances in the China (Hangzhou) region for a dedicated resource group. Each instance provides a system disk capacity of 300 GiB (free storage: 200 GiB). The subscription duration is three months.

  • Fee calculation

  • Bill amount = 2 × (300 - 200) × 0.153 × 3 = USD 91.8

Pay-as-you-go

  • Dedicated resource group

    • Scenario

      You purchased two pay-as-you-go instances in the China (Hangzhou) region for a dedicated resource group and used them for 5 hours. Each instance provides a system disk capacity of 300 GiB (free storage: 200 GiB).

    • Fee calculation

    • Bill amount = 2 × (300 - 200) × 0.000319 × 5 = USD 0.319
  • Public resource group

    • Scenario

      You purchased two pay-as-you-go instances in the public resource group and deployed them in the China (Hangzhou) region. You used the instances for 5 hours. Each instance provides a system disk capacity of 300 GiB (free storage: 30 GiB).

    • Fee calculation

    • Bill amount = 2 × (300 - 30) × 0.000319 × 5 = USD 0.8613

Appendix: Public resource group instance types

The following table lists some of the instance types that can be used to deploy EAS services in the public resource group. For a complete list of supported instance types, go to the EAS page in the PAI console, click Deploy Service, and then click Custom Deployment. In the Resource Deployment Information section, you can view the supported instance types. For more information, see Model service deployment by using the PAI console. The supported instance types may vary based on the region.

CPU type

Instance type

vCPU

Memory (GiB)

ecs.c7.large

2

4

ecs.c7.xlarge

4

8

ecs.c7.2xlarge

8

16

ecs.c7.4xlarge

16

32

ecs.c7.6xlarge

24

48

ecs.c7.8xlarge

32

64

ecs.c7.16xlarge

64

128

ecs.r7.4xlarge

16

128

ecs.r7.large

2

16

ecs.r7.xlarge

4

32

ecs.r7.2xlarge

8

64

ecs.r7.6xlarge

24

192

ecs.r7.8xlarge

32

256

ecs.r7.16xlarge

64

512

ecs.g7.large

2

8

ecs.g7.xlarge

4

16

ecs.g7.2xlarge

8

32

ecs.g7.4xlarge

16

64

ecs.g7.6xlarge

24

96

ecs.g7.8xlarge

32

128

ecs.g7.16xlarge

64

256

ecs.g6.large

2

8

ecs.g6.xlarge

4

16

ecs.g6.2xlarge

8

32

ecs.g6.4xlarge

16

64

ecs.g6.6xlarge

24

96

ecs.g6.8xlarge

32

128

ecs.c6.large

2

4

ecs.c6.xlarge

4

8

ecs.c6.2xlarge

8

16

ecs.c6.4xlarge

16

32

ecs.c6.6xlarge

24

48

ecs.c6.8xlarge

32

64

ecs.r6.large

2

16

ecs.r6.xlarge

4

32

ecs.r6.2xlarge

8

64

ecs.r6.4xlarge

16

128

ecs.r6.6xlarge

24

192

ecs.r6.8xlarge

32

256

ecs.g5.6xlarge

24

96

ecs.c5.6xlarge

24

48

ecs.g8y.large

2

8

ecs.g8y.xlarge

4

16

ecs.g8y.2xlarge

8

32

ecs.g8y.4xlarge

16

64

ecs.g8y.8xlarge

32

128

ecs.g8y.16xlarge

64

256

ecs.c7a.large

2

4

ecs.c7a.xlarge

4

8

ecs.c7a.2xlarge

8

16

ecs.c7a.4xlarge

16

32

ecs.c7a.8xlarge

32

64

ecs.c7a.16xlarge

64

128

ecs.g7a.large

2

8

ecs.g7a.xlarge

4

16

ecs.g7a.2xlarge

8

32

ecs.g7a.4xlarge

16

64

ecs.g7a.8xlarge

32

128

ecs.g7a.16xlarge

64

256

GPU type

Instance type

vCPU

Memory (GiB)

GPU memory

ml.gu7i.c8m30.1-gu30

8

30

1 * 24 GB

ml.gu7i.c16m60.1-gu30

16

60

1 * 24 GB

ml.gu7i.c32m188.1-gu30

32

188

1 * 24 GB

ml.gu7i.c64m376.2-gu30

64

376

2 * 24 GB

ml.gu7i.c128m752.4-gu30

80

256

4 * 24 GB

ecs.gn5i-c4g1.xlarge

4

16

1 * 8 GB

ecs.gn5i-c8g1.2xlarge

8

32

1 * 8 GB

ecs.gn5-c4g1.xlarge

4

30

1 * 16 GB

ecs.gn5-c8g1.2xlarge

8

60

1 * 16 GB

ecs.gn5-c8g1.4xlarge

16

120

2 * 16 GB

ecs.gn5-c28g1.7xlarge

28

112

1 * 16 GB

ecs.vgn6i-m4-vws.xlarge

4

23

1 * 4 GB

ecs.vgn6i-m8-vws.2xlarge

10

46

1 * 8 GB

ecs.gn6i-c4g1.xlarge

4

15

1 * 16 GB

ecs.gn6i-c8g1.2xlarge

8

31

1 * 16 GB

ecs.gn6i-c16g1.4xlarge

16

62

1 * 16 GB

ecs.gn6i-c24g1.6xlarge

24

93

1 * 16 GB

ecs.gn6i-c24g1.12xlarge

48

186

2 * 16 GB

ecs.gn6i-c24g1.24xlarge

96

372

4 * 16 GB

ecs.gn7i-c8g1.2xlarge

8

30

1 * 24 GB

ecs.gn7i-c16g1.4xlarge

16

60

1 * 24 GB

ecs.gn7i-c32g1.8xlarge

32

188

1 * 24 GB

ecs.gn7i-c32g1.16xlarge

64

376

2 * 24 GB

ecs.gn7i-c32g1.32xlarge

128

752

4 * 24 GB

ecs.gn6v-c8g1.2xlarge

8

32

1 * 16 GB

ecs.gn6v-c8g1.4xlarge

16

64

2 * 16 GB

ecs.gn6v-c8g1.8xlarge

32

128

4 * 16 GB

ecs.gn6e-c12g1.3xlarge

12

92

1 * 32 GB

ecs.gn6e-c12g1.12xlarge

48

368

4 * 32 GB

ecs.gn6e-c12g1.24xlarge

96

736

8 * 32 GB

ecs.gn7-c12g1.3xlarge

12

94

1 * 40 GB

ecs.gn7-c13g1.13xlarge

52

378

4 * 40 GB

ecs.gn7-c13g1.26xlarge

104

756

8 * 40 GB

ecs.gn7-c13g1.6xlarge

26

189

2 * 40 GB

ecs.gn7e-c16g1.4xlarge

16

125

1 * 80 GB

ecs.gn7e-c16g1.8xlarge

32

250

2 * 80 GB

ecs.gn7e-c16g1.16xlarge

64

500

4 * 80 GB

ecs.gn7e-c16g1.32xlarge

128

1000

8 * 80 GB