PubNub is impressive infrastructure: a global pub/sub network with sub-100ms latency, a 99.999% SLA on its top tier, and SDKs for just about everything. But PubNub sells realtime plumbing, and chat is one of many things you can build on top of it. If chat is the product you actually need, that distinction shows up in your integration time, your feature backlog and your bill. Here's an honest look at how fiveminutes.io compares, and where each one shines.
TL;DR
- PubNub is a general-purpose realtime platform; chat is delivered via Chat SDKs layered on pub/sub primitives, with features you enable and configure per keyset.
- PubNub bills per MAU — but with a usage allowance per user, so one highly active user can bill as several MAUs. Chat-heavy apps like games feel this fastest.
- Message retention, moderation dashboards and management tooling are plan-gated or paid add-ons; there's no maintained drop-in chat UI.
- fiveminutes.io is a dedicated chat service: history, moderation, translations and analytics are the product, not features you assemble — billed on actual usage.
- If you need realtime infrastructure for many things beyond chat, PubNub is a strong choice. If you need chat, a chat service gets you there faster and cheaper.
At a glance
| Capability | fiveminutes.io | PubNub |
|---|---|---|
| Primary focus | Chat as a product | Realtime pub/sub infrastructure |
| Time to first message | < 5 minutes | Keyset setup + feature enablement + SDK wiring |
| Unity SDK | Single drop-in asset | Unity Chat SDK (active), config in admin portal |
| Web / JavaScript SDK | First-class, same API surface | First-class |
| Pricing model | Flexible CCU + bandwidth | MAU-based, usage-weighted (active users bill as multiple MAUs) |
| Free tier | Free plan for development and small games | 200 MAU free |
| Message history | Built-in, queryable, retention you control | 7 days on Free, 6 months on Starter, unlimited on Pro only |
| Moderation tooling | Built-in dashboard + filters + AI moderation (opt-in) + Discord integration | BizOps Workspace / Auto Moderation as premium add-ons |
| Chat UI examples | Example UIs included | No maintained UI kit (older components deprecated) |
| Global edge presence | Globally by default | Globally by default |
Integration experience
PubNub's path to chat runs through its admin portal: create an app, get a publish/subscribe keyset, then enable the features chat needs — Presence, Message Persistence, App Context — on that keyset before the Chat SDK behaves as expected. The Chat SDKs (JavaScript, Kotlin, Swift, Unity, Unreal) are solid and genuinely gaming-aware, but you're always conscious that you're configuring a platform, not installing a chat product. PubNub's own earlier "build chat on core SDKs" guides and UI components are now deprecated in favor of the Chat SDKs, and there is no maintained drop-in UI — the visual layer is yours to build.
fiveminutes.io ships as a single Unity asset. Import it, generate an application key + secret directly in the editor, and you have a working chat client with channels, presence and history — no feature flags to hunt down first. The same API exists for JavaScript/TypeScript with public example projects and SDKs, so a companion web client or a moderation dashboard reuses the exact same concepts.
Five-minute integration: Our Unity quickstart targets less than five minutes from import to first message. If you spend longer, that's a bug — let support know.
Pricing and scaling
PubNub's pricing looks simple — 200 MAU free, then a $98/month Starter plan with 1,000 MAU, then Pro with volume pricing. The catch is in the fine print: each MAU carries a usage allowance, and a user who exceeds it bills as multiple MAUs. PubNub's own FAQ gives the example of one hyperactive user consuming ten times the allowance and billing as ten users. Games are exactly the workload that triggers this — chat-heavy players, long sessions, busy channels. Add plan-gated retention (unlimited storage requires Pro), premium add-ons like BizOps Workspace, and paid support tiers for guaranteed response times, and the real bill takes some modeling.
fiveminutes.io bills on actual usage — concurrent users plus bandwidth — with plans you size yourself, and busy chatters don't multiply your user count. During development, the Free Tier gives you everything you need, and moving onto a paid plan is as simple as choosing how many users you estimate having and how much bandwidth you expect to use. Start conservatively on a monthly plan and scale as you go; once you know your usage patterns, switch to a yearly plan for a hefty discount.
Features your players will notice
Persistent history
PubNub's Message Persistence is real and configurable — but retention is a plan feature: 7 days on Free, up to 6 months on Starter, and unlimited only on Pro. Retention changes apply only to new messages, and storage is another line on the bill.
fiveminutes.io persists history by default, exposes it via the same SDK, and lets you control retention per channel. Mute notifications, unread counts and 'jump to last read' work out of the box and all comes down to your UI experience.
Moderation and safety
PubNub has come a long way here: BizOps Workspace offers channel monitoring, message deletion, mute/ban and word lists, and Auto Moderation can mask or block profanity. But these are premium add-ons layered on the platform, and programmatic moderation often means writing PubNub Functions yourself.
fiveminutes.io ships with configurable message filters, automated moderation triggers, a moderation dashboard as well as a Discord bot that your community team can use directly — included in the product, not sold beside it.
A product, not a platform
With PubNub, threads, reactions, unread counts and typing indicators exist in the Chat SDK — but the surrounding operational pieces (user management, analytics you'd show a producer, moderation workflows) are assembled from add-ons. fiveminutes.io ships chat, moderation, translations, support tickets and a usage analytics dashboard as one coherent service.
When PubNub is still the right call
- Chat is one of several realtime features you need — live scores, IoT signals, geolocation, collaborative state — and you want one network for all of them.
- You have engineering capacity to own the chat UI and operational tooling, and you value infrastructure-level control.
- You need PubNub's compliance surface (HIPAA, SOC 2, ISO 27001) and five-nines SLA on a single realtime backbone.
When fiveminutes.io wins:
- Chat is the feature, and you want it shipped this week — not architected this quarter.
- You want history, moderation and analytics included rather than assembled from add-ons.
- Your players chat a lot, and you don't want active users to multiply your MAU bill.
- You need first-class web support alongside Unity with the same API surface.
Migrating from PubNub
Most teams migrate one surface at a time. Since you can generate channels on the fly with fiveminutes.io, start by directing some traffic via Five Minute Chat. Run both in parallel, and route a slice of traffic to the new service. Once you are comfortable with your integration, flip the flag to route all traffic to fiveminutes.io and decommission your chat keysets. Because the Unity asset and the web SDK share an API, the migration is mostly mechanical: swap publish/subscribe calls and Chat SDK wiring for our client and event hooks, and delete the Functions you wrote to fill the gaps.
Try it for yourself
The fastest way to compare is to integrate. Grab the Unity asset, follow the quickstart, and send your first message in under five minutes. If it isn't faster and friendlier than what you have today, we want to hear about it.
