For billing purposes, both published and subscribed messages are counted. To best balance billing between customers we ‘normalize’ messages to a value of 5KB. For example, if you send an 8KB message, it will be counted as two normalized messages. The message’s topic, headers, and payload (and if using MQTT5, user properties) are all combined in this sizing calculation.