Softwr

APIs · head to head

PubNub vs Turso

PubNub logo

PubNub

APIs

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

From
Free
Free plan
Yes
Turso logo

Turso

Databases

SQLite-lineage database platform for running very large numbers of small per-tenant databases, with an MIT-licensed engine.

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $98/mo and $4.99/mo.
  • Only PubNub lists pub/sub messaging; only Turso lists per-tenant databases.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do PubNub and Turso differ?

PubNub and Turso differ on platforms and category (APIs against Databases). Only the attributes on which PubNub and Turso actually diverge.

Attributes where PubNub and Turso differ
AttributePubNubTurso
PlatformsWeb, iOS, Android, APIWeb
CategoryAPIsDatabases

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

Not yet recorded: founded for Turso.

Which features does each one have?

They share no listed features; 6 appear only for PubNub and 10 only for Turso. 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 PubNub

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

Only in Turso

  • Per-tenant databases
  • MIT licence
  • Embedded replicas
  • SQLite compatibility
  • HTTP access
  • Branching
  • Point-in-time restore
  • In-process engine

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.

PubNub

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

Turso

  • Multi-tenant SaaS where each customer gets their own database for real isolation, per-tenant restore and clean deletionnot PubNub
  • Agent or session infrastructure that creates a throwaway database per task and destroys it afterwardsnot PubNub
  • Local-first and offline-capable applications where an embedded replica serves reads at file speed and syncs when connectivity returnsnot PubNub
  • Embedding a SQLite-compatible engine in a product where the public domain original's closed contribution model is a problemnot PubNub

Where do PubNub and Turso 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.

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

Turso

  • SQLite allows one writer per database, so a single tenant's write throughput cannot be scaled horizontally and a busy tenant serialises against itself with no sharding option
  • Per-tenant databases mean per-tenant migrations, so every schema change becomes a fan-out job that must be idempotent and resumable, and multi-database schemas, the feature meant to solve this, is deprecated
  • There are no cross-database queries; ATTACH is deprecated on the cloud, so any report or analytic spanning tenants must be assembled in your application or in a separate warehouse you also operate
  • Data Edge, the multi-region edge replication that was Turso's original positioning, is deprecated, so a large share of the tutorials and articles describing Turso as an edge database describe behaviour you can no longer rely on
  • Three engine lineages share the name, SQLite, the libSQL fork and the Rust rewrite, and the Rust engine is still maturing, so SQLite compatibility needs verifying against your specific pragmas, extensions and query patterns; the cloud already restricts journal_mode and busy_timeout and makes user_version read-only

How much do PubNub and Turso cost?

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

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

Turso

Free
  • FreeFree
    • 100 databases
    • 5 GB storage
    • 500M monthly rows read
  • Developer$4.99/mo
    • Unlimited databases
    • 9 GB storage
    • 2.5B monthly rows read
  • Scaler$24.92/mo
    • Unlimited databases
    • 24 GB storage
    • 100B monthly rows read
  • Pro$416.58/mo
    • Unlimited databases
    • 50 GB storage
    • 250B monthly rows read

Which should you pick?

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.

Choose Turso if

  • You need per-tenant databases.
  • You want to start without paying.
  • You also want mit licence.

Questions people ask

Is PubNub or Turso better?
It depends on the job. PubNub fits building realtime chat applications; Turso fits multi-tenant SaaS where each customer gets their own database for real isolation, per-tenant restore and clean deletion. PubNub starts at Free and Turso at Free.
Which is cheaper, PubNub or Turso?
PubNub starts at Free and Turso at Free.
Does PubNub or Turso run on more platforms?
PubNub runs on Web, iOS, Android, API. Turso runs on Web.
Can I use PubNub for free?
Both have a free tier, so you can try either at no cost before committing.
What is PubNub best used for?
PubNub is most often used for building realtime chat applications, streaming live iot sensor data, adding presence indicators to collaborative apps, running edge logic with serverless functions on realtime events. Of those, building realtime chat applications and streaming live iot sensor data are not what Turso is typically brought in for.
What can PubNub do that Turso cannot?
PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions. Turso covers Per-tenant databases, MIT licence, Embedded replicas, SQLite compatibility.

Answered from the vendors’ own pages

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
Turso: Is Turso just hosted SQLite?

Not exactly. It hosts databases built on the SQLite lineage: libSQL, an MIT fork of SQLite, and Turso Database, a newer Rust rewrite. The platform adds branching, backups, an HTTP API and programmatic database creation.

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
Turso: Can I really run a million databases?

That is the design goal and the platform API exists to make provisioning and deletion programmatic. The practical constraints are the ones that come with it: migrations fan out, and nothing can query across databases.

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
Turso: How do embedded replicas handle read-after-write?

Reads come from the local replica and writes go to the primary, so a read immediately after a write can return stale data unless you wait for a sync. Application code has to account for that rather than assume it.

Turso: What licence is it under?

libSQL and Turso Database are both MIT. Turso Cloud is a commercial managed service built on them, so the engine is genuinely open even though the platform is not.

Turso: Is Turso still an edge database?

No. Data Edge, the multi-region edge replication feature, is deprecated. The current positioning is per-tenant and embedded databases, and older material describing edge replication is out of date.

Share

Related pages

Other head to heads