This document describes the pricing details and free tiers of each billable item in TDMQ for CMQ.
Pay-as-You-Go
API call price
TDMQ for CMQ adopts linear pricing for API calls. API call fees = (number of API calls for message sending + number of API calls for message consumption + number of API calls for message acknowledgment) * API call unit price.
The unit price of API call (USD/10000 calls/hour) is as shown below:
|
Unit price (USD/10000 calls/hour) | 0.002512 | 0.003265 | 0.004019 |
The maximum message body size is 1 MB, and the number of API calls is calculated at different rates based on the message size:
|
N ≤ 2 KB | 1 |
2 KB < N ≤ 4 KB | 2 |
4 KB < N ≤ 16 KB | 4 |
16 KB < N ≤ 100 KB | 16 |
100 KB < N ≤ 1 MB | 64 |
For example, one 10 KB message (publishing or subscribing) request will be charged as four API calls.
Note:
If batch sending/consumption is used, fees will be calculated separately based on the number of messages sent/consumed in batches. For example, if ten messages are batch sent and each is 2 KB in size, then they will be calculated as 10 * 2 = 20 API calls.
Message storage price
Note:
Billing for the message rewind feature will start on July 11, 2022.
TDMQ for CMQ adopts linear billing for the maximum message storage capacity you set after enabling the message rewind feature. Message storage fees = storage capacity set for message rewind * message storage unit price. The unit price of message storage (USD/GB/hour) is as shown below:
|
Unit price (USD/GB/hour) | 0.0003 | 0.0003 | 0.0006 |
The number of message replicas is 3 by default and cannot be adjusted currently.
For example, messages of queue A created in Guangzhou region are very important to the business, so message rewind is enabled, and a message rewind space of 10 GB is set. Then, the fees incurred on the next day will be 0.0003 3 10 * 24 = 0.216 USD.
Note:
No message storage fees will be incurred if you don't enable message rewind for the queue.
No matter how much storage capacity is actually used, fees will be always charged based on the set maximum storage capacity.
Queue Resource Occupancy Price
TDMQ for CMQ adopts linear pricing for queue resource occupancy. Queue resource occupancy fees = number of queues x queue resource occupancy unit price .
The queue resource occupancy unit price (Unit: USD/piece/day) is shown in the table below:
|
Unit price (USD/piece/day) | 0.0714 | 0.0929 | 0.1143 |
Note:
When it bills for queue resource occupancy in TDMQ for CMQ, the billing cycle is based on days. Queue resources created at any time within a natural day will be charged for a full day even if the actual usage duration is less than 24 hours.
Topic Resource Occupancy Price
TDMQ for CMQ adopts linear pricing for topic resource occupancy. Topic resource occupancy fees = number of topics x topic resource occupancy unit price .
The unit price for topic resource occupancy (Unit: CNY/piece/day) is shown in the table below:
|
Unit Price (USD/piece/day) | 0.2571 | 0.3343 | 0.4114 |
Note:
When the topic resource occupancy is billed by TDMQ for CMQ, the billing cycle is based on days. Topic resources created at any time within a natural day will be charged for a full day even if the actual usage duration is less than 24 hours.
Free Tiers
TDMQ for CMQ offers certain free tiers to each root account for pay-as-you-go billable items in each region:
|
API call | 10 million | Accumulated monthly by region |
Message storage | 10 GB | Accumulated monthly by region |
Queue resource usage (during the promotional period) | 50 queues | By region |
Topic resource usage (during the promotional period) | 50 topics | By region |
The free tiers will be used first to deduct the cumulative usage of all clusters in each region under each root account, and they are shared between different queues/topics in the same region.
Note:
After the promotional period ends, the free tiers for queue resource usage and topic resource usage will be reset to 5 each (by region).
Was this page helpful?