About PubNub
PubNub is a commercial realtime communications platform. Applications publish messages to channels and subscribed clients receive them almost immediately, which provides the foundation for chat, live feeds, device telemetry and multiplayer or collaborative features.
The service adds presence to show who is online, message storage so clients can retrieve earlier messages, and access control for restricting who can read or write to a channel. It also supports mobile push notifications. SDKs cover many programming languages and platforms, and the whole thing is delivered as a hosted global network, so teams do not need to run their own brokers. It suits product teams and IoT developers needing a managed messaging layer.
Key features
- Publish and subscribe messaging over channels
- Presence showing which users are online
- Stored message history for retrieval
- Access control for channels and users
- Mobile push notification support
- SDKs for many languages and platforms
Good fit for
- →In-app chat features
- →IoT device messaging and telemetry
- Tags
- realtime
- messaging
- pub-sub
- presence
- iot
- chat
- api
PubNub: questions and answers
- What is PubNub used for?
- PubNub offers realtime messaging and presence APIs that developers use to build chat, IoT and live-update features without operating messaging infrastructure. It is a good fit for in-app chat features, and IoT device messaging and telemetry.
- Is PubNub free?
- Yes. PubNub has a free plan, and paid plans start at $98 per month. A free trial is also available.
- Is PubNub open source?
- No. PubNub is proprietary (closed-source) software and can't be self-hosted. Open-source alternatives to PubNub include OpenIM, Mercure and Centrifugo.
- What are some alternatives to PubNub?
- PubNub competes with Ably, Pusher and Stream. For open-source options, see Enlisted's ranked list of open-source PubNub alternatives.
Open-source alternatives to PubNub
See all
OpenIM
Backend as a Service
IM Chat OpenClaw
Apache-2.0vs Sendbird★ 17k
Mercure
Backend as a Service
🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communicatio
AGPL-3.0vs Pusher★ 5.3k
Centrifugo
Backend as a Service
Centrifugo is an open-source real-time messaging server — a self-hosted alternative to Pub
Apache-2.0vs Pusher★ 11k
Deepstream.io
Backend as a Service
deepstream.io server
MITvs Pusher★ 7.2k
WuKongIM
Backend as a Service
More than just IM 不只是即时通讯(IM)
Apache-2.0vs Sendbird★ 5k
JuggleIM
Backend as a Service
IM Chat, High-performance, scalable, self-hosted instant messaging server in Go — private
Apache-2.0vs Sendbird★ 3.5k
SaaS alternatives to PubNub
See all
Ably
Backend as a Service
Realtime messaging platform with pub/sub, presence and message history
SaaS
Pusher
Backend as a Service
Hosted WebSocket channels and push notifications for realtime features
SaaS
Stream
Backend as a Service
Chat, activity feeds, video and moderation APIs for in-app social features
SaaS
Sendbird
Backend as a Service
Chat, voice and video APIs and SDKs for in-app messaging
SaaS
Twilio
Backend as a Service
Communications APIs for SMS, voice, video, email and verification
SaaS
Liveblocks
Backend as a Service
Infrastructure for real-time collaboration, presence and comments inside apps
SaaS

