All Products
Search
Document Center

ApsaraMQ for MQTT:Billing of Professional Edition instances

Last Updated:Sep 21, 2026

ApsaraMQ for MQTT Professional Edition uses a two-part billing model: a fixed monthly subscription for computing capacity and a pay-as-you-go charge for outbound Internet traffic. Inbound Internet traffic and VPC traffic are free.

For supported regions, see Supported regions.

Billing components

ComponentBilling methodWhat it covers
Computing specificationsSubscription (prepaid monthly)Client connections, new connections per second, message read/write TPS, and subscription relationships
Internet trafficPay-as-you-go (postpaid hourly)Outbound Internet traffic only

Computing specifications

Computing specifications set the upper limits for an instance's capacity. Choose a specification based on the number of devices in your fleet and the message throughput your workload requires.

Capacity limits

Each specification defines the following limits:

  • Maximum client connections -- The maximum number of concurrent TCP connections from clients to the instance. This is a transient value updated every minute.

  • Maximum new connections per second -- The maximum number of new client connections the instance can accept per second.

  • Maximum message read/write TPS -- The maximum number of messages produced and consumed per second across the instance. This is a transient value updated every minute.

    • Only messages sent and received through ApsaraMQ for MQTT count toward this limit. Messages through ApsaraMQ for RocketMQ are excluded.

    • TPS is multiplied by a Quality of Service (QoS) factor. For details, see Billing factors. For example, if a client uses QoS=2 and cleanSession=true, the billing factor is 5. Producing 10 messages counts as 10 x 5 = 50 messages toward TPS.

  • Maximum subscription relationships -- The total number of topic subscriptions registered across all clients on the instance. This is a transient value updated every minute.

  • Maximum subscription relationships for a single client -- The maximum number of topic subscriptions a single client (Client ID) can hold.

    • A parent topic and its child topics count as separate subscriptions. For example, if Client_1 subscribes to TopicA, TopicA/sub_1, and TopicA/sub_2, that counts as 3 subscription relationships.

    • To free resources, purge subscription relationships for clients that are no longer in use.

Important

If your workload exceeds the limits of your current specification, the instance is throttled, which can cause connection failures or message delivery errors. Upgrade the instance before you reach the limits.

SpecificationMax client connectionsMax new connections/sMax message read/write TPSMax subscription relationshipsMax subscriptions per client
mqtt.p2.5xlarge5,0001005,000150,00030
mqtt.p2.10xlarge10,00020010,000300,00030
mqtt.p2.50xlarge50,0001,00050,000500,00030
mqtt.p2.100xlarge100,0002,000100,000500,00030
mqtt.p2.200xlarge200,0004,000200,000500,00030
mqtt.p2.500xlarge500,00010,000500,000500,00030
Note
  • If mqtt.p2.500xlarge does not meet your requirements, submit a ticket to contact Alibaba Cloud technical support.

  • The 100 TPS specification is deprecated. Existing instances with this specification continue to work, but the specification cannot be restored after an upgrade.

Billing rules

ItemDescription
Billable itemThe computing specification you purchase
Billing methodSubscription -- pay before you use the resources
Billing cycleMonthly
FormulaComputing specification fee = Unit price (USD/month) x Subscription duration (months)

Unit prices

China (Shanghai)

SpecificationUnit price (USD/month)
mqtt.p2.5xlarge168.42
mqtt.p2.10xlarge505.26
mqtt.p2.50xlarge1,178.95
mqtt.p2.100xlarge2,189.47
mqtt.p2.200xlarge4,421.05
mqtt.p2.500xlarge11,141.05

Philippines (Manila), Indonesia (Jakarta), Malaysia (Kuala Lumpur)

SpecificationUnit price (USD/month)
mqtt.p2.5xlarge227.37
mqtt.p2.10xlarge682.11
mqtt.p2.50xlarge1,591.58
mqtt.p2.100xlarge2,955.79
mqtt.p2.200xlarge5,968.42
mqtt.p2.500xlarge15,040.42

Hong Kong (China), Singapore, Japan (Tokyo), Germany (Frankfurt), US (Virginia), US (Silicon Valley), SAU (Riyadh - Partner Region)

SpecificationUnit price (USD/month)
mqtt.p2.5xlarge244.21
mqtt.p2.10xlarge732.63
mqtt.p2.50xlarge1,709.47
mqtt.p2.100xlarge3,174.74
mqtt.p2.200xlarge6,410.53
mqtt.p2.500xlarge16,154.53

Billing example

Assume you purchase an mqtt.p2.50xlarge instance in the China (Shanghai) region for 3 months.

Computing specification fee = 1,178.95 USD/month x 3 months = 3,536.85 USD

Internet traffic

Only outbound Internet traffic is billed. Inbound Internet traffic and VPC traffic are free.

Outbound Internet traffic is the data transferred out of the ApsaraMQ for MQTT service when clients connect through an Internet endpoint.

Billing rules

ItemDescription
Billable itemOutbound Internet traffic
Billing methodPay-as-you-go
Billing cycleHourly
FormulaHourly fee = Total outbound Internet traffic in 1 hour (GB) x Unit price (USD/GB)

Unit price

RegionUnit price (USD/GB)
All supported regions0.15

Billing example

Assume you have a Professional Edition instance in the China (Hangzhou) region connected through an Internet endpoint. The outbound traffic generated in a given hour is:

Time01 min02 min03 min...59 min60 min
Outbound traffic0.2 GB0.4 GB0No outbound traffic1.5 GB0

Total outbound traffic = 0.2 + 0.4 + 1.5 = 2.1 GB

Hourly fee = 2.1 GB x 0.15 USD/GB = 0.315 USD

Cost estimation

To estimate your total monthly cost, add the computing specification fee and the expected Internet traffic fee.

For example, assume you deploy an mqtt.p2.10xlarge instance in the Singapore region for 1 month. Your IoT fleet generates an average of 50 GB of outbound Internet traffic per month.

ComponentCalculationMonthly cost
Computing specification732.63 USD/month x 1 month732.63 USD
Internet traffic50 GB x 0.15 USD/GB7.50 USD
Total740.13 USD

FAQ

What counts as a message toward TPS?

Only messages sent and received through the ApsaraMQ for MQTT protocol count toward the message read/write TPS limit. Messages routed through ApsaraMQ for RocketMQ are excluded. TPS is also multiplied by a QoS-based billing factor. For details, see Billing factors.

What happens when my instance exceeds the specification limits?

The instance is throttled, which may cause client connection failures or message delivery errors. Monitor your usage and upgrade the instance before you reach the limits.

Can I upgrade or downgrade my instance mid-subscription?

Yes. For details, see Upgrade or downgrade an instance.

Am I charged for VPC traffic?

No. Only outbound Internet traffic is billed. Inbound Internet traffic and traffic over a VPC are free.