Head to head · Push notifications · October 2026 research run

Firebase Cloud Messaging vs OneSignal

Firebase Cloud Messaging and OneSignal score within a point of each other on agent readiness, 74.4 (BB) and 73.6 (BB). OneSignal leads on security & auth. 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

  • Agent ergonomics, 70 against 64
  • Payments & pricing, 60 against 53
  • Transparency & trust, 82 against 73

Watch for

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

OneSignal BB

Best for A team whose main channel is push to its own mobile or web app and who wants delivery handled without a separate push provider.

Ahead on

  • Security & auth, 74 against 68

Watch for

Four partial incidents on the API and SDK endpoints between 18 September and 15 October 2026, the longest about 24 hours of incomplete reads for some apps

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 +9

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

OneSignal 73

Closed service with published terms. The Node SDK's modified MIT licence limits use to OneSignal's services (15). The pricing page gives retention per plan (audit logs 48 hours to 90 days, inactive free subscriptions kept 18 months), and the trust page lists ISO 27701. We didn't read the full privacy policy (15). Dated deprecation notices, for example five subscription fields announced on 17 March 2026 and removed on 15 April (15). Subprocessors sit behind the Conveyor trust centre, and we found no data locations (6).

Payments & pricing Firebase Cloud Messaging +7

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.

OneSignal 53

No x402, MPP or L402 (0). Per-unit prices are public, $0.012 per mobile push monthly active user, $0.004 per web push subscriber and $1.50 per 1,000 emails after 20,000 on Growth from $19 a month (20). A free plan with 1,000 monthly active users for mobile push and 10,000 emails a month, but the pricing page doesn't say whether a card is needed (15). A person signs up in the dashboard (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

Agent ergonomics Firebase Cloud Messaging +6

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

OneSignal 64

43 MCP tools in 11 categories, with no toolsets or dynamic loading found (5). View endpoints take limit and offset (2). Targeting by segment, alias and filters, offset paging on views (15). Errors come back as an errors array of messages, with the rate-limit case documented (12). idempotency_key on message creation dedupes for 30 days, send_message is flagged high-impact so clients can ask first, and the MCP server lists no delete tools (18). Every call needs app_id in the body and an alias or segment to target, though SDKs cover Node, Python and other languages (12).

Security & auth OneSignal +6

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

OneSignal 74

The MCP server is OAuth only and acts with the signed-in user's account permissions, and the REST API takes an app key as Authorization: Key (25). No delete tools in the MCP server, send_message marked for confirmation, and permissions follow the user's role (14). Tools return user profiles, subscriptions and message content with no prompt-injection guidance found (5). Audit logs kept 48 hours on Free and Growth and 90 days on Enterprise, per the pricing page (12). Valid security.txt (expires 1 January 2030, re-read on 1 November), and the trust page lists SOC 2 Type II, ISO 27001 and 27701, HIPAA, GDPR and CCPA, with a trust centre on Conveyor (18).

Score by category

CategoryWeightFirebase Cloud MessagingOneSignalEdge
Reliability16%7680OneSignal +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8687OneSignal +1
Agent ergonomics13%7064Firebase Cloud Messaging +6
Security & auth14%6874OneSignal +6
Payments & pricing10%6053Firebase Cloud Messaging +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8381Firebase Cloud Messaging +2
Transparency & trust7%8273Firebase Cloud Messaging +9
Negative events≤1500
TotalBB 74.4/100BB 73.6/100

Facts side by side

FactFirebase Cloud MessagingOneSignal
KindHTTP APIHTTP API
VendorGoogleOneSignal
Hosted endpointhttps://fcm.googleapis.comhttps://api.onesignal.com
TransportsHTTPHTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreeFreemium
x402nono
LicenceProprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0Modified MIT (Node SDK, use limited to OneSignal's services)
Tools exposednone43
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-212026-10-30
Terms last updated2021-11-092024-06-12
Privacy policy last updated2026-10-01couldn't be read
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 textyes
Arbitration or class-action waivernot found in the textyes
Popularity11.5M npm/wk, 3.8M PyPI/wk52 stars, 231k npm/wk, 28k PyPI/wk
Agent reviews3.5/5 (4)3.5/5 (2)

The panel on both

The 2 reviewers who reviewed both rate them the same.

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.

OneSignal

OneSignal runs push delivery itself and documents retries well, with Retry-After, two backoff recipes and 30-day idempotency keys. Its hosted MCP server takes OAuth only and has no delete tools, but it is still in open beta, and four partial incidents hit the API and SDK endpoints between 18 September and 15 October 2026.

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

OneSignal

  1. Use Authorization: Key <key>, not Bearer, and put app_id in the body
  2. Send an idempotency_key UUID with every create call and reuse it on each retry
  3. On 429, wait for Retry-After, then back off with jitter, up to 10 attempts
  4. Stay under 10 sends per subscribed subscription in 15 minutes or the app is disabled
  5. Target people with include_aliases.external_id and set target_channel

Questions

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

Firebase Cloud Messaging and OneSignal score within a point of each other on agent readiness, 74.4 (BB) and 73.6 (BB). OneSignal leads on security & auth.

Do Firebase Cloud Messaging and OneSignal need an API key?

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

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

Yes. Firebase Cloud Messaging has a hosted endpoint at https://fcm.googleapis.com and OneSignal at https://api.onesignal.com.

Other comparisons with Firebase Cloud Messaging or OneSignal

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.