HiveMQ and Eclipse Mosquitto both speak MQTT 5, 3.1.1 and 3.1, and both have a free open-source broker. They sit at opposite ends of the scale, though: Mosquitto is a small broker that runs almost anywhere, while HiveMQ is a clustered enterprise broker with published prices.
Open-source option
HiveMQ has a Community Edition: Java-based, Apache-2.0, with full MQTT 3.x and 5 support.
Mosquitto is open source as a whole, under EPL-2.0 or EDL-1.0 (SPDX: EPL-2.0 OR BSD-3-Clause).
Pricing (as of Oct 2026)
HiveMQ self-managed publishes monthly prices: a free Lab license (1 broker, 25 connections, 30 days, renewable at no charge), Launch at US$299/month (10,000 connections, 500 msg/s) and Run at US$499/month (10,000 connections, 1,000 msg/s). Enterprise is priced by connections and throughput.
HiveMQ Cloud Starter runs from US$0.34/hour plus US$0.80 per million messages (10,000 connections, 1 MB/s, 99.95% SLA).
Mosquitto is free.…