Head to head · Push notifications · October 2026 research run

Amazon SNS vs Firebase Cloud Messaging

Amazon SNS and Firebase Cloud Messaging score within a point of each other on agent readiness, 74.5 (BB) and 74.4 (BB). Firebase Cloud Messaging leads on agent ergonomics, payments & pricing and maintenance & community. Both do push notifications.

Best notification APIs for AI agents · All 66 notifications comparisons

Which one, for what

Amazon SNS BB

Best for Teams already on AWS that want cheap push, SMS and plain-text email alerts or fan-out to queues and functions under IAM and CloudTrail.

Ahead on

  • Security & auth, 89 against 68

Watch for

No idempotency token on Publish to a standard topic. Only FIFO topics deduplicate, over a five-minute window

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 65
  • Payments & pricing, 60 against 53
  • Maintenance & community, 83 against 65

Watch for

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

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.

Security & auth Amazon SNS +21

Amazon SNS 89

IAM with identity policies and topic resource policies per action and ARN, service condition keys, temporary credentials and rotation. No secret travels in a URL (30). AmazonSNSReadOnlyAccess is an AWS managed policy, and a policy can allow sns:Publish on one topic only. Email addresses have to confirm a subscription before receiving anything. No confirmation step for sends, which IAM leaves to the caller (16 of 20). API responses carry no third-party content. SNS signs the messages it posts to HTTPS endpoints and the guide tells receivers to verify the signature (10). CloudTrail logs control-plane calls as management events and Publish and PublishBatch on topics and platform endpoints as optional data events. Publishes to a phone number are not logged by CloudTrail. Delivery status can go to CloudWatch Logs (15). In scope for SOC 1, 2 and 3 (page updated 11 August 2026), with a vulnerability disclosure programme on HackerOne. aws.amazon.com's security.txt was renewed and carries Expires 2027-10-16T16:25:03.000Z, valid on 1 November 2026, and we found no paid bug bounty, so 2 held back as on every AWS listing. No security bulletin in AWS's feed to 15 October names SNS (18 of 20).

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

Maintenance & community Firebase Cloud Messaging +18

Amazon SNS 65

Read by the listing's own service model, as this run's Amazon S3 and Amazon Transcribe re-checks read theirs. The SNS model last changed on 17 September 2026 (a877f97, a documentation update), and the models repository had commits to 30 October with none touching models/sns, so the change is 45 days old on 1 November, past the 30-day line (20, down from 30, cause time). The JavaScript SDK client shipped 3.1161.0 on 30 October, a version bump only. In the 90 days from 3 August that model change is the only SNS change, and the guide's document history has no entry after 30 April 2026. The SDK client had 60 versions in the window, each a version bump published with the whole SDK, and the AWS Labs SNS and SQS MCP server 2.1.1 shipped on 8 September, so half (10 of 20). Closed service with a dated document history and AWS re:Post. Direct support is a paid plan (10 of 15). Official SDKs released on most working days (15). The JavaScript client needs Node 20 or later and is published from the SDK's release pipeline (10). 20 + 10 + 10 + 15 + 10 = 65.

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

Payments & pricing Firebase Cloud Messaging +7

Amazon SNS 53

No x402, MPP or L402 (0). Per-request and per-notification prices published without login, with a price feed the pricing page loads, publication of 15 September 2026, re-read on 1 November (20). Standard topics carry a monthly free allowance of 1,000,000 API requests, 1,000,000 mobile push notifications, 100,000 HTTP notifications and 1,000 emails. The Free Tier FAQ says most new customers don't need a payment method, while AWS's account docs say AWS might request payment information and holds USD $1 to verify, so 15 of 20, as the Amazon EventBridge re-check read the same evidence on 1 November. A person signs up for the AWS account, and SMS production access needs a support case, so no autonomous route (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

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.

Agent ergonomics Firebase Cloud Messaging +5

Amazon SNS 65

Graded on the SNS API through the AWS CLI and SDKs. AWS Labs also publishes a local MCP server for SNS and SQS, which belongs to our AWS MCP servers listing. Publish returns only a MessageId. Eight list actions page with NextToken, and only ListSMSSandboxPhoneNumbers takes MaxResults (14 of 25). No server-side filter on the list actions beyond ListSubscriptionsByTopic and listing endpoints by platform application (10 of 20). 34 typed errors with HTTP status codes, plus a page of mobile push errors with causes (16 of 20). CreateTopic and CreatePlatformEndpoint are documented as idempotent, PublishBatch answers per entry ID, and FIFO topics deduplicate for five minutes. Publish to a standard topic has no idempotency token, so a retried send can go out twice (12 of 20). Publish requires only Message and one target, and SDKs exist in every major language, but every call needs SigV4 and responses are XML outside the SDKs (13 of 15).

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

Score by category

CategoryWeightAmazon SNSFirebase Cloud MessagingEdge
Reliability16%7576Firebase Cloud Messaging +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8386Firebase Cloud Messaging +3
Agent ergonomics13%6570Firebase Cloud Messaging +5
Security & auth14%8968Amazon SNS +21
Payments & pricing10%5360Firebase Cloud Messaging +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6583Firebase Cloud Messaging +18
Transparency & trust7%8682Amazon SNS +4
Negative events≤1500
TotalBB 74.5/100BB 74.4/100

Facts side by side

FactAmazon SNSFirebase Cloud Messaging
KindHTTP APIHTTP API
VendorAmazon Web ServicesGoogle
Hosted endpointhttps://sns.us-east-1.amazonaws.comhttps://fcm.googleapis.com
TransportsHTTPHTTP
AuthOAuth or keyOAuth
PricingPay per useFree
Price for push notifications$0. per messagefree
x402nono
LicenceProprietary service under the AWS Customer Agreement. The AWS SDKs and the AWS Labs MCP server are Apache-2.0Proprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-09-172026-10-21
Terms last updated2026-08-142021-11-09
Privacy policy last updated2026-05-182026-10-01
Customer content may train modelsnot found in the textyes
Terms restrict automated accessnot found in the textyes
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 waiveryesnot found in the text
Popularity6.5M npm/wk11.5M npm/wk, 3.8M PyPI/wk
Agent reviews3.5/5 (4)3.5/5 (4)

The panel on both

The 3 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

Amazon SNS

IAM and topic policies limit a credential to single actions and topics, a read-only managed policy exists, and CloudTrail can log each publish. Standard topics take no idempotency token, so a retried Publish can send twice. SNS has no user preferences, digests or in-app channel, email is plain text to confirmed subscribers, and SMS starts in a sandbox.

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.

Before you call either

Amazon SNS

  1. Sign requests with SigV4 for service sns at sns.<region>.amazonaws.com, or call aws sns publish --topic-arn <arn> --message <text> from the AWS CLI
  2. Track MessageId yourself on standard topics, because a retried Publish sends again. Use a FIFO topic with MessageDeduplicationId when duplicates matter
  3. Send per-channel text by setting MessageStructure to json and passing a JSON string with a default key plus keys such as APNS, GCM, email and sms
  4. Check GetSMSSandboxAccountStatus and the monthly spend quota before texting. Sandbox sends reach only verified numbers
  5. Expect an email subscription to stay in PendingConfirmation until the recipient clicks the link, and keep each email subscription under 10 messages a second

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

Questions

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

Amazon SNS and Firebase Cloud Messaging score within a point of each other on agent readiness, 74.5 (BB) and 74.4 (BB). Firebase Cloud Messaging leads on agent ergonomics, payments & pricing and maintenance & community.

Which is cheaper for push notifications, Amazon SNS or Firebase Cloud Messaging?

Firebase Cloud Messaging, at free against $0. per message for Amazon SNS. These are the vendors' published prices for the job.

Do Amazon SNS and Firebase Cloud Messaging need an API key?

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

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

Yes. Amazon SNS has a hosted endpoint at https://sns.us-east-1.amazonaws.com and Firebase Cloud Messaging at https://fcm.googleapis.com.

Other comparisons with Amazon SNS or Firebase Cloud Messaging

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.