ApsaraMQ for Kafka serverless instances use pay-as-you-go billing. You are charged only for the resources you consume. This billing model provides high elasticity, improves resource utilization, and reduces business costs.
Elastic billing
Serverless Standard and Professional instances support elastic throughput. Publish and subscribe throughput can scale up to 2x the reserved capacity for each traffic type. If throughput exceeds this limit, the instance is throttled. Throughput above the reserved capacity is billed based on cumulative excess traffic usage. In this topic, elastic charges refer to charges for traffic that exceeds the reserved capacity.
Region restrictions
Serverless instances are being gradually rolled out across regions. If you want to use them in a specific region, submit a ticket to contact technical support.
Usage notes
Item | Description |
Instances | No limit. |
Internet access | Enabled by default. |
Reserved publish capacity | Reserved publish capacity represents the cluster compute and processing capacity. It is measured by the traffic consumed by elastic network interfaces (ENIs), which is calculated as follows: ENI traffic = business traffic + intra-cluster replication traffic. Business traffic is the actual message traffic generated by your workloads. Intra-cluster replication traffic is generated when data is replicated within the cluster for redundancy. By default, data is replicated across three replicas.
|
Reserved subscribe capacity |
|
Ratio of reserved subscribe capacity to reserved publish capacity |
|
Storage | Limited by the consumer offset retention period. |
Billable items
Basic Edition instances do not incur elastic traffic charges.
Billable item | Description | Billing cycle |
Reserved publish capacity |
| Hourly |
Elastic publish traffic (optional) | You are billed for traffic that exceeds the reserved publish capacity. No elastic charges apply if usage remains within the reserved capacity. | |
Reserved subscribe capacity |
| |
Elastic subscribe traffic (optional) | You are billed for traffic that exceeds the reserved subscribe capacity. No elastic charges apply if usage remains within the reserved subscribe capacity. | |
Storage | Charges are based on the pricing tier for actual storage usage. The minimum billable unit is 1 GB. Usage of less than 1 GB is billed as 1 GB. | |
Partitions | Charges are based on the pricing tier for the actual number of partitions used. | |
Internet bandwidth traffic (optional) | Internet access can be enabled or disabled as needed. Charges apply only to actual usage and only when Internet access is enabled. |
Settlement
The regions and prices provided here are for reference only. For the actual regions and prices, see the purchase page in the Alibaba Cloud console.
Billing starts immediately after a serverless instance is purchased.
Billing is calculated on an hourly basis. For each hour, usage is measured based on the peak traffic during that hour. Usage of less than one hour is billed as one full hour.
Settlement occurs hourly, and bills are generated every 24 hours. Charges for the previous day are automatically deducted from your Alibaba Cloud account balance on the following day.
To estimate charges, use the price calculator for Serverless ApsaraMQ for Kafka instances:
Public cloud region groups
Region group | Regions | |
Region group 1 | China (Hangzhou) | |
China (Shanghai) | ||
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) |
Publish traffic
Billing formula
Hourly charge for publish traffic = Reserved publish capacity charge + Elastic publish traffic charge
Elastic publish traffic charge = Total elastic publish traffic (GB) × Elastic unit price (USD)
Unit prices
Refer to the following tables for reserved publish capacity pricing.
Public cloud
Region group | Reserved publish capacity tier (MB/s) | Reserved publish capacity unit price (USD per MB/s-hour) | Reserved publish capacity fee (USD) where n is the reserved publish 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 | Reserved publish capacity tier (MB/s) | Reserved publish capacity unit price (USD per MB/s-hour) | Reserved publish capacity charge (USD) where n is the reserved publish capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (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 | |||
Alibaba Gov Cloud
Region | Reserved publish capacity tier (MB/s) | Reserved publish capacity unit price (USD per MB/s-hour) | Reserved publish capacity charge (USD) where n is the reserved publish capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China North 2 Ali Gov 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 | |||
Refer to the following tables for elastic publish traffic pricing.
Region | Standard Edition (USD per GB) | Professional Edition (USD per GB) |
Region group 1 | 0.008333333333 | 0.01500 |
Region group 2 | 0.012083333333 | 0.02175 |
Region group 3 | 0.011083333333 | 0.01995 |
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (Preview) | 0.015833333333 | 0.02850 |
China North 2 Ali Gov 1 | 0.016666666667 | 0.03000 |
Billing example 1
For example, you purchased a Standard Edition instance with a reserved publishing capacity of 60 MB/s in the China (Hangzhou) region. The peak traffic and associated fees over two hours are shown below:
Time | Peak traffic | Excess traffic | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 70 MB/s | 20 GB |
|
Billing example 2
For example, you purchased a Standard Edition instance with a reserved publishing capacity of 90 MB/s in the China (Hangzhou) region. The peak traffic and associated fees over two hours are shown below:
Time | Peak traffic | Excess traffic | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 100 MB/s | 20 GB |
|
Subscribe traffic
Billing formula
Hourly subscription traffic fee = Reserved subscription capacity fee + Elastic fee
Elastic fee = Total elastic subscription traffic (GB) × Elastic unit price (USD)
Unit prices
See the tables below for reserved subscription capacity fees:
Public cloud regions
Region | Reserved subscription capacity tier (MB/s) | Reserved subscription capacity unit price (USD per MB/s-hour) | Reserved subscription capacity fee (USD) n = 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) | Reserved subscription capacity unit price (USD per MB/s-hour) | Reserved subscription capacity fee (USD) n = reserved subscription capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition (MB/s) | Professional Edition | ||
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (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 | |||
Alibaba Gov Cloud Regions
Region | Reserved subscription capacity tier (MB/s) | Reserved subscription capacity unit price (USD per MB/s-hour) | Reserved subscription capacity fee (USD) n = reserved subscription capacity (MB/s) | ||||
Basic Edition | Standard Edition | Professional Edition | Basic Edition | Standard Edition | Professional Edition | ||
China North 2 Ali Gov 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 per GB) | Professional Edition (USD per GB) |
Region group 1 | 0.004166666667 | 0.0075 |
Region group 2 | 0.006041666667 | 0.010875 |
Region group 3 | 0.005541666667 | 0.009975 |
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (Preview) | 0.007916666667 | 0.01425 |
China North 2 Ali Gov 1 | 0.008333333333 | 0.015 |
Billing example 1
For example, you purchased a Standard Edition instance with a reserved subscription capacity of 60 MB/s in the China (Hangzhou) region. The peak traffic and associated fees over two hours are shown below:
Time | Peak traffic | Excess traffic | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 70 MB/s | 20 GB |
|
Billing example 2
For example, you purchased a Standard Edition instance with a reserved subscription capacity of 90 MB/s in the China (Hangzhou) region. The peak traffic and associated fees over two hours are shown below:
Time | Peak traffic | Excess traffic | Total fee |
First hour | 50 MB/s | None |
|
Second hour | 100 MB/s | 20 GB |
|
Storage space
Billing rules
You are billed hourly for storage based on the pricing tier corresponding to your maximum storage usage within that hour.
Unit prices
Public cloud regions
Region | Storage tier (GB) | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per 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 tier (GB) | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per hour) |
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (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 |
Alibaba Gov Cloud regions
Region | Storage tier (GB) | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per hour) |
China North 2 Ali Gov 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 |
Each Alibaba Cloud account has a default storage limit of 30 TB. To request additional storage capacity, submit a ticket to notify Alibaba Cloud technical support. If you exceed your storage limit without prior approval, the system may purge the oldest messages based on their storage time.
Billing example
For example, you purchased a Standard Edition instance with a reserved publishing capacity of 60 MB/s in the China (Hangzhou) region. Usage details are as follows:
Time | First hour | Second hour | Third hour | Fourth hour | Fifth hour |
Maximum storage usage (GB) | 1000 | 1000 | 2000 | 2000 | 2000 |
For the first 2 hours, maximum storage usage falls within the [1,1024] billing tier. Fee: 0.00010 (USD/hour) × 2 (hours) × 1000 (GB) = USD 0.2.
For the next 3 hours, maximum storage usage falls within the (1024,5×1024] billing tier. Fee: 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
You are billed hourly for partitions based on the pricing tier corresponding to your maximum combined count of partitions and partition replicas within that hour.
Unit prices
Public cloud regions
Region | Partition count tier | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per 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 count tier | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per hour) |
China East 1 Finance, China East 2 Finance, China South 1 Finance, and China North 2 Finance (Preview) | [1,1000] | 0.00011 | 0.000117 | 0.000212 |
> 1000 | 0.00005 | 0.000058 | 0.000105 |
Alibaba Gov Cloud regions
Region | Partition count tier | Basic Edition unit price (USD per hour) | Standard Edition unit price (USD per hour) | Professional Edition unit price (USD per hour) |
China North 2 Ali Gov 1 | [1,1000] | 0.00011 | 0.000123 | 0.000222 |
> 1000 | 0.00006 | 0.000062 | 0.000112 |
Billing example
For example, you purchased a Standard Edition instance with a reserved publishing capacity of 60 MB/s in the China (Hangzhou) region. Usage details are as follows:
Time | First hour | Second hour | Third hour | Fourth hour | Fifth hour |
Maximum partition count (including replicas) | 1000 | 1000 | 2000 | 2000 | 2000 |
For the first 2 hours, maximum partition count (including replicas) falls within the [1,1000] billing tier. Fee: 0.000062 (USD/hour) × 2 (hours) × 1000 = USD 0.124.
For the next 3 hours, maximum partition count (including replicas) falls within the (1000,10000] billing tier. Fee: 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.
Internet bandwidth peak
Billing formula
Hourly Internet bandwidth fee = Total Internet bandwidth traffic used (GB) × Traffic unit price (USD per GB)
Unit prices
Table 1. Data transfer unit prices for BGP (Multi-ISP) EIPs
Area | Region | Unit price (CNY/GB) |
Chinese mainland | China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Wuhan - Local Region), China (Zhongwei) | 0.80 |
China (Qingdao) | 0.72 | |
China (Hong Kong) | 1.00 | |
Asia Pacific | Philippines (Manila), Singapore, Indonesia (Jakarta), Thailand (Bangkok), Malaysia (Johor) | 0.75 |
Malaysia (Kuala Lumpur), South Korea (Seoul) | 0.80 | |
Japan (Tokyo) | 0.60 | |
Europe & Americas | US (Virginia), US (Silicon Valley), Germany (Frankfurt), UK (London), Mexico, France (Paris), Netherlands(Amsterdam) | 0.50 |
Brazil (São Paulo) | 0.78 | |
Middle East | UAE (Dubai), Saudi Arabia (Riyadh) - Partner-operated | 1.00 |
Table 2. Data transfer unit prices for BGP (Multi-ISP) Pro EIPs
Area | Region | Unit price (CNY/GB) |
Chinese mainland | China (Hong Kong) | 3.0 |
Asia Pacific | Philippines (Manila), Japan (Tokyo), Malaysia (Kuala Lumpur), Indonesia (Jakarta), Thailand (Bangkok) | 3.0 |
Singapore | 5.16 |
Table 3. Data transfer unit prices for Local ISP EIPs
Area | Region | Unit price (CNY/GB) |
Europe & Americas | US (Virginia) | 0.33 |
Area | Region | Traffic unit price (USD per GB) |
China | China (Hangzhou), China (Shanghai), 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 example
For example, you purchased a Standard Edition instance with a reserved publishing capacity of 60 MB/s in the China (Hangzhou) region. If you use 10 GB of Internet bandwidth traffic in one hour, the hourly fee is: 10 × 0.133 = USD 1.33.