All Products
Search
Document Center

ApsaraMQ for MQTT:Billing overview

Last Updated:Jun 22, 2026

Learn about the billing methods and billable items for ApsaraMQ for MQTT to select the right instance type.

Notes

  • ApsaraMQ for MQTT depends on ApsaraMQ for RocketMQ for storage. When you use ApsaraMQ for MQTT, you are also charged for topic resource usage and API operation calls from ApsaraMQ for RocketMQ. Therefore, your expense bill shows the billing details for ApsaraMQ for RocketMQ.

Instance types and billing methods

ApsaraMQ for MQTT supports the following instance types and billing methods. For feature differences between instance types, see Instance types.

Instance type

Billing method

Description

Scenarios

  • Platinum Edition instance

  • Standard instance

Subscription

Pay upfront for a specific resource specification and duration.

Best for sustained, high-volume workloads. Subscription lets you reserve resources in advance at a lower cost.

Pay-as-you-go instance (Discontinued)

Pay-as-you-go

ApsaraMQ for MQTT no longer supports the pay-as-you-go billing method. You can continue using existing pay-as-you-go instances. For more information, see Pay-as-you-go (Discontinued).

Billable items

ApsaraMQ for MQTT includes the following billable items:

image

For billing details, see Billing for Basic and Platinum Edition instances.

Billing multipliers

The QoS and cleanSession parameters affect billing when you transmit messages over the MQTT protocol. Each message, whether from a client API or cloud API call, counts as one basic billing unit. This unit is multiplied by a billing multiplier based on the transmission quality level.

The following table lists the billing multipliers for ApsaraMQ for MQTT messages.

Transmission quality level

Billing multiplier

MQTT protocol with QoS=0 and cleanSession=true

1

MQTT protocol with QoS=0 and cleanSession=false

1

MQTT protocol with QoS=1 and cleanSession=true

2

MQTT protocol with QoS=1 and cleanSession=false

5

MQTT protocol with QoS=2 and cleanSession=true

5

Important

ApsaraMQ for MQTT does not support the MQTT protocol settings of QoS=2 and cleanSession=false. However, if you configure this transmission quality level, a multiplier of 5 is used for billing.

For more information about the QoS and cleanSession parameters, see Terms.