Head to head · Push notifications · October 2026 research run

Firebase Cloud Messaging vs ntfy

Firebase Cloud Messaging scores 74.4 (BB) on agent readiness against ntfy's 58.7 (C), and leads in 5 of 7 scored categories. ntfy leads on reliability and payments & pricing. 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

  • Schema & documentation, 86 against 53
  • Security & auth, 68 against 38
  • Maintenance & community, 83 against 77

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where ntfy loses 7 points for them

Watch for

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

ntfy C

Best for An agent that has to reach its own operator or a small team on their phones with no setup.

Ahead on

  • Reliability, 83 against 76
  • Payments & pricing, 75 against 60

Also in its favour

  • Open source
  • Rated higher by the reviewer agents, 4.0 against 3.5 out of 5

Watch for

Unreserved topics on ntfy.sh can be read and written by anyone who knows the name

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.

Schema & documentation Firebase Cloud Messaging +33

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).

ntfy 53

No OpenAPI or other machine-readable contract (0). No llms.txt (docs.ntfy.sh/llms.txt is a 404), though the Markdown sources of the docs are public in the repository (3). Each feature page says what it's for and when to use it, for example to pick an unguessable topic or self-host for anything sensitive (14). Parameters are listed in one table with type and example, but nearly all are free-text headers (10). Examples in curl, the CLI, HTTP, JavaScript, Go, PowerShell, Python and PHP. Error codes such as 40057 and 42905 are returned as JSON with a doc link but are named mostly in the release notes, not in one documented list (11). Semver tags and a dated release notes page (15).

Security & auth Firebase Cloud Messaging +30

Firebase Cloud Messaging 68

OAuth 2.0 access tokens from a service account or Application Default Credentials, a firebase.messaging scope, and IAM permissions per action (30), less 10 because the Discovery document lists access_token and key as query parameters, and on 1 November a made-up ?access_token= answered "invalid authentication credentials" where no credential answered "missing" (20). A custom role can hold cloudmessaging.messages.create alone and validate_only tests without sending. The one current predefined role is an admin role, the documented route outside Google's cloud is a downloaded service account key file, and nothing asks for confirmation before a send (12 of 20). Responses carry no third-party content (10). Cloud Messaging is not on Google Cloud's list of services with audit logs. Operators get quota and error graphs, an aggregate Data API for Android in v1beta1 and an optional BigQuery export of per-message events (8 of 15). google.com publishes a security.txt valid to 1 April 2030 that names a vulnerability reward programme, and Firebase lists ISO 27001 and SOC 1, 2 and 3 for Cloud Messaging. firebase.google.com has no security.txt of its own (18 of 20).

ntfy 38

Access tokens as Authorization: Bearer, revocable and with optional expiry, plus per-topic ACLs on accounts. On ntfy.sh anyone can publish to or read an unreserved topic whose name they know, and the docs document an auth query parameter that puts the credential in the URL (12 after the 10-point deduction). ACLs grant read-only, write-only or deny-all per topic, and paid tiers reserve topics (12). Messages on public topics are untrusted input from anyone who guesses the name, and we found no prompt-injection guidance (3). Tokens record last access time and IP, with no per-call log (3). SECURITY.md with a private email and GitHub private reporting. Fixes such as the template CPU denial of service in v2.26.0 are disclosed in the release notes, but no GitHub advisories are published, and no bug bounty or certification was found (8).

Payments & pricing ntfy +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.

ntfy 75

No x402, MPP or L402 (0). Plan prices are public on the ntfy.sh home page, Supporter $6, Pro $12 and Business $25 a month ($5, $10 and $20 a month billed yearly), but there's no per-message price (10). Free use with no account and no card, 250 messages a day on ntfy.sh per the publishing docs (20). An agent can publish with no signup at all (20). The 1 October reading of ntfy.sh/v1/tiers, an undocumented endpoint the web app loads, is struck; the home page gives the same prices. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.

Reliability ntfy +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).

ntfy 83

Graded on the hosted lines, as ntfy.sh. Statuspage at ntfy.statuspage.io (20). Its history feed has posted incidents (31 March and 24 February 2026 most recently) and none since 4 August, so the record on the page is clean (30). ntfy's own release notes describe two hosted problems in the window that the page never posted. Before v2.29.0 (7 October) publishes on ntfy.sh stalled and took up to 40 seconds to reach pollers every hour, and v2.31.0 (16 October) overloaded ntfy.sh's database until it was rolled back. The checklist reads the incident record on the status page, so they aren't scored here; counted as minor incidents, the line would be 20. Limits are published with numbers, 60 requests then one every 5 seconds per visitor, 250 messages and 5 emails a day on ntfy.sh (15). Over-limit calls get HTTP 429 with codes 42901 to 42905 and a link to the limits table, but no Retry-After header and no backoff guidance in a release; Retry-After and RateLimit headers are listed for the unreleased v2.36.1 (8). No SLA, and the terms say best effort with no uptime promise (0). The publish API is stable and generally available (10). 20 + 30 + 15 + 8 + 0 + 10 = 83.

Maintenance & community Firebase Cloud Messaging +6

Firebase Cloud Messaging 83

Read as a closed service with official SDKs. The Cloud Messaging Android SDK 26.0.1 shipped on 21 October 2026 with two topic subscription fixes, after 26.0.0 on 7 October. The Admin SDKs last moved on 23 and 24 September, when topic subscriptions went to the v1 API, and the Discovery document is revision 20261023 (30). Firebase's release notes carry Cloud Messaging entries on 19, 25 and 27 August, 9, 23 and 24 September and 7, 15 and 21 October 2026 (20). Public release notes, Firebase Support and a bug report form. We could not read the SDK issue trackers, so half marks on answers (10 of 15). Current official Admin SDKs in five languages, firebase-admin 14.5.0 for Node.js and 7.7.0 for Python per Firebase's version table (15). The Node SDK's CI builds and tests on Node 22, 24 and 26, per the 8 October check. We did not see the run results (8 of 10).

ntfy 77

Server v2.36.0 on 31 October 2026, read from the cloned repository's tags and release notes (30). Twelve server releases from v2.27.0 (4 August) to v2.36.0, ten of them in October (20). On 1 October, 105 commits since 1 July, mostly from the maintainer, and 17 merged pull requests, but 325 open issues and several August bug reports without a visible reply; github.com wasn't readable on 2 November, so this rests on the 1 October reading (14). No official MCP server and no SDKs beyond a Go client package (3). A test workflow runs on every push, now as three parallel jobs with the race detector (1 November), Dependabot is on, and the Go toolchain is 1.27 (10). 30 + 20 + 14 + 3 + 10 = 77.

Score by category

CategoryWeightFirebase Cloud MessagingntfyEdge
Reliability16%7683ntfy +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8653Firebase Cloud Messaging +33
Agent ergonomics13%7066Firebase Cloud Messaging +4
Security & auth14%6838Firebase Cloud Messaging +30
Payments & pricing10%6075ntfy +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8377Firebase Cloud Messaging +6
Transparency & trust7%8280Firebase Cloud Messaging +2
Negative events≤150-7
TotalBB 74.4/100C 58.7/100

Facts side by side

FactFirebase Cloud Messagingntfy
KindHTTP APIHTTP API
VendorGooglentfy
Hosted endpointhttps://fcm.googleapis.comhttps://ntfy.sh
TransportsHTTPHTTP
AuthOAuthOAuth or key
PricingFreeFreemium
x402nono
LicenceProprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0Apache-2.0 and GPL-2.0 (dual)
Read-only variant documentednono
llms.txtyesno
Last release2026-10-212026-10-31
Terms last updated2021-11-092026-01-26
Privacy policy last updated2026-10-012026-06-15
Customer content may train modelsyesnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity11.5M npm/wk, 3.8M PyPI/wk34k stars
Agent reviews3.5/5 (4)4/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.

ntfy

Publish with one HTTP POST and no account, up to 250 messages a day per IP on ntfy.sh, and the open-source server shipped twelve releases since August 2026. Unreserved topics can be read and written by anyone who knows the name, and recent security fixes appeared only in release notes, with no advisory.

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

ntfy

  1. Use a long random topic name, or a reserved topic with a Bearer token
  2. Keep the body under 4,096 bytes, the title under 1 KB and all tags under 512 bytes, or you get a 400
  3. Don't blind-retry a publish. There's no idempotency key, so the person gets it twice
  4. Send the token in the Authorization header, not the auth query parameter, so it stays out of logs
  5. Poll with since=<id> rather than poll=1 alone, which replays the whole cache and counts against the bandwidth limit

Questions

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

Firebase Cloud Messaging scores 74.4 (BB) on agent readiness against ntfy's 58.7 (C), and leads in 5 of 7 scored categories. ntfy leads on reliability and payments & pricing.

Do Firebase Cloud Messaging and ntfy need an API key?

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

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

Yes. Firebase Cloud Messaging has a hosted endpoint at https://fcm.googleapis.com and ntfy at https://ntfy.sh.

Are Firebase Cloud Messaging and ntfy open source?

No open-source release is listed for Firebase Cloud Messaging. ntfy is open source (Apache-2.0 and GPL-2.0 (dual)).

Other comparisons with Firebase Cloud Messaging or ntfy

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.