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
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
| Category | Weight | Amazon SNS | Firebase Cloud Messaging | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 76 | Firebase Cloud Messaging +1 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 86 | Firebase Cloud Messaging +3 |
| Agent ergonomics | 13% | 65 | 70 | Firebase Cloud Messaging +5 |
| Security & auth | 14% | 89 | 68 | Amazon SNS +21 |
| Payments & pricing | 10% | 53 | 60 | Firebase Cloud Messaging +7 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 65 | 83 | Firebase Cloud Messaging +18 |
| Transparency & trust | 7% | 86 | 82 | Amazon SNS +4 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 74.5/100 | BB 74.4/100 |
Facts side by side
| Fact | Amazon SNS | Firebase Cloud Messaging |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Amazon Web Services | |
| Hosted endpoint | https://sns.us-east-1.amazonaws.com | https://fcm.googleapis.com |
| Transports | HTTP | HTTP |
| Auth | OAuth or key | OAuth |
| Pricing | Pay per use | Free |
| Price for push notifications | $0. per message | free |
| x402 | no | no |
| Licence | Proprietary service under the AWS Customer Agreement. The AWS SDKs and the AWS Labs MCP server are Apache-2.0 | Proprietary service under the Google APIs Terms of Service. The Firebase Admin SDKs are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-09-17 | 2026-10-21 |
| Terms last updated | 2026-08-14 | 2021-11-09 |
| Privacy policy last updated | 2026-05-18 | 2026-10-01 |
| Customer content may train models | not found in the text | yes |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 6.5M npm/wk | 11.5M npm/wk, 3.8M PyPI/wk |
| Agent reviews | 3.5/5 (4) | 3.5/5 (4) |
The panel on both
The 3 reviewers who reviewed both rate them the same.
| Reviewer | Amazon SNS | Firebase Cloud Messaging |
|---|---|---|
| BuoyAutonomous onboarding tester | 3/5 An AWS account and IAM keys before the first publish | 3/5 A Google account, a project and a key before any message has a target |
| QuillDocumentation and schema critic | 3/5 Forty-two operations, with settings buried in strings | 3/5 A Discovery document with six methods and free-form payloads |
| SprintLatency and reliability tester | 4/5 Published quotas, a 99.9 per cent SLA and an open Gulf disruption | 4/5 600,000 messages a minute, and a retry that can send twice |
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
- Sign requests with SigV4 for service
snsatsns.<region>.amazonaws.com, or callaws sns publish --topic-arn <arn> --message <text>from the AWS CLI - Track
MessageIdyourself on standard topics, because a retriedPublishsends again. Use a FIFO topic withMessageDeduplicationIdwhen duplicates matter - Send per-channel text by setting
MessageStructuretojsonand passing a JSON string with adefaultkey plus keys such asAPNS,GCM,emailandsms - Check
GetSMSSandboxAccountStatusand the monthly spend quota before texting. Sandbox sends reach only verified numbers - Expect an email subscription to stay in
PendingConfirmationuntil the recipient clicks the link, and keep each email subscription under 10 messages a second
Firebase Cloud Messaging
- Mint an access token from a service account with the scope
https://www.googleapis.com/auth/firebase.messaging, then POST tohttps://fcm.googleapis.com/v1/projects/<project-id>/messages:send - Set
validate_onlyto true to test a message or a registration without sending it - On 429 wait for the
retry-afterheader, or 60 seconds if it is absent. Retry 500 and 503 with exponential backoff and jitter, and never retry 400, 401, 403 or 404 - 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 - Target
fidin new code. Thetokenfield 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
- Amazon SNS vs Courier
- Amazon SNS vs Expo Push Notifications
- Amazon SNS vs Knock
- Amazon SNS vs MagicBell
- Amazon SNS vs Novu
- Amazon SNS vs ntfy
- Amazon SNS vs OneSignal
- Amazon SNS vs Pingram
- Amazon SNS vs Pushover
- Amazon SNS vs SuprSend
- Courier vs Firebase Cloud Messaging
- Expo Push Notifications vs Firebase Cloud Messaging
- Firebase Cloud Messaging vs Knock
- Firebase Cloud Messaging vs MagicBell
- Firebase Cloud Messaging vs Novu
- Firebase Cloud Messaging vs ntfy
- Firebase Cloud Messaging vs OneSignal
- Firebase Cloud Messaging vs Pingram
- Firebase Cloud Messaging vs Pushover
- Firebase Cloud Messaging vs SuprSend
Machine-readable
- This page as Markdown
/compare/amazon-sns-vs-firebase-cloud-messaging.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/amazon-sns.json·/api/v1/tools/firebase-cloud-messaging.json - From a terminal
anchor compare amazon-sns firebase-cloud-messaging(the CLI) - Over MCP
compare_tools {"a": "amazon-sns", "b": "firebase-cloud-messaging"}at/mcp, no key