Softwr

Developer Tools · head to head

PartyKit vs PubNub

P

PartyKit

Developer Tools

Platform for building and deploying realtime multiplayer servers on the edge

From
Free
Rated
-
PubNub logo

PubNub

APIs

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

From
Free
Rated
-

The short version

  • Each has a real cost: PartyKit documentation and FAQ material on the marketing site is sparse compared to larger realtime platforms.; PubNub free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
  • They diverge on capability: PartyKit covers Stateful edge servers, PubNub covers Pub/sub messaging.
  • Prices and features above were last checked on 29 August 2026.

Where they differ

Only the attributes on which PartyKit and PubNub actually diverge.

Attributes where PartyKit and PubNub differ
AttributePartyKitPubNub
Platformsweb, apiweb, ios, android, api
CategoryDeveloper ToolsAPIs

Identical on both: starting price (Free), pricing model (freemium), free tier (Yes), user rating (Not yet rated).

What each one covers

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 PartyKit

  • Stateful edge servers
  • WebSocket-first API
  • CRDT library compatibility
  • Framework integrations
  • Global edge deployment
  • Custom domains

Only in PubNub

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

What people use each for

The jobs each tool is most often brought in to do.

PartyKit

  • Multiplayer collaborative appsnot PubNub
  • Realtime AI agent backendsnot PubNub
  • Live cursors and presencenot PubNub
  • Collaborative whiteboards and documentsnot PubNub

PubNub

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

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

PartyKit

  • Documentation and FAQ material on the marketing site is sparse compared to larger realtime platforms.
  • Commercial free tier requires deploying to the user's own Cloudflare account, adding setup complexity.
  • Storage on the free Individual plan clears every 24 hours, limiting it to prototyping rather than persistent production data.
  • Smaller ecosystem and community than more established realtime infrastructure providers.

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.

Pricing, plan by plan

PartyKit

Free
  • IndividualFree
    • Up to 10 live projects
    • Deploy to the global edge platform
    • Storage clears every 24 hours
  • CommercialFree
    • Unlimited projects
    • Custom domains
    • Runs on your own Cloudflare account; pay only Cloudflare usage

PubNub

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

Which should you pick?

Choose PartyKit if

  • You need stateful edge servers.
  • You want to start without paying.
  • You work on web, api.
  • You also want websocket-first api.

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 PartyKit or PubNub better?
Neither clearly leads. PartyKit starts at Free and PubNub at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, PartyKit or PubNub?
PartyKit starts at Free and PubNub at Free.
Does PartyKit or PubNub run on more platforms?
PartyKit runs on web, api. PubNub runs on web, ios, android, api.
Can I use PartyKit for free?
Both have a free tier, so you can try either at no cost before committing.
What is PartyKit best used for?
PartyKit is most often used for multiplayer collaborative apps, realtime ai agent backends, live cursors and presence, collaborative whiteboards and documents. Of those, multiplayer collaborative apps and realtime ai agent backends are not what PubNub is typically brought in for.
What can PartyKit do that PubNub cannot?
PartyKit covers Stateful edge servers, WebSocket-first API, CRDT library compatibility, Framework integrations. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

PartyKit: How much does PartyKit cost?

PartyKit is completely free. Both the Individual and Commercial plans have no upfront costs.

Source
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
PartyKit: What is PartyKit's Individual plan?

The Individual plan is free and includes deployment to a global edge platform, support for up to 10 live projects, and is suitable for small projects. Storage is cleared every 24 hours.

Source
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
PartyKit: What is PartyKit's Commercial plan?

The Commercial plan is free but requires deploying to your own Cloudflare account. It includes custom domains, unlimited projects, and you pay only your Cloudflare usage costs.

Source
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
PartyKit: Can I upgrade from Individual to Commercial plan?

Yes, both plans are free but offer different feature sets. The Commercial plan removes project restrictions but requires managing your own Cloudflare infrastructure.

Source
Share

Related pages

Other head to heads