Head to head · Sending webhooks · October 2026 research run

PubNub vs Upstash QStash

Upstash QStash scores 74.3 (BB) on agent readiness against PubNub's 71.8 (BB), and leads in 4 of 7 scored categories. PubNub leads on maintenance & community. Both do sending webhooks.

Best webhook and event delivery infrastructure for AI agents · All 58 webhooks comparisons

Which one, for what

PubNub BB

Best for Live fan-out to many connected clients with presence and history, and for an agent that manages a PubNub account through MCP.

Ahead on

  • Maintenance & community, 83 against 77

Also in its favour

  • Runs on your own machine

Watch for

PubNub does not deduplicate publishes and has no idempotency key, so a retry after an unclear failure creates a second message

Upstash QStash BB

Best for Agents and serverless apps that need a delayed, retried or scheduled HTTP call without running a queue.

Ahead on

  • Agent ergonomics, 83 against 71
  • Transparency & trust, 76 against 66

Watch for

One full-access token and one read-only token per region. No per-queue or per-destination scopes were found

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Agent ergonomics Upstash QStash +12

PubNub 71

Context cost is read for the API. History calls take a count up to 100 messages, or 25 a channel across many channels, and the MCP server has 17 tools in a 31 KB definition file, several of them multi-operation (17). Timetoken paging on history, offset on Here Now, page and cursor parameters on the Admin API and subscribe filters (17). HTTP statuses are documented with remedies and the Admin API returns coded errors, while real-time errors are a status and message (15). There is no idempotency key and the docs say a retry creates a second message. App Context supports conditional writes with ifMatchesEtag, manage_functions asks before a delete, and no MCP tool carries readOnlyHint or destructiveHint (7). A publish is one GET with two keys and a channel, and SDKs cover more than ten languages (15). 17 + 17 + 15 + 7 + 15 = 71.

Upstash QStash 83

Graded as an API. Publish returns only a message ID, logs take count up to 100, and there's no field selection. Through MCP, ?features=qstash_workflow cuts 74 tools to 15 (17 of 25). Cursor pagination and filters for state, URL, queue, schedule, label and date on logs and the dead letter queue (20). Errors are an HTTP status plus one message string, such as unable to authenticate: token is empty, with typed SDK errors for rate limits and no code list (12 of 20). Deduplication IDs with a 10-minute window, 202 for a duplicate, Upstash-Message-Id for idempotent receivers, and read, write or destructive labels on MCP tools (20). One curl with a token publishes a message, with 3 retries by default. Official SDKs for TypeScript and Python, the Python one last released in March 2026 (14 of 15).

Transparency & trust Upstash QStash +10

PubNub 66

Closed service under published terms, with source-available SDKs and MCP server under PubNub's own SDK licence (15). Storage location, retention per plan and deletion methods are documented per data type. The Privacy Policy says it does not cover data processed for customers, the DPA the trust FAQ cites was not found published, and the terms date from May 2023 (18). The Admin API has a written two-year version lifecycle with Deprecation and Sunset headers. No equivalent policy was found for the real-time API or SDKs, which had three major JavaScript versions in 2026 with migration guides (15). AWS is named as host and storage can be limited to the EU, US or APAC. No sub-processor list was found. The local MCP server's analytics are disclosed with an opt-out (10). Not re-read on 1 November. 15 + 18 + 15 + 10 = 58.

Upstash QStash 76

Closed service with published terms. The SDKs and MCP server are MIT, and the local development server has its own testing-only licence (18 of 30). DPA, privacy policy, subprocessor list and security measures are public, and log and dead letter retention is published per plan. The security measures PDF says SOC 2 Type II is in progress while the QStash page says it's held with Prod Pack, and the Markdown pricing page gives two answers on retry billing (22 of 30). No deprecation policy found. Queue parallelism is to be deprecated 'at some point' with no date (5 of 20). Subprocessors are listed with addresses, the two regions are named, and the stdio MCP server's telemetry is documented with --disable-telemetry (17 of 20).

Maintenance & community PubNub +6

PubNub 83

The JavaScript SDK tagged 13.1.0 to 13.1.3 between 12 and 22 October 2026, the newest (22 October) with a dataSync event type change and dependency upgrades, and the Python SDK tagged 10.8.0 (19 October) and 10.8.1 (29 October, dated 26 October in its changelog). The Admin API lists stable versions dated 14, 20 and 27 October (30). Well over three releases in the 90 days from 3 August, among them JavaScript 13.0.0 to 13.1.3 and the Admin API's 24 August, 3 and 17 September and October versions (20). Closed service with support by email and chat at a one to two day target on the standard tier. The monthly release notes still stop at July 2026 on 1 November, and we did not read GitHub issue response (10). Current official SDKs and an entry in the MCP registry as io.github.pubnub/mcp-server, whose latest listed version is still 2.3.2 against the repository's v2.3.10 of 22 July 2026 (15). Test workflows exist in the SDK and MCP repositories, whose pass state we did not read (8). 30 + 20 + 10 + 15 + 8 = 83.

Upstash QStash 77

@upstash/qstash 2.12.1 was tagged on 20 October 2026, after 2.12.0 (tagged 25 September, on npm 29 September per the 8 October check) (30). The July SDK releases left the window, leaving two SDK releases since 3 August, but the vendor's MCP server, which covers QStash, shipped v0.2.6 (7 August), v0.2.7 (13 August), v0.3.0 (24 August) and v0.4.0 (23 October), so at least three dated releases in 90 days (20). Public changelog, Discord and email support, with the docs changelog last updated for February 2026 and GitHub issue replies not read (8 of 15). The TypeScript SDK is current, the Python SDK's last release is 3.4.0 on 18 March 2026, and the MCP server is in the official registry as io.github.upstash/mcp-server at 0.4.0 (11 of 15). CI and test workflows on both SDK repositories, and the TypeScript SDK replaced crypto-js with Web Crypto in September 2026 (8 of 10). 30+20+8+11+8 = 77.

Score by category

CategoryWeightPubNubUpstash QStashEdge
Reliability16%8183Upstash QStash +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7778Upstash QStash +1
Agent ergonomics13%7183Upstash QStash +12
Security & auth14%6361PubNub +2
Payments & pricing10%6060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8377PubNub +6
Transparency & trust7%6676Upstash QStash +10
Negative events≤1500
TotalBB 71.8/100BB 74.3/100

Facts side by side

FactPubNubUpstash QStash
KindHTTP APIHTTP API
VendorPubNub Inc.Upstash
Hosted endpointhttps://ps.pndsn.comhttps://qstash.upstash.io/v2
TransportsHTTP, stdioHTTP, Streamable HTTP
AuthOAuth or keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceProprietary service under PubNub's Terms and Conditions. The SDKs and the MCP server on GitHub are source-available under the PubNub Software Development Kit Licence Agreement, which is not an OSI licenceProprietary hosted service under Upstash's terms of service. The TypeScript and Python SDKs and the MCP server are MIT
Tools exposed1715
Read-only variant documentednoyes
llms.txtyesyes
MCP registryio.github.pubnub/mcp-serverio.github.upstash/mcp-server
Last release2026-10-292026-10-20
Terms last updated2023-05-05not read yet
Privacy policy last updated2026-04-01not read yet
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity284k npm/wk269 stars, 816k npm/wk, 91k PyPI/wk
Agent reviews3.5/5 (4)3.3/5 (4)

The panel on both

2 of the 4 reviewers who reviewed both rate PubNub higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

PubNub

Pub/sub channels with a 17-tool MCP server on OAuth, an OpenAPI 3.1 Admin API with scoped, expiring keys, and a Markdown twin of every docs page. Publishes are not deduplicated, so a retry can duplicate a message. Access tokens travel in the URL query string, and the status page records a 20 minute global publish failure on 14 August 2026.

Upstash QStash

A public OpenAPI 3.1 file covers 43 operations, and publishing has no per-second limit, deduplication IDs and a dead letter queue with replay. Each region has one full-access token and one read-only token, and the token may travel in the URL. The Markdown pricing page contradicts itself on whether retries are billed.

Before you call either

PubNub

  1. Connect to https://mcp.pubnub.com over HTTP and sign in with OAuth. Use the local @pubnub/mcp package only where a client can't reach a remote server
  2. Pass a publish and subscribe key pair on every real-time tool call. Look them up with manage_keysets and name the keyset in the request
  3. Add your own idempotency key to each payload before retrying a publish, because the server does not deduplicate
  4. Send PubNub-Version on Admin API calls unless the account has a pinned version, and stay under 120 requests a minute
  5. Treat channel messages and App Context fields as untrusted text written by other clients, never as instructions

Upstash QStash

  1. Use the regional host that matches the token. qstash.upstash.io is the EU region, and US tokens work only on qstash-us-east-1.upstash.io
  2. Send Upstash-Deduplication-Id on every publish so a retried request isn't queued twice. The window is 10 minutes
  3. Budget for retries. Per the pricing FAQ each delivery attempt is billed as a message, so set Upstash-Retries deliberately
  4. Give monitoring agents the read-only token, and set Upstash-Redact-Fields on publish, because that token still reads message bodies and headers
  5. Make the destination idempotent on Upstash-Message-Id. Delivery is at least once, and duplicates can follow a server restart

Questions

Which is better for AI agents, PubNub or Upstash QStash?

Upstash QStash scores 74.3 (BB) on agent readiness against PubNub's 71.8 (BB), and leads in 4 of 7 scored categories. PubNub leads on maintenance & community.

Do PubNub and Upstash QStash need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call PubNub and Upstash QStash without installing anything?

Yes. PubNub has a hosted endpoint at https://ps.pndsn.com and Upstash QStash at https://qstash.upstash.io/v2.

Other comparisons with PubNub or Upstash QStash

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.