ApsaraMQ for Kafka Serverless instances use the pay-as-you-go billing method, which means you are billed based on the actual resources that you use. This method provides high elasticity, improves resource utilization, and reduces business costs. This topic describes the billable items and billing rules for Serverless instances.
Elastic billing
ApsaraMQ for Kafka Serverless Standard Edition and Professional Edition instances offer elastic capabilities. The upper limit for sending and subscription traffic is twice the reserved capacity. If traffic exceeds this upper limit, the instance is throttled. Traffic that exceeds the reserved capacity is billed based on accumulated usage. The fees for traffic that exceeds the reserved capacity are referred to as elastic fees.
Region restrictions
Support for Serverless instances is being rolled out to more regions. To enable a Serverless instance in a specific region, submit a ticket to contact the helpdesk.
Usage notes
Limit | Description |
Number of instances | No limit. |
Internet | Enabled by default. |
Reserved sending capacity | The reserved sending capacity specifies the computing and processing capabilities of a message cluster. It is measured by network interface card (NIC) traffic. NIC traffic = Service traffic + Intra-cluster replica replication traffic. Service traffic is the traffic generated by your business messages. Intra-cluster replica replication traffic is the traffic generated by the three replicas in an ApsaraMQ for Kafka cluster.
|
Reserved subscription capacity |
|
Purchasable traffic ratio of reserved subscription capacity to reserved sending capacity |
|
Storage space | Limited by the retention period of consumer offsets. |
Billable items
Basic Edition instances do not incur elastic fees.
Billable item | Description | Billing cycle |
Reserved sending capacity |
| Hourly |
Elastic sending traffic (optional) | Traffic that exceeds the reserved sending capacity is billed based on the accumulated usage. If the reserved sending capacity is not exceeded, no elastic fees are incurred. | |
Reserved subscription capacity |
| |
Elastic subscription traffic (optional) | Traffic that exceeds the reserved subscription capacity is billed based on the accumulated usage. If the reserved subscription capacity is not exceeded, no elastic fees are incurred. | |
Storage space | Billed based on the pricing tier of the used storage space. The minimum billable storage space is 1 GB. If the used storage space is less than 1 GB, it is billed as 1 GB. | |
Number of partitions | Billed based on the pricing tier of the number of partitions used. | |
Internet bandwidth traffic (optional) | You can enable or disable Internet access as needed. You are charged for the amount of traffic you use. This fee is charged only when Internet access is enabled. |
Billing details
If there is a discrepancy between the region and pricing information in this topic and the information on the buy page, the information on the buy page in the console prevails.
For the Serverless pay-as-you-go billing method, billing starts after you purchase an instance.
You are billed on an hourly basis. The peak traffic within a one-hour window is used as the actual usage for that hour. Usage for less than one hour is rounded up to one hour.
Bills are generated daily. Fees are calculated on an hourly basis. Alibaba Cloud measures your service usage from the previous day, generates a bill, and automatically deducts the fees from your Alibaba Cloud account.
ApsaraMQ for Kafka provides a calculator to help you quickly estimate costs:
Public cloud region groups
Region type | Region name |
Region group 1 | China (Hangzhou) |
China (Shanghai) | |
China (Fuzhou - Local Region - Sunsetting) | |
China (Qingdao) | |
China (Beijing) | |
China (Zhangjiakou) | |
China (Hohhot) | |
China (Ulanqab) | |
China (Shenzhen) | |
China (Chengdu) | |
China (Guangzhou) | |
China (Heyuan) | |
Region group 2 | Singapore |
China (Hong Kong) | |
Japan (Tokyo) | |
UK (London) | |
Germany (Frankfurt) | |
US (Virginia) | |
US (Silicon Valley) | |
South Korea (Seoul) | |
Region group 3 | Indonesia (Jakarta) |
Malaysia (Kuala Lumpur) | |
Philippines (Manila) | |
Thailand (Bangkok) |
Sending traffic
Billing formula
Hourly sending traffic fee = Reserved sending capacity fee + Elastic fee
Elastic fee = Total elastic sending traffic (GB) × Unit price (USD)
Unit price
For information about the fees for reserved sending capacity, see the following table:
Public cloud regions
Region | Reserved sending capacity tier (MB/s) | Unit price for reserved sending capacity (USD/MB/s/hour) | Fee for reserved sending capacity (USD) where n is the reserved sending capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
Region group 1 | [0,60] | 0.0006 | 0.00350 | 0.00525 | n × 0.0006 | n × 0.00350 | n × 0.00525 |
(60,300] | 0.00221 | 0.00330 | 0.21 + (n - 60) × 0.00221 | 0.315 + (n - 60) × 0.00330 | |||
(300,1024] | 0.00139 | 0.00208 | 0.7404 + (n - 300) × 0.00139 | 1.107 + (n - 300) × 0.00208 | |||
> 1024 | 0.00088 | 0.00132 | 1.74676 + (n - 1024) × 0.00088 | 2.61292 + (n - 1024) × 0.00132 | |||
Region group 2 | [0,60] | 0.0008 | 0.00508 | 0.00761 | n × 0.0008 | n × 0.00508 | n × 0.00761 |
(60,300] | 0.00320 | 0.00479 | 0.3048 + (n - 60) × 0.00320 | 0.4566 + (n - 60) × 0.00479 | |||
(300,1024] | 0.00201 | 0.00302 | 1.0728 + (n - 300) × 0.00201 | 1.6062 + (n - 300) × 0.00302 | |||
> 1024 | 0.00127 | 0.00191 | 2.52804 + (n - 1024) × 0.00127 | 3.79268 + (n - 1024) × 0.00191 | |||
Region group 3 | [0,60] | 0.0007 | 0.00466 | 0.00683 | n × 0.0007 | n × 0.00466 | n × 0.00683 |
(60,300] | 0.00293 | 0.00429 | 0.2796 + (n - 60) × 0.00293 | 0.4098 + (n - 60) × 0.00429 | |||
(300,1024] | 0.00185 | 0.00271 | 0.9828 + (n - 300) × 0.00185 | 1.4394 + (n - 300) × 0.00271 | |||
> 1024 | 0.00116 | 0.00171 | 2.3222 + (n - 1024) × 0.00116 | 3.40144 + (n - 1024) × 0.00171 | |||
Finance Cloud regions
Region | Reserved sending capacity tier (MB/s) | Unit price for reserved sending capacity (USD/MB/s/hour) | Fee for reserved sending capacity (USD) where n is the reserved sending capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | [0,60] | 0.0011 | 0.00665 | 0.00998 | n × 0.0011 | n × 0.00665 | n × 0.00998 |
(60,300] | 0.00419 | 0.00627 | 0.399 + (n - 60) × 0.00419 | 0.5988 + (n - 60) × 0.00627 | |||
(300,1024] | 0.00264 | 0.00396 | 1.4046 + (n - 300) × 0.00264 | 2.1036 + (n - 300) × 0.00396 | |||
> 1024 | 0.00166 | 0.00250 | 3.31596 + (n - 1024) × 0.00166 | 4.97064 + (n - 1024) × 0.00250 | |||
Gov Cloud regions
Region | Reserved sending capacity tier (MB/s) | Unit price for reserved sending capacity (USD/MB/s/hour) | Fee for reserved sending capacity (USD) where n is the reserved sending capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China (Beijing) Gov Cloud 1 | [0,60] | 0.0011 | 0.00700 | 0.01050 | n × 0.0011 | n × 0.00700 | n × 0.01260 |
(60,300] | 0.00441 | 0.00660 | 0.42 + (n - 60) × 0.00441 | 0.63 + (n - 60) × 0.00794 | |||
(300,1024] | 0.00278 | 0.00417 | 1.4784 + (n - 300) × 0.00278 | 2.214 + (n - 300) × 0.00500 | |||
> 1024 | 0.00175 | 0.00263 | 3.49112 + (n - 1024) × 0.00175 | 5.23308 + (n - 1024) × 0.00315 | |||
Elastic sending traffic fees:
Region | Standard Edition (USD/GB) | Professional Edition (USD/GB) |
Region group 1 | 0.008333333333 | 0.01500 |
Region group 2 | 0.012083333333 | 0.02175 |
Region group 3 | 0.011083333333 | 0.01995 |
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | 0.015833333333 | 0.02850 |
China (Beijing) Gov Cloud 1 | 0.016666666667 | 0.03000 |
Billing example 1
For example, you purchase a Standard Edition instance with a reserved sending capacity of 60 MB/s in the China (Hangzhou) region. The peak traffic and fees within two hours are as follows:
Time | Peak traffic | Excess part | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 70 MB/s | 20 GB |
|
Billing example 2
For example, you purchase a Standard Edition instance with a reserved sending capacity of 90 MB/s in the China (Hangzhou) region. The peak traffic and fees within two hours are as follows:
Time | Peak traffic | Excess part | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 100 MB/s | 20 GB |
|
Subscription traffic
Billing formula
Hourly subscription traffic fee = Reserved subscription capacity fee + Elastic fee
Elastic fee = Total elastic subscription traffic (GB) × Unit price (USD)
Unit price
For information about the fees for reserved subscription capacity, see the following table:
Public cloud regions
Region | Reserved subscription capacity tier (MB/s) | Unit price for reserved subscription capacity (USD/MB/s/hour) | Fee for reserved subscription capacity (USD) where n is the reserved subscription capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
Region group 1 | [0,60] | 0.0003 | 0.00175 | 0.00263 | n × 0.0003 | n × 0.00175 | n × 0.00263 |
(60,300] | 0.00110 | 0.00165 | 0.105 + (n - 60) × 0.00110 | 0.1578 + (n - 60) × 0.00165 | |||
(300,1024] | 0.00070 | 0.00105 | 0.369 + (n - 300) × 0.00070 | 0.5538 + (n - 300) × 0.00105 | |||
> 1024 | 0.00044 | 0.00065 | 0.8758 + (n - 1024) × 0.00044 | 1.314 + (n - 1024) × 0.00065 | |||
Region group 2 | [0,60] | 0.0004 | 0.00254 | 0.00382 | n × 0.0004 | n × 0.00254 | n × 0.00382 |
(60,300] | 0.00160 | 0.00239 | 0.1524 + (n - 60) × 0.00160 | 0.2292 + (n - 60) × 0.00239 | |||
(300,1024] | 0.00101 | 0.00152 | 0.5364 + (n - 300) × 0.00101 | 0.8028 + (n - 300) × 0.00152 | |||
> 1024 | 0.00064 | 0.00094 | 1.26764 + (n - 1024) × 0.00064 | 1.90328 + (n - 1024) × 0.00094 | |||
Region group 3 | [0,60] | 0.0004 | 0.00233 | 0.00342 | n × 0.0004 | n × 0.00233 | n × 0.00342 |
(60,300] | 0.00147 | 0.00215 | 0.1398 + (n - 60) × 0.00147 | 0.2052 + (n - 60) × 0.00215 | |||
(300,1024] | 0.00092 | 0.00137 | 0.4926 + (n - 300) × 0.00092 | 0.7212 + (n - 300) × 0.00137 | |||
> 1024 | 0.00058 | 0.00085 | 1.15868 + (n - 1024) × 0.00058 | 1.71308 + (n - 1024) × 0.00137 | |||
Finance Cloud regions
Region | Reserved subscription capacity tier (MB/s) | Unit price for reserved subscription capacity (USD/MB/s/hour) | Fee for reserved subscription capacity (USD) where n is the reserved subscription capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition (MB/s) | Professional Edition | ||
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | [0,60] | 0.0005 | 0.00333 | 0.00500 | n × 0.0005 | n × 0.00333 | n × 0.00500 |
(60,300] | 0.00210 | 0.00314 | 0.1998 + (n - 60) × 0.00210 | 0.3 + (n - 60) × 0.00314 | |||
(300,1024] | 0.00132 | 0.00200 | 0.7038 + (n - 300) × 0.00132 | 1.0536 + (n - 300) × 0.00200 | |||
> 1024 | 0.00083 | 0.00124 | 1.65948 + (n - 1024) × 0.00083 | 2.5016 + (n - 1024) × 0.00124 | |||
Gov Cloud regions
Region | Reserved subscription capacity tier (MB/s) | Unit price for reserved subscription capacity (USD/MB/s/hour) | Fee for reserved subscription capacity (USD) where n is the reserved subscription capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China (Beijing) Gov Cloud 1 | [0,60] | 0.0006 | 0.00350 | 0.00527 | n × 0.0006 | n × 0.00350 | n × 0.00527 |
(60,300] | 0.00221 | 0.00330 | 0.21 + (n - 60) × 0.00221 | 0.3162 + (n - 60) × 0.00330 | |||
(300,1024] | 0.00139 | 0.00210 | 0.7404 + (n - 300) × 0.00139 | 1.1082 + (n - 300) × 0.00210 | |||
> 1024 | 0.00088 | 0.00130 | 1.74676 + (n - 1024) × 0.00088 | 2.6286 + (n - 1024) × 0.00130 | |||
Elastic subscription traffic fees:
Region | Standard Edition (USD/GB) | Professional Edition (USD/GB) |
Region group 1 | 0.004166666667 | 0.0075 |
Region group 2 | 0.006041666667 | 0.010875 |
Region group 3 | 0.005541666667 | 0.009975 |
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | 0.007916666667 | 0.01425 |
China (Beijing) Gov Cloud 1 | 0.008333333333 | 0.015 |
Billing example 1
For example, you purchase a Standard Edition instance with a reserved subscription capacity of 60 MB/s in the China (Hangzhou) region. The peak traffic and fees within two hours are as follows:
Time | Peak traffic | Excess part | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 70 MB/s | 20 GB |
|
Billing example 2
For example, you purchase a Standard Edition instance with a reserved subscription capacity of 90 MB/s in the China (Hangzhou) region. The peak traffic and fees within two hours are as follows:
Time | Peak traffic | Excess part | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 100 MB/s | 20 GB |
|
Storage space
Billing rules
The hourly storage fee is calculated based on the pricing tier of the maximum storage space used within that hour.
Unit price
Public cloud regions
Region | Storage space tier (GB) | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
Region group 1 | [1,1024] | 0.00002 | 0.00010 | 0.00015 |
(1024,5×1024] | 0.00008 | 0.00011 | ||
(5×1024,10×1024] | 0.00006 | 0.00009 | ||
> 10×1024 | 0.00004 | 0.00007 | ||
Region group 2 | [1,1024] | 0.00003 | 0.00015 | 0.00022 |
(1024,5×1024] | 0.00011 | 0.00016 | ||
(5×1024,10×1024] | 0.00008 | 0.00012 | ||
> 10×1024 | 0.00006 | 0.00010 | ||
Region group 3 | [1,1024] | 0.00002 | 0.00013 | 0.00020 |
(1024,5×1024] | 0.00010 | 0.00015 | ||
(5×1024,10×1024] | 0.00008 | 0.00011 | ||
> 10×1024 | 0.00006 | 0.00009 |
Finance Cloud regions
Region | Storage space tier (GB) | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | [1,1024] | 0.00003 | 0.00019 | 0.00029 |
(1024,5×1024] | 0.00014 | 0.00022 | ||
(5×1024,10×1024] | 0.00011 | 0.00016 | ||
> 10×1024 | 0.00008 | 0.00013 |
Gov Cloud regions
Region | Storage space tier (GB) | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
China (Beijing) Gov Cloud 1 | [1,1024] | 0.00004 | 0.00020 | 0.00030 |
(1024,5×1024] | 0.00015 | 0.00023 | ||
(5×1024,10×1024] | 0.00011 | 0.00017 | ||
> 10×1024 | 0.00008 | 0.00014 |
The default storage space for a single Alibaba Cloud account is 30 TB. If you require more storage capacity, submit a ticket. If you do not request a higher limit and your instance runs low on storage space, the oldest messages may be purged.
Billing example
For example, you purchase a Standard Edition instance with a reserved sending capacity of 60 MB/s in the China (Hangzhou) region. The usage is as follows:
Time | First hour | Second hour | Third hour | Fourth hour | Fifth hour |
Maximum storage space (GB) | 1000 | 1000 | 2000 | 2000 | 2000 |
For the first two hours, the maximum storage space is in the [1, 1024] pricing tier. The fee is: 0.00010 (USD/hour) × 2 (hours) × 1000 (GB) = USD 0.2.
For the next three hours, the maximum storage space is in the (1024, 5×1024] pricing tier. The fee is: 0.00010 (USD/hour) × 3 (hours) × 1024 (GB) + 0.00008 (USD/hour) × 3 (hours) × (2000 - 1024) (GB) = USD 0.54144.
Total fee: USD 0.2 + USD 0.54144 = USD 0.74144.
Number of partitions
Billing formula
The hourly partition fee is calculated based on the pricing tier of the maximum sum of partitions and partition replicas used within that hour.
Unit price
Public cloud regions
Region | Partition quantity tier | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
Region group 1 | [1,1000] | 0.00006 | 0.000062 | 0.000112 |
> 1000 | 0.00003 | 0.000032 | 0.000055 | |
Region group 2 | [1,1000] | 0.00008 | 0.000090 | 0.000162 |
> 1000 | 0.00004 | 0.000045 | 0.000080 | |
Region group 3 | [1,1000] | 0.00008 | 0.000082 | 0.000148 |
> 1000 | 0.00004 | 0.000042 | 0.000073 |
Finance Cloud regions
Region | Partition quantity tier | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
China (Hangzhou) Finance Cloud, China (Shanghai) Finance Cloud, China (Shenzhen) Finance Cloud, China (Beijing) Finance Cloud (Invitational Preview) | [1,1000] | 0.00011 | 0.000117 | 0.000212 |
> 1000 | 0.00005 | 0.000058 | 0.000105 |
Gov Cloud regions
Region | Partition quantity tier | Unit price for Basic Edition (USD/hour) | Unit price for Standard Edition (USD/hour) | Unit price for Professional Edition (USD/hour) |
China (Beijing) Gov Cloud 1 | [1,1000] | 0.00011 | 0.000123 | 0.000222 |
> 1000 | 0.00006 | 0.000062 | 0.000112 |
Billing example
For example, you purchase a Standard Edition instance with a reserved sending capacity of 60 MB/s in the China (Hangzhou) region. The usage is as follows:
Time | First hour | Second hour | Third hour | Fourth hour | Fifth hour |
Maximum number of partitions (including replicas) | 1000 | 1000 | 2000 | 2000 | 2000 |
For the first two hours, the maximum number of partitions (including replicas) is in the [1, 1000] pricing tier. The fee is: 0.000062 (USD/hour) × 2 (hours) × 1000 = USD 0.124.
For the next three hours, the maximum number of partitions (including replicas) is in the (1000, 10000] pricing tier. The fee is: 0.000062 (USD/hour) × 3 (hours) × 1000 + 0.000032 (USD/hour) × 3 (hours) × (2000 - 1000) = USD 0.282
Total fee: USD 0.124 + USD 0.282 = USD 0.406
Peak Public Bandwidth
Billing formula
Hourly Internet bandwidth fee = Total Internet bandwidth traffic used (GB) × Unit price (USD/GB)
Unit price
Area | Region | Traffic price (USD/GB) |
China | China (Hangzhou), China (Shanghai), China (Nanjing) - Local Region, China (Fuzhou) - Local Region - Decommissioning, China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu) | 0.133 |
China (Qingdao) | 0.12 | |
China (Hong Kong) | 0.167 | |
Asia-Pacific | Singapore, Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok) | 0.125 |
Malaysia (Kuala Lumpur), South Korea (Seoul) | 0.133 | |
Japan (Tokyo) | 0.1 | |
Europe and Americas | US (Virginia), US (Silicon Valley) | 0.083 |
Germany (Frankfurt) | 0.083 | |
UK (London) | 0.083 | |
Middle East | UAE (Dubai) | 0.167 |
Billing examples
For example, if you purchase a Standard Edition instance in the China (Hangzhou) region with a reserved sending capacity of 60 MB/s and use 10 GB of public bandwidth traffic within one hour, the fee for that hour is: 10 × 0.133 = USD 1.33.