...
For billing purposes, we estimate a payload size of approximately 5KB per message. This estimation includes the message's topic, headers, payload, and, if you're using MQTT5, user properties. It's important to note that only PUBLISHED both incoming and outgoing PUBLISH messages are counted towards your bill.
...
Let's say you have 30,000 devices, and each device sends 100 messages per day. The cost would be:
bashCopy code
Message Rate Cost = ($0.80 / 1,000,000) * 30,000 * 100 * 31 ≈ $74.4
...
If your published messages are, on average, 8KB in size, the calculation is similar. However, since messages are normalized to 5KB for billing purposes, you need to account for the larger size:bashCopy code
Message Rate Cost = ($0.80 / 1,000,000) * 30,000 * 200 * 31 ≈ $148.8
...