Softwr

Networking · head to head

HiveMQ vs PubNub

HiveMQ logo

HiveMQ

Networking

Enterprise MQTT broker for industrial IoT with a published self-managed price list

From
Free
Free plan
Yes
PubNub logo

PubNub

APIs

Realtime communication platform for chat, IoT, and live data apps

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $299/mo and $98/mo.
  • Only HiveMQ lists MQTT 5 and 3.1.1; only PubNub lists pub/sub messaging.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do HiveMQ and PubNub differ?

HiveMQ and PubNub differ on pricing model, platforms and category (Networking against APIs). Only the attributes on which HiveMQ and PubNub actually diverge.

Attributes where HiveMQ and PubNub differ
AttributeHiveMQPubNub
Pricing modelPer month by connections and throughputFreemium
PlatformsLinux, Self-hosted, WebWeb, iOS, Android, API
CategoryNetworkingAPIs

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for HiveMQ.

Which features does each one have?

They share no listed features; 6 appear only for HiveMQ and 6 only for PubNub. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in HiveMQ

  • MQTT 5 and 3.1.1
  • Native clustering
  • Data Hub
  • Extension framework
  • Enterprise bridges
  • Control centre

Only in PubNub

  • Pub/sub messaging
  • Presence tracking
  • Message persistence
  • Serverless Functions
  • File sharing
  • Encryption and access controls

What is each one used for?

PubNub is most often brought in for building realtime chat applications. The jobs each tool is most often brought in to do.

HiveMQ

  • A connected vehicle fleet where devices drop off the network for hours and sessions must survivenot PubNub
  • An industrial plant bridging MQTT telemetry into Kafka without writing and operating the bridgenot PubNub
  • A utility that needs message-level schema validation so one faulty firmware release cannot corrupt the data lakenot PubNub
  • An IoT project that needs a self-managed broker price for a budget submission without entering a sales processnot PubNub

PubNub

  • Building realtime chat applicationsnot HiveMQ
  • Streaming live IoT sensor datanot HiveMQ
  • Adding presence indicators to collaborative appsnot HiveMQ
  • Running edge logic with serverless Functions on realtime eventsnot HiveMQ

Where do HiveMQ and PubNub fall short?

PubNub's most cited limit: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

HiveMQ

  • The Community Edition lacks clustering, persistence extensions, the control centre and all enterprise bridges, so a prototype built on it does not become production by buying support
  • The entry commercial tiers cap at ten thousand connections, and device fleets grow, so the step to Enterprise capacity pricing arrives sooner than most projects plan for
  • It is a JVM application, so memory tuning and garbage collection behaviour become the operator’s problem at high connection counts, unlike the C-based brokers in this space
  • Extensions are written in Java against HiveMQ’s SPI, which means custom authentication logic is locked to the platform and cannot move to another broker
  • For simple use cases it is substantially heavier and more expensive than Mosquitto or EMQX, and small deployments frequently pay enterprise prices for clustering they never use

PubNub

  • Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
  • MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
  • Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout

How much do HiveMQ and PubNub cost?

HiveMQ has a free plan, with paid plans from $299/mo; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.

HiveMQ

Free
  • Community EditionFree
    • Apache 2.0 licence
    • MQTT 3.1.1 and 5 support
    • Single broker, no clustering
  • Launch$299/mo
    • Ten thousand connections
    • Five hundred messages per second
    • Single broker deployment
  • Run$499/mo
    • Ten thousand connections
    • One thousand messages per second
    • Single broker deployment
  • EnterpriseOn request
    • Priced by connections and throughput
    • Multi-broker and multi-site deployments
    • Distributed data intelligence

PubNub

Free
  • FreeFree
    • Up to 200 MAU or 1M transactions
    • 1GB data storage (7 days)
    • 5 test Serverless Functions
  • Starter$98/mo
    • 1,000 MAU included
    • User management
    • Insights
  • ProOn request
    • Custom MAU packages
    • Volume discounts
    • Enterprise-scale configurations

Which should you pick?

Choose HiveMQ if

  • You need mqtt 5 and 3.1.1.
  • You want to start without paying.
  • You work on Linux, Self-hosted, Web.
  • You also want native clustering.

Choose PubNub if

  • You need pub/sub messaging.
  • You want to start without paying.
  • You work on Web, iOS, Android, API.
  • You also want presence tracking.

Questions people ask

Is HiveMQ or PubNub better?
It depends on the job. HiveMQ fits a connected vehicle fleet where devices drop off the network for hours and sessions must survive; PubNub fits building realtime chat applications. HiveMQ starts at Free and PubNub at Free.
Which is cheaper, HiveMQ or PubNub?
HiveMQ starts at Free and PubNub at Free.
Does HiveMQ or PubNub run on more platforms?
HiveMQ runs on Linux, Self-hosted, Web. PubNub runs on Web, iOS, Android, API.
Can I use HiveMQ for free?
Both have a free tier, so you can try either at no cost before committing.
What is HiveMQ best used for?
HiveMQ is most often used for a connected vehicle fleet where devices drop off the network for hours and sessions must survive, an industrial plant bridging mqtt telemetry into kafka without writing and operating the bridge, a utility that needs message-level schema validation so one faulty firmware release cannot corrupt the data lake, an iot project that needs a self-managed broker price for a budget submission without entering a sales process. Of those, a connected vehicle fleet where devices drop off the network for hours and sessions must survive and an industrial plant bridging mqtt telemetry into kafka without writing and operating the bridge are not what PubNub is typically brought in for.
What can HiveMQ do that PubNub cannot?
HiveMQ covers MQTT 5 and 3.1.1, Native clustering, Data Hub, Extension framework. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

HiveMQ: Is HiveMQ free?

The Community Edition is Apache 2.0 and free, but it has no clustering and none of the enterprise extensions.

PubNub: What does PubNub cost?

PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.

Source
HiveMQ: What does the commercial version cost?

Self-managed Launch is 299 US dollars a month for ten thousand connections; Run is 499 with higher throughput.

PubNub: Is there a free plan, and what are its limits?

Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.

Source
HiveMQ: Does it support MQTT 5?

Yes, both MQTT 5 and 3.1.1, including shared subscriptions and session expiry intervals.

PubNub: How is usage metered?

PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.

Source
HiveMQ: Can it bridge into Kafka?

Yes, via a commercial enterprise extension, not in the Community Edition.

Share

Related pages

Other head to heads