All Products
Search
Document Center

Serverless App Engine:Billing

Last Updated:May 27, 2026

SAE supports pay-as-you-go billing and prepaid resource plans. A free trial is available for new users.

Cost calculation

Single application

Follow these steps to calculate the costs for a single application in SAE:

  1. Calculate the raw resource usage, which includes vCPU usage, memory usage, and disk usage. When calculating resource usage duration, any duration less than 1 second is rounded up to 1 second.

    Raw resource types

    Raw resource type

    Description

    Unit

    Example

    vCPU usage

    The number of vCPU cores used by an application multiplied by the runtime in seconds.

    vCPU-second

    An application has two instances, and each instance has a specification of 1 vCPU core. If all instances run for 100 seconds, the vCPU usage is 2 × 1 × 100 = 200 vCPU-seconds.

    memory usage

    The amount of memory (in GB) used by an application multiplied by the runtime in seconds.

    GB-second

    An application has two instances, and each instance has a specification of 2 GB of memory. If all instances run for 100 seconds, the memory usage is 2 × 2 × 100 = 400 GB-seconds.

    disk usage

    SAE provides each application instance with 20 GiB of free temporary disk space by default.

    To request more temporary disk space, submit a ticket. You are billed for usage that exceeds 20 GiB, which is calculated by multiplying the excess disk space (in GiB) by the runtime (in seconds).

    GiB-second

    An application instance has 50 GiB of temporary disk space and runs for 10 seconds. After the 20 GiB of free space is deducted, the billable disk usage is (50 - 20) × 10 = 300 GiB-seconds.

  2. Calculate the CU Usage. SAE converts raw resource usage (including vCPU usage, memory usage, and disk usage) into CU Usage (Cost Unit) for billing. The formula is CU Usage = raw resource usage × CU conversion coefficient. The CU conversion coefficient varies by application version (Lightweight, Standard, or Professional), raw resource type, and server type (default server or Hygon server).

    CU conversion coefficients

    Important

    The Lightweight and Professional versions are in invite-only beta. If you are not part of the beta test, your applications are created as the Standard version, and the billing method remains unchanged.

    Application version/Job task

    Raw resource type

    CU conversion coefficient

    Unit

    Default server

    Hygon server

    Lightweight

    vCPU usage

    0.6

    0.7644

    CU/vCPU-second

    memory usage

    0.15

    0.1911

    CU/GB-second

    disk usage

    0.015

    0.015

    CU/GiB-second

    Standard

    vCPU usage

    1

    1.274

    CU/vCPU-second

    memory usage

    0.25

    0.3185

    CU/GB-second

    disk usage

    0.015

    0.015

    CU/GiB-second

    Professional

    vCPU usage

    1.1

    1.4014

    CU/vCPU-second

    memory usage

    0.275

    0.35035

    CU/GB-second

    disk usage

    0.015

    0.015

    CU/GiB-second

  3. If you use a resource plan (subscription), the CU Usage is deducted from your plan. If you use the pay-as-you-go method, the CU unit price is shown in the table below. These prices are for reference only and are subject to your commercial offer.

    CU unit price

    Region

    Unit price (USD/CU)

    China (Beijing)

    China (Shanghai)

    0.000006859

    China (Hong Kong)

    Japan (Tokyo)

    0.00001176

    Singapore

    Indonesia (Jakarta)

    Germany (Frankfurt)

    0.00001069

Multiple applications

To calculate costs for multiple applications in SAE, follow these steps:

Important

Applications of the same version are billed together, while applications of different versions are billed separately.

For example, if you run both Lightweight and Professional applications, the costs for each version are calculated and billed separately.

  1. Calculate the raw resource usage, which includes vCPU usage, memory usage, and disk usage. When calculating resource usage duration, any duration less than 1 second is rounded up to 1 second.

    • vCPU usage = Σ(Number of instances × vCPU cores per instance × Runtime in seconds)

    • memory usage = Σ(Number of instances × Memory per instance in GB × Runtime in seconds)

    • disk usage = Σ(Number of instances × (Disk size per instance in GiB - 20 GiB free disk size) × Runtime in seconds)

  2. Calculate the CU Usage.

    • CU Usage = Σ(Usage of each resource type × Corresponding CU conversion coefficient)

  3. If you use a resource plan (subscription), the CU Usage is deducted from your plan. If you use the pay-as-you-go method, the cost is calculated based on the CU unit price.

    • Total cost = CU Usage × unit price

Billing

To use the service and enable billing, activate SAE. SAE supports two billing methods: pay-as-you-go and resource plan (subscription).

Pay-as-you-go

Instead of purchasing resources in advance, you are billed for your resource consumption. A bill is automatically generated hourly, and the amount is deducted from your account.

Bill generation is subject to a delay of approximately 3 hours. For example, the bill for the 01:00–02:00 period is available after 04:00.

Example - Pay-as-you-go cost calculation

These examples are for reference only. See your bill for the actual cost.

These examples assume an SAE user runs a single application for one month in the Chinese mainland, with each application instance running for the same duration each day and using the default server.

All examples use the pay-as-you-go billing method. For production, consider purchasing a resource plan to reduce costs.

Lightweight edition

Calculation step

Example 1

Example 2

  1. Raw resource usage

Daily runtime

10h

24h

Monthly running days

25 days

30 days

Total monthly runtime

25 * 10 * 3,600 = 900,000 seconds

30 * 24 * 3,600 = 2,592,000 seconds

Number of instances

2

8

Instance specifications

2 vCPU

4 GB memory

8 vCPU

64 GB memory

50 GiB disk

Monthly usage

2 * 2 * 900,000 = 3,600,000 vCPU-seconds

2 * 4 * 900,000 = 7,200,000 GB-seconds

8 * 8 * 2,592,000 = 165,888,000 vCPU-seconds

8 * 64 * 2,592,000 = 1,327,104,000 GB-seconds

8 * (50 - 20) * 2,592,000 = 622,080,000 GiB-seconds

  1. CU usage

CU conversion factor

0.6 CU/vCPU-second

0.15 CU/GB-second

0.6 CU/vCPU-second

0.15 CU/GB-second

0.015 CU/GiB-second

Converted CU usage

3,600,000 * 0.6 = 2,160,000 CU

7,200,000 * 0.15 = 1,080,000 CU

165,888,000 * 0.6 = 99,532,800 CU

1,327,104,000 * 0.15 = 199,065,600 CU

622,080,000 * 0.015 = 9,331,200 CU

Total CU usage

2,160,000 + 1,080,000 = 3,240,000 CU

99,532,800 + 199,065,600 + 9,331,200 = 307,929,600 CU

  1. Cost

CU unit price

$0.000006859/CU

$0.000006859/CU

Total cost

$22.22

$2112.09

Standard edition

Calculation step

Example 1

Example 2

  1. Raw resource usage

Daily runtime

10h

24h

Monthly running days

25 days

30 days

Total monthly runtime

25 * 10 * 3,600 = 900,000 seconds

30 * 24 * 3,600 = 2,592,000 seconds

Number of instances

2

8

Instance specifications

2 vCPU

4 GB memory

8 vCPU

64 GB memory

50 GiB disk

Monthly usage

2 * 2 * 900,000 = 3,600,000 vCPU-seconds

2 * 4 * 900,000 = 7,200,000 GB-seconds

8 * 8 * 2,592,000 = 165,888,000 vCPU-seconds

8 * 64 * 2,592,000 = 1,327,104,000 GB-seconds

8 * (50 - 20) * 2,592,000 = 622,080,000 GiB-seconds

  1. CU usage

CU conversion factor

1 CU/vCPU-second

0.25 CU/GB-second

1 CU/vCPU-second

0.25 CU/GB-second

0.015 CU/GiB-second

Converted CU usage

3,600,000 * 1 = 3,600,000 CU

7,200,000 * 0.25 = 1,800,000 CU

165,888,000 * 1 = 165,888,000 CU

1,327,104,000 * 0.25 = 331,776,000 CU

622,080,000 * 0.015 = 9,331,200 CU

Total CU usage

3,600,000 + 1,800,000 = 5,400,000 CU

165,888,000 + 331,776,000 + 9,331,200 = 506,995,200 CU

  1. Cost

CU unit price

$0.000006859/CU

$0.000006859/CU

Total cost

$37.04

$3477.48

Professional edition

Calculation step

Example 1

Example 2

  1. Raw resource usage

Daily runtime

10h

24h

Monthly running days

25 days

30 days

Total monthly runtime

25 * 10 * 3,600 = 900,000 seconds

30 * 24 * 3,600 = 2,592,000 seconds

Number of instances

2

8

Instance specifications

2 vCPU

4 GB memory

8 vCPU

64 GB memory

50 GiB disk

Monthly usage

2 * 2 * 900,000 = 3,600,000 vCPU-seconds

2 * 4 * 900,000 = 7,200,000 GB-seconds

8 * 8 * 2,592,000 = 165,888,000 vCPU-seconds

8 * 64 * 2,592,000 = 1,327,104,000 GB-seconds

8 * (50 - 20) * 2,592,000 = 622,080,000 GiB-seconds

  1. CU usage

CU conversion factor

1.1 CU/vCPU-second

0.275 CU/GB-second

1.1 CU/vCPU-second

0.275 CU/GB-second

0.015 CU/GiB-second

Converted CU usage

3,600,000 * 1.1 = 3,960,000 CU

7,200,000 * 0.275 = 1,980,000 CU

165,888,000 * 1.1 = 182,476,800 CU

1,327,104,000 * 0.275 = 364,953,600 CU

622,080,000 * 0.015 = 9,331,200 CU

Total CU usage

3,960,000 + 1,980,000 = 5,940,000 CU

182,476,800 + 364,953,600 + 9,331,200 = 556,761,600 CU

  1. Cost

CU unit price

$0.000006859/CU

$0.000006859/CU

Total cost

$40.74

$3818.83

Resource plan (subscription)

Purchase a resource plan with a fixed quota in advance for more favorable pricing than the pay-as-you-go model. This option is ideal when your resource usage is relatively stable and exceeds 1 million CU/year, business traffic has predictable peaks and troughs, and you have a clear budget. Generally, the larger the capacity of a resource plan the greater the discount.

Resource plan types and pricing

Important
  • Starting February 12, 2025 (UTC+8), SAE has launched CU resource plans. CU resource plans are available as yearly plans.

  • If you have previously purchased vCPU and memory resource plans, the system first converts vCPU and memory usage into CU usage. Then, the system uses the quota from one of the resource plans to offset the total CU usage until that plan's quota is exhausted. After that, the system starts to use the quota from the other resource plan.

Chinese mainland

Capacity

Price

Promotional price

1 million CU/year

USD 6.85

USD 6.51

10 million CU/year

USD 68.00

USD 64.60

30 million CU/year

USD 201.00

USD 190.95

100 million CU/year

USD 665.00

USD 631.75

500 million CU/year

USD 3,292.00

USD 3,127.40

2 billion CU/year

USD 13,030.00

USD 12,378.50

Hong Kong (China), Macao (China), Taiwan (China), and other regions

Capacity

Price

Promotional price

1 million CU/year

USD 10.60

USD 10.07

10 million CU/year

USD 105.00

USD 99.75

30 million CU/year

USD 314.00

USD 298.30

100 million CU/year

USD 1,037.00

USD 985.15

500 million CU/year

USD 5,131.00

USD 4,874.45

2 billion CU/year

USD 20,311.00

USD 19,295.45

Purchase a resource plan

  1. Select a suitable resource plan based on your predicted resource usage. To give you a general idea, 10 million CU can support one Standard Edition application instance with 1 vCPU and 2 GB of memory (using a default server) running continuously for about 77 days.

  2. Purchase an SAE CU resource plan.

Resource plan validity period

When you purchase a resource plan, carefully read the description of its validity period on the purchase page. For example, if you purchase a one-year resource plan at 14:00 on February 12, 2025, it expires at 14:00 on February 12, 2026.

Applicable regions

Resource plans can be used in all available regions.

Deduction order of resource plans

You can purchase multiple resource plans. The system uses the plan that expires soonest first. If multiple resource plans have the same expiration time, the system uses them in the order they were purchased.

If you have not purchased a resource plan, or your resource plan is exhausted or has expired, your usage is billed on a pay-as-you-go basis.

View resource plans

After you purchase a resource plan (subscription), log in to the SAE console. In the Resource Plan area in the upper-right corner of the Overview page, you can view the usage details of your resource plan.

Resource plan unsubscription

You can request a full refund for an unused resource plan within five days of purchase using the online self-service unsubscription. Refunds are not available for plans purchased more than five days ago or for plans that have been used. See Cancellation and refund rules.

Resource plan FAQ

How do I configure instance specifications when I migrate applications from ECS to SAE?

For example, if you previously deployed four identical instances of an application on a 4-vCPU, 16 GB ECS instance, we recommend that you deploy four 1-vCPU, 4 GB application instances in SAE after migration.

After deployment, you can use a stress testing tool to test application performance metrics, such as Queries Per Second (QPS).

Additional billable items

If your SAE application integrates with other Alibaba Cloud services, you will be billed for other services such as networking, storage, databases, middleware, logging, and observability.

Warning

When you delete an SAE application , SAE stops billing for that resource.

If your SAE application depends on other services such as Classic Load Balancer (CLB), those services continue to incur costs.

To avoid unnecessary charges, stop or delete services that are no longer needed and verify that billing has stopped.

Service type

Requirements and scenarios

Implementation method

Billing reference

Networking

Your SAE application must be accessible from the internet (inbound traffic).

Access your application by using SAE Ingress (gateway routing):

Cloud Native API Gateway billing

ALB billing

MSE cloud-native gateway billing

Access your application by using an SAE Service:

NLB billing

CLB billing

Your SAE application must access the internet (outbound traffic).

Configure an Internet NAT gateway for the application's VPC.

NAT Gateway billing

Bind an EIP to each instance of your SAE application.

EIP billing

Use a registry to enable communication between microservice applications.

Implement service registration and discovery with a registry, such as Nacos.

SAE's built-in Nacos registry is free of charge.

MSE Nacos registry

Enable internal network communication between applications.

Access your application by using SAE Ingress (gateway routing):

Cloud Native API Gateway billing

ALB billing

MSE cloud-native gateway billing

Access your application by using an SAE Service:

NLB billing

CLB billing

Storage

Enable persistent storage for your SAE application .

NAS storage

NAS billing

OSS storage

OSS billing

Database

Your SAE application connects to an Alibaba Cloud database service.

Application accesses an Alibaba Cloud database

Refer to the billing documentation for the specific database service.

Middleware

Your SAE Standard and Professional Edition applications integrate with MSE's microservice governance capabilities.

Microservice governance

Professional Edition: Microservice governance is free of charge.

Standard Edition: Microservice governance requires separate activation and is billed.

Logging

Centrally collect and analyze logs from your SAE application .

Set up log collection to SLS

SLS billing

Set up log collection to Kafka

Kafka billing

Observability

Your SAE Standard and Professional Edition applications integrate with ARMS advanced monitoring capabilities.

ARMS advanced monitoring

Professional Edition: ARMS advanced monitoring is free of charge.

Standard Edition: ARMS advanced monitoring requires separate activation and is billed.

View bills

Billing details

  1. Log on to Expenses and Costs and go to the Monthly Billing Overview page to view your monthly consumption. You can switch accounts to view the summarized consumption for associated RAM users.

  2. Go to the Billing Details page, click the corresponding tab, then view your consumption.

    • Consumption by Bill: View the consumption records of your account for each hourly billing cycle. For example, if you use SAE continuously from 00:00 to 24:00 on August 1, 24 consumption records are displayed, one for each hour.

      Important

      SAE bill generation is delayed by approximately 2 hours. For example, you can query the SAE consumption record for the 13:00 to 14:00 period around 16:00 in the Expenses and Costs console.

    • Billing Details: You can filter billing details by different Statistic Item and Statistic Period values. The details include product details, consumption type, billable item, price, and deduction information.

      Important
      • The Instance ID in the billing details corresponds to your Application ID (① and ② in the figure) or Task Template ID. You can view and copy the ID from the application details page or task template details page. Then, on the Billing Details tab, you can search for the bill for a single application or task template by Instance ID (③ in the figure).

      • The Billing Item (④ in the figure) specifies the billable items for the application or task template. You can use the billable item type to reconcile your resource usage.

    • View Usage Details: Follow the instructions on the page to download the usage information in CSV format.

Resource plan usage details

Log on to Expenses and Costs. Go to the Usage Details page for resource plans, enter the specific resource instance name, and view the detailed deduction records for the resource plan.

SAE resource plans have a fixed capacity that is consumed over time. During the validity period, usage is deducted from the resource plan until its capacity is fully used or the plan expires. The remaining capacity is the previous balance minus the deducted amount. The deducted amount is the resource usage of the instance during a specific time period.

You can also view the usage of your purchased CU resource plans on the right side of the Overview page, within the Resource Plan area.

Reconciliation FAQ

How to reconcile SAE resource bills

To reconcile your bills, use View billing details and View resource plan usage details.

Why am I charged after stopping SAE?

Assume that you used SAE resources from 13:00 to 14:00, stopped using them at 14:00, and immediately checked the Consumption by Bill and Billing Details tabs. You may find that SAE still has consumption records after 14:00.

This is normal because SAE bill generation is delayed by approximately 2 hours. Therefore, after you stop using SAE resources at 14:00, you can view the bill details on the Consumption by Bill tab around 16:00. You can also export detailed data from the View Usage Details tab if needed.

Deduction order

  1. Credit limit for enterprise users.

  2. Valid coupons in your Alibaba Cloud account.

  3. Valid prepaid cards in your Alibaba Cloud account.

  4. Cash balance in your Alibaba Cloud account.

  5. Balance of your linked Alipay account.

  6. The bank card specified for your linked Alipay account.

  7. Other bank cards linked to your Alipay account for express payments.

  8. Yu'e Bao balance of your linked Alipay account (if the Yu'e Bao auto-debit feature is enabled in Alipay).

The credit limit for enterprise users, valid coupons, and cash balance cannot be used simultaneously.

Overdue payments and renewals

If your available balance (account balance and coupons combined) cannot cover outstanding bills, your account immediately becomes overdue.

Note

If you no longer need SAE, release its resources to avoid further charges:

  • To delete an SAE application: Delete an application.

  • If your application integrates with other Alibaba Cloud services, you will incur additional fees for services such as networking, storage, databases, middleware, logging, and observability. Before you delete these resources, make sure to back up any necessary data.

Overdue payments

Overdue duration

Description

Overdue for less than 7 days

If your account has been overdue for less than 7 days (168 hours), your application instances in SAE continue to use cloud resources and incur fees, unless they are deleted or stopped.

The following limits apply to SAE:

  • Normal billing and operations:

    • Existing application instances remain active and continue to be billed.

    • You can still stop, scale in, and delete applications.

  • Restricted management functions:

    • You cannot create, copy, start, restart, scale out, or deploy applications.

Overdue for more than 7 days

If you fail to pay all outstanding bills within 7 days (168 hours) after your account becomes overdue, SAE will stop your services. The application instances that you created in SAE are then released, and their data is permanently deleted.

To avoid service disruptions, pay your outstanding bills promptly.

Consumption overview

  1. Log on to Expenses and Costs.

  2. On the Account Overview page, view the consumption overview.

Renewals

  1. Log on to Expenses and Costs.

  2. In the left-side navigation pane, click Payment Details. On the Payment Details page, select the Unpaid tab and click Make a Payment in the Action column and follow the on-screen instructions to pay the overdue amount.