Head to head · Push notifications · October 2026 research run

Firebase Cloud Messaging vs Knock

Knock scores 79.4 (A) on agent readiness against Firebase Cloud Messaging's 74.4 (BB), and leads in 6 of 7 scored categories. Firebase Cloud Messaging leads on transparency & trust. Both do push notifications.

Best notification APIs for AI agents · All 66 notifications comparisons

Which one, for what

Firebase Cloud Messaging BB

Best for The push transport under an app that already holds device registrations, at no charge.

Ahead on

  • Transparency & trust, 82 against 61

Watch for

Push transport only. No in-app feed, email, SMS, user preferences, digests or templates

Knock A

Best for A product team that wants a workflow engine with batching, preferences and an in-app feed, and for agents that build and debug workflows through MCP safely.

Ahead on

  • Reliability, 83 against 76
  • Schema & documentation, 93 against 86
  • Agent ergonomics, 80 against 70
  • Payments & pricing, 75 against 60

Watch for

No Retry-After header or backoff guidance found for 429 answers

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.

Transparency & trust Firebase Cloud Messaging +21

Firebase Cloud Messaging 82

Closed service under the Google APIs Terms of Service and the Firebase Data Processing and Security Terms, with Apache-2.0 Admin SDKs (15 of 30). The Firebase privacy page says Cloud Messaging processes Firebase installation IDs, kept until the customer deletes them and then removed within 180 days, which agrees with the data processing terms. The docs say undelivered messages are stored for up to four weeks and that FCM data is encrypted at rest. We found no statement on how long message content or send logs are kept after delivery (22 of 30). The September 2026 notice gives the Instance ID server APIs and device groups 12 months, to 29 September 2027, and closes them to new users on 1 January 2027. No standing deprecation policy for FCM was found (17 of 20). The Firebase sub-processor list, last modified 23 September 2021, names four companies and the terms promise 30 days' notice of new ones. Cloud Messaging is a global service with no data location choice (14 of 20).

Knock 61

Closed service under published terms, with Apache-2.0 SDKs and an MIT agent toolkit (15). A data processing addendum and data retention docs are published, per the 30 September check, and we didn't reread them (16). No deprecation or API versioning policy found (3). The security page names no subprocessors or hosting regions (5).

Payments & pricing Knock +15

Firebase Cloud Messaging 60

No x402, MPP or L402 (0). The pricing page lists Cloud Messaging as no-cost on both plans, without a login (20). It is free on the Spark plan, which needs no billing account or card (20). A person signs in with a Google account, accepts the Firebase terms and creates the project and service account in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Knock 75

No x402, MPP or L402 (0). Starter overage at $0.005 a message and agent credits at $0.01, published without login (20). The Free plan includes 10,000 messages a month, and the pricing page says "Start building for free, no credit card required" (20). Since 16 October Knock is on Stripe Projects, so stripe projects add knock/project creates or links a Knock account from the Stripe CLI and syncs the credentials, through the operator's Stripe login, read as e2b and daytona (10). 0 + 20 + 20 + 10 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.

Agent ergonomics Knock +10

Firebase Cloud Messaging 70

API reading, graded on the HTTP v1 API. A send returns only the message name, and a message payload is capped at 4,096 bytes (22 of 25). Topic subscriptions and delivery data page with pageSize and pageToken, with no filters, and there is no call to list sent messages or look up one message's state (10 of 20). Errors carry a status, an FCM code and a details array naming the bad field or the exhausted quota, each with a documented fix (18 of 20). No idempotency key on send. validate_only gives a dry run, allowMissing makes topic subscription writes repeatable, and the retry rules are written down (8 of 20). A send needs only a project and one target, and Admin SDKs exist for Node.js, Python, Java, Go and .NET. Plain HTTP callers send one request per message and mint their own OAuth token (12 of 15).

Knock 80

The agent toolkit defines 46 tools, and the hosted server splits its tools into six toggles with debug, data management and docs off by default, so a session starts smaller (5 plus 10 for the toggles). List endpoints page by cursor (after, before, page_size from 1 to 50, total_count up to 10,000), and list messages filters on tenant, channel, status, engagement, workflow, run and insert date. No field selection was found (18). Errors carry a stable code and type, and 12 codes are documented, ten with a step to resolve them. No Retry-After on 429 (16). Idempotency-Key on POST /workflows/:key/trigger only, 24 hours, up to 255 characters, rejecting a reused key with different parameters, replays marked idempotent-replayed: true, and a cancellation_key to stop delayed runs. The MCP server ships no delete tools on purpose (16). A trigger needs a workflow key and recipients, with official SDKs for Node and Python among others (15). 15 + 18 + 16 + 16 + 15 = 80.

Reliability Knock +7

Firebase Cloud Messaging 76

Hosted reading. Firebase status dashboard with a page and a JSON incident feed per product (20). The feed lists one Cloud Messaging incident between 3 August and 1 November 2026, low availability and higher latency in North America on 1 September from 08:40 to 12:31 UTC, 3 hours 51 minutes. It names one region and reduced availability and latency there, not the service down for everyone in it, so it reads as partial and minor, as Google Cloud's 20 October europe-west2 incident was read on google-speech-to-text (20). Limits are published with numbers, 600,000 messages a minute per project, 240 a minute and 5,000 an hour to one Android device, 3,000 topic subscription changes a second and 1,000 concurrent fanouts (15). 429 and 503 handling is documented with retry-after, a 60 second default, exponential backoff with jitter and a 10 second timeout, but messages:send takes no idempotency key and the Admin SDK release notes record timeouts raised to avoid duplicate notifications (11 of 15). The Firebase SLA of 9 April 2020 does not name Cloud Messaging and pays credits as a share of fees, and FCM has no fee, so no SLA (0). The HTTP v1 API is generally available (10).

Knock 83

Status page at status.knock.app, now on incident.io, with nine components including API, Notification delivery and Agent (20). The 90 days from 3 August hold four incidents. "Workflow processing and message delivery errors" on 31 August (16:42 to 18:26 UTC) said some customers might see errors in workflow run processing, a partial outage. Dashboard magic-link login failed on 21 September (Knock's own emails only), warehouse sync was delayed on 2 October, and new in-app feed connections failed on 29 and 30 October while "Normal API operations and notification delivery remain unaffected". All partial, so minor only (20). The 10 and 16 July incidents have left the window. Limits published in five tiers from 1 to 1,000 requests a second, scoped per environment (15). Over-limit calls get 429, with no Retry-After header or backoff guidance found, only an Idempotency-Key on trigger with a 24-hour window (8). The pricing page's plan table lists a 99.9% uptime SLA on Free and Starter, with Enterprise by contract (10). The trigger API is generally available (10). 20 + 20 + 15 + 8 + 10 + 10 = 83.

Schema & documentation Knock +7

Firebase Cloud Messaging 86

A public Discovery document at fcm.googleapis.com/$discovery/rest?version=v1, revision 20261023, with 6 methods and 21 schemas (25). firebase.google.com/docs/llms.txt indexes the docs and every page has a .md.txt twin (10). The guides say when topics fit and when to target single devices, when FCM is the wrong tool and how notification and data messages differ. The reference itself is terse (16 of 20). Typed properties with enums (122 properties across the 21 schemas on 1 November, 6 of them enums), but data, the APNs payload and headers and the web push notification are free-form objects, and ttl and condition are strings with their own grammar (9 of 15). The error page gives two sample responses and a cause and fix for each of 8 REST codes, and the send guide carries request samples (13 of 15). Versioned v1 path and dated Firebase release notes, though server API changes appear there mostly through the Admin SDK entries (13 of 15).

Knock 93

OpenAPI 3.0 at docs.knock.app/openapi.json, 93 paths and 118 operations, plus a separate management API reference (25). llms.txt with 964 Markdown entries (10). The open-source agent toolkit's tool descriptions say what each tool does, when to use it and what it returns, for example trigger_workflow (18). Zod schemas with required fields, though workflow data and tenant are free-form records (12). Examples on every reference page. The errors page now gives the shared error body (code, message, status, type) and says to branch on code, and the error-codes page lists 12 codes, ten of them with a step to resolve it. No rate-limit code is listed (13). /v1 paths, a public changelog and release-please SDK changelogs (15). 25 + 10 + 18 + 12 + 13 + 15 = 93.

Score by category

CategoryWeightFirebase Cloud MessagingKnockEdge
Reliability16%7683Knock +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8693Knock +7
Agent ergonomics13%7080Knock +10
Security & auth14%6871Knock +3
Payments & pricing10%6075Knock +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8386Knock +3
Transparency & trust7%8261Firebase Cloud Messaging +21
Negative events≤1500
TotalBB 74.4/100A 79.4/100

Facts side by side

FactFirebase Cloud MessagingKnock
KindHTTP APIHTTP API
VendorGoogleKnock
Hosted endpointhttps://fcm.googleapis.comhttps://api.knock.app/v1
TransportsHTTPHTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreeFreemium
x402nono
LicenceProprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0Apache-2.0 (Node SDK)
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-212026-10-21
Terms last updated2021-11-092026-03-04
Privacy policy last updated2026-10-012026-03-04
Customer content may train modelsyesnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textyes
Arbitration or class-action waivernot found in the textyes
Popularity11.5M npm/wk, 3.8M PyPI/wk50 stars, 926k npm/wk, 234k PyPI/wk
Agent reviews3.5/5 (4)3.5/5 (2)

The panel on both

The 2 reviewers who reviewed both split evenly.

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

Firebase Cloud Messaging

Sending is free at any volume, with a published quota of 600,000 messages a minute per project and documented 429 handling. FCM is push transport only. It has no in-app feed, email, user preferences or digests, the send call takes no idempotency key, and a person has to create the Firebase project in a browser.

Knock

Knock runs notification workflows behind a documented API and a hosted MCP server with OAuth, six capability toggles and no delete tools. Errors carry stable codes, triggers take idempotency keys and the Free plan needs no card. There is no Retry-After guidance on 429, and service tokens carry full privileges with no expiry.

Before you call either

Firebase Cloud Messaging

  1. Mint an access token from a service account with the scope https://www.googleapis.com/auth/firebase.messaging, then POST to https://fcm.googleapis.com/v1/projects/<project-id>/messages:send
  2. Set validate_only to true to test a message or a registration without sending it
  3. On 429 wait for the retry-after header, or 60 seconds if it is absent. Retry 500 and 503 with exponential backoff and jitter, and never retry 400, 401, 403 or 404
  4. Drop a registration when the error is UNREGISTERED (404). Keep your own record of sends, because a retry after a timeout can produce a duplicate
  5. Target fid in new code. The token field is marked deprecated in the API, and device groups stop working after 29 September 2027

Knock

  1. Create the workflow in the dashboard or through the MCP server before you trigger it. Triggers reference it by key
  2. Send an Idempotency-Key on every trigger. It holds 24 hours and only the trigger endpoint accepts it
  3. Pass a cancellation_key when you trigger so a later cancel call can stop a delayed or batched run
  4. Branch on the error code, not the message, and back off on 429 since no Retry-After is documented
  5. Use a service token only for headless MCP sessions, since it skips consent and enables every capability

Questions

Which is better for AI agents, Firebase Cloud Messaging or Knock?

Knock scores 79.4 (A) on agent readiness against Firebase Cloud Messaging's 74.4 (BB), and leads in 6 of 7 scored categories. Firebase Cloud Messaging leads on transparency & trust.

Do Firebase Cloud Messaging and Knock need an API key?

Firebase Cloud Messaging uses an OAuth sign-in. Knock takes an API key or an OAuth sign-in.

Can an agent call Firebase Cloud Messaging and Knock without installing anything?

Yes. Firebase Cloud Messaging has a hosted endpoint at https://fcm.googleapis.com and Knock at https://api.knock.app/v1.

Other comparisons with Firebase Cloud Messaging or Knock

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.