...
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.
...