This topic describes the billing of Simple Message Queue (formerly MNS), including the billing method, billable items, billing cycle, and billing details.
Billing method
Simple Message Queue (formerly MNS) supports only the pay-as-you-go billing method.
Simple Message Queue (formerly MNS) provides a price calculator:
Billable items
The following table describes the billable items of Simple Message Queue (formerly MNS).
Billable item | Description |
API requests to topics | You are charged based on the number of API requests initiated by clients to topics. |
API requests to queues | You are charged based on the number of API requests initiated by clients to queues. |
Message size | The message body in each API request has a size limit of 64 KB. If you want to send a message whose size is larger than 64 KB, you must call multiple API requests to send the message. For example, if you want to publish or subscribe to a message of 256 KB, four API requests are called to publish or subscribe to the message. The number of API requests is calculated by using the following formula: 256/64 = 4. |
Topics | You are charged based on the number of topics on a daily basis. |
Queues | You are charged based on the number of queues on a daily basis. |
Outbound Internet traffic | This item is currently free of charge. Before this item starts to charge fees, Alibaba Cloud will notify you by announcement, text message, or internal message in advance. |
Push type |
|
Fee for topics
Billing formula
Fee for topics = Number of topics × Unit price of topics
Unit prices
Region | Unit price (USD per queue-day) |
China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Qingdao), China (Zhangjiakou), China (Hohhot), China (Chengdu), China (Guangzhou), and China (Ulanqab) | 0.32 |
Malaysia (Kuala Lumpur), and Indonesia (Jakarta) | 0.43 |
China (Hong Kong), Japan (Tokyo), South Korea (Seoul), Singapore, Australia (Sydney) Closing Down, Thailand (Bangkok), Germany (Frankfurt), UK (London), US (Silicon Valley), US (Virginia), and UAE (Dubai) | 0.46 |
SAU (Riyadh - Partner Region) | 0.552 |
Topics are billed on a daily basis and the bills are issued to the Alibaba Cloud account.
If you no longer need a topic, delete the topic at the earliest opportunity to prevent unnecessary costs.
Billing examples
For example, you create topics in the China (Hangzhou) region. The following table describes the number of created topics and corresponding fees.
Date | Number of topics created | Number of topics billed | Unit price (USD per queue-day) | Fee (USD) |
Day 1 |
| 30 | 0.32 | 0.32 × 30 = 9.6 USD |
Day 2 | Created: 50 | 50 + 20 = 70 | 0.32 | 0.32 × 70 = 22.4 USD |
Fee for queues
Billing formula
Fee for queues = Number of queues × Unit price of queues
Unit prices
Region | Unit price (USD per queue-day) |
China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Qingdao), China (Zhangjiakou), China (Hohhot), China (Chengdu), China (Guangzhou), and China (Ulanqab) | 0.08 |
China (Hong Kong), Japan (Tokyo), South Korea (Seoul), Singapore, Australia (Sydney) Closing Down, Thailand (Bangkok), Germany (Frankfurt), UK (London), US (Silicon Valley), US (Virginia), UAE (Dubai), Malaysia (Kuala Lumpur), and Indonesia (Jakarta) | 0.11 |
SAU (Riyadh - Partner Region) | 0.132 |
Queues are billed on a daily basis and the bills are billed to the Alibaba Cloud account.
If you no longer need a queue, delete the queue at the earliest opportunity to prevent unnecessary costs.
Billing examples
For example, you create queues in the China (Hangzhou) region. The following table describes the number of created queues and corresponding fees.
Date | Number of queues created | Number of queues billed | Unit price (USD per queue-day) | Fee (USD) |
Day 1 |
| 30 | 0.08 | 0.08 × 30 = 2.4 USD |
Day 2 | Created: 50 | 50 + 20 = 70 | 0.08 | 0.08 × 70= 5.6 USD |
Fee for API requests to topics
Billing formula
Fee for API requests to topics = Total number of API requests to topics × Unit price of API requests to topics
Unit prices
Simple Message Queue (formerly MNS) provides a free quota of 20 million API requests per month. You are charged for the excess API requests. The following table describes the unit prices of API requests to topics.
Region | Unit price (USD per million requests) |
China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Qingdao), China (Zhangjiakou), China (Hohhot), China (Chengdu), China (Guangzhou), and China (Ulanqab) | 0.32 |
Malaysia (Kuala Lumpur), and Indonesia (Jakarta) | 0.43 |
China (Hong Kong), Singapore, Japan (Tokyo), Australia (Sydney) Closing Down, US (Virginia), US (Silicon Valley), Germany (Frankfurt), UAE (Dubai), UK (London), Thailand (Bangkok), and South Korea (Seoul) | 0.46 |
SAU (Riyadh - Partner Region) | 0.552 |
The number of API requests is calculated on an hourly basis, measured in millions, and accurate to two decimal places.
The message body in each API request has a size limit of 64 KB. If you want to send a message whose size is larger than 64 KB, you must call multiple API requests to send the message. For example, if you want to publish or subscribe to a message of 256 KB, four API requests are called to publish or subscribe to the message. The number of API requests is calculated by using the following formula: 256/64 = 4.
After you delete a topic, stop sending API requests to the topic at the earliest opportunity. Otherwise, you are still charged for the API requests that are sent to the topic.
You are charged for API requests to topics over the Internet and the internal network.
Billing examples
For example, you create topics in the China (Hangzhou) region. The unit price for API requests to the topics is USD 0.32 per million requests. You are provided with a free quota of 20 million requests and charged for the excess requests. In this example, 22 million requests are sent to the topics, which exceeds the free quota by 2 million. In this case, the fee for API requests to topics is calculated based on the following formula: 2 x 0.32 = 0.64 USD.
Fee for API requests to queues
Billing formula
Fee for API requests to queues = Total number of API requests to queues × Unit price of API requests to queues
Unit prices
Simple Message Queue (formerly MNS) provides a free quota of 20 million API requests per month. You are charged for the excess API requests. The following table describes the unit prices of API requests to queues.
Region | Unit price (USD per million requests) |
China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Qingdao), China (Zhangjiakou), China (Hohhot), China (Chengdu), China (Guangzhou), and China (Ulanqab) | 0.32 |
Malaysia (Kuala Lumpur), and Indonesia (Jakarta) | 0.43 |
China (Hong Kong), Singapore, Japan (Tokyo), Australia (Sydney) Closing Down, US (Virginia), US (Silicon Valley), Germany (Frankfurt), UAE (Dubai), UK (London), Thailand (Bangkok), and South Korea (Seoul) | 0.46 |
SAU (Riyadh - Partner Region) | 0.552 |
The number of API requests is calculated on an hourly basis, measured in millions, and accurate to two decimal places.
The message body in each API request has a size limit of 64 KB. If you want to send a message whose size is larger than 64 KB, you must call multiple API requests to send the message. For example, if you want to publish or subscribe to a message of 256 KB, four API requests are called to publish or subscribe to the message. The number of API requests is calculated by using the following formula: 256/64 = 4.
After you delete a queue, stop sending API requests to the queue at the earliest opportunity. Otherwise, you are still charged for the API requests that are sent to the queue.
You are charged for API requests to queues over the Internet and the internal network.
Billing examples
For example, you create queues in the China (Hangzhou) region. The unit price for API requests to the queues is USD 0.32 per million requests. You are provided with a free quota of 20 million requests and charged for the excess requests. In this example, 22 million requests are sent to the queues, which exceeds the free quota by 2 million. In this case, the fee for API requests to queues is calculated based on the following formula:2 × 0.32 = 0.64 USD.
Billing cycle
Fees for Simple Message Queue (formerly MNS) are calculated on an hourly basis and bills are issued every 24 hours. The fees are automatically deducted from your account balance. Each day, Alibaba Cloud calculates your resource usage of the previous day, issues a bill, and deducts the fees from your Alibaba Cloud account balance.