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/1,000,000 calls/hour) is as shown below:
|
Unit price (USD/1,000,000 calls/hour) | 0.2857 | 0.3714 | 0.4571 |
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
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.0004 | 0.0004 | 0.0007 |
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 calculated as follows: 0.0004 x 3 x 10 x 24 = USD 0.288.
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 | 20 million calls | Accumulated monthly 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:
The above free tier is temporarily provided during the promotional period. Prior to official billing, notifications will be sent in advance through announcements, SMS, message center, email, and other methods.
Was this page helpful?