# Google Cloud Pub/Sub vs Trigger.dev

Canonical: https://inetgeek.com/compare/google-pubsub-vs-trigger-dev/

Every value below is read from Google Cloud Pub/Sub's and Trigger.dev's own documentation. See https://inetgeek.com/methodology/ for how.

## At a glance

| Criterion | Google Cloud Pub/Sub | Trigger.dev |
| --- | --- | --- |
| Free tier | Yes | Yes |
| Pricing model | Three meters: throughput at $40 per TiB counting both publish and subscribe, storage at $0.27 per GiB-month for anything retained beyond a day, and data transfer when throughput crosses a zone or region boundary. Pub/Sub Lite is a separate product priced on reserved capacity rather than usage. | A monthly plan fee that is also a credit balance — the fee buys compute rather than sitting on top of it — with concurrency, preview branches, dashboards and schedules each priced as separate add-ons beyond the plan's allowance. |
| Included per month | 10 GiB of throughput free per billing account per calendar month, then $40 per TiB. Throughput counts bytes written to a topic plus bytes read from a subscription, so a message published once and read once is billed twice. BigQuery and Cloud Storage subscriptions are $50 per TiB and the 10 GiB does not apply to them; import topics run $50 or $80 per TiB by source. | Credits rather than a message or execution count: $5 a month free, $10 included on Hobby and $50 on Pro, spent against compute. |
| Maximum message size | Pub/Sub bills on bytes rather than message count; the pricing page states no per-message size ceiling and prices throughput and storage instead. | 3 MB per trigger payload (each batch item up to 3 MB on SDK 4.3.1+); task outputs up to 10 MB; payloads over 512 KB offloaded to object storage. |
| Message retention | Retention is configurable and charged rather than granted: $0.27 per GiB-month for messages a topic is configured to retain, for snapshots, and for a subscription's backlog older than one day. A subscription's default retention is 7 days. | Log retention of 1 day on the free plan, 7 days on Hobby and 30 days on Pro, with the query period matching. |
| SOC 2 | Covered under Google Cloud's core SOC 2 Type II reports, issued quarterly for Google Cloud and Google Workspace products generally. | SOC 2 Type II compliant; latest report available on request for Enterprise customers. |
| HIPAA | Pub/Sub is listed as a Covered Product under Google Cloud's HIPAA Business Associate Agreement. | Meets HIPAA Business Associate requirements; a signed BAA is a paid add-on for running PHI workloads on Trigger.dev Cloud. |

## Where they differ

### Pricing model

- Google Cloud Pub/Sub: Three meters: throughput at $40 per TiB counting both publish and subscribe, storage at $0.27 per GiB-month for anything retained beyond a day, and data transfer when throughput crosses a zone or region boundary. Pub/Sub Lite is a separate product priced on reserved capacity rather than usage. ([source](https://cloud.google.com/pubsub/pricing))
- Trigger.dev: A monthly plan fee that is also a credit balance — the fee buys compute rather than sitting on top of it — with concurrency, preview branches, dashboards and schedules each priced as separate add-ons beyond the plan's allowance. ([source](https://trigger.dev/pricing))

### Included per month

- Google Cloud Pub/Sub: 10 GiB of throughput free per billing account per calendar month, then $40 per TiB. Throughput counts bytes written to a topic plus bytes read from a subscription, so a message published once and read once is billed twice. BigQuery and Cloud Storage subscriptions are $50 per TiB and the 10 GiB does not apply to them; import topics run $50 or $80 per TiB by source. ([source](https://cloud.google.com/pubsub/pricing))
- Trigger.dev: Credits rather than a message or execution count: $5 a month free, $10 included on Hobby and $50 on Pro, spent against compute. ([source](https://trigger.dev/pricing))

### Maximum message size

- Google Cloud Pub/Sub: Pub/Sub bills on bytes rather than message count; the pricing page states no per-message size ceiling and prices throughput and storage instead. ([source](https://cloud.google.com/pubsub/pricing))
- Trigger.dev: 3 MB per trigger payload (each batch item up to 3 MB on SDK 4.3.1+); task outputs up to 10 MB; payloads over 512 KB offloaded to object storage. ([source](https://trigger.dev/docs/limits))

### Message retention

- Google Cloud Pub/Sub: Retention is configurable and charged rather than granted: $0.27 per GiB-month for messages a topic is configured to retain, for snapshots, and for a subscription's backlog older than one day. A subscription's default retention is 7 days. ([source](https://cloud.google.com/pubsub/pricing))
- Trigger.dev: Log retention of 1 day on the free plan, 7 days on Hobby and 30 days on Pro, with the query period matching. ([source](https://trigger.dev/pricing))

### SOC 2

- Google Cloud Pub/Sub: Covered under Google Cloud's core SOC 2 Type II reports, issued quarterly for Google Cloud and Google Workspace products generally. ([source](https://cloud.google.com/security/compliance/soc-2))
- Trigger.dev: SOC 2 Type II compliant; latest report available on request for Enterprise customers. ([source](https://trigger.dev/security))

### HIPAA

- Google Cloud Pub/Sub: Pub/Sub is listed as a Covered Product under Google Cloud's HIPAA Business Associate Agreement. ([source](https://cloud.google.com/security/compliance/hipaa))
- Trigger.dev: Meets HIPAA Business Associate requirements; a signed BAA is a paid add-on for running PHI workloads on Trigger.dev Cloud. ([source](https://trigger.dev/security))

## Which should you choose?

Pick Google Cloud Pub/Sub if Google Cloud systems that want messaging without capacity planning — throughput is metered rather than provisioned, and 10 GiB a month costs nothing.

Pick Trigger.dev if Teams that want background jobs written as normal code with the bill expressed as compute credits rather than a per-message meter.

Consider something else: Google Cloud Pub/Sub — Throughput counts bytes both in and out, so a message read once is billed twice, and retention is a storage charge rather than an included window — the headline $40 per TiB is not the whole bill.

Consider something else: Trigger.dev — Concurrency is the axis that forces an upgrade — 20 simultaneous runs on free, 50 on Hobby, then $10 a month per additional 50.

## Documented by only one

- Entry paid plan: Trigger.dev: $10/month for Hobby, which includes $10 of credits; Pro is $50/month including $50 of credits.
- Ingest price per GB: Google Cloud Pub/Sub: $40 per TiB, which is $0.039 per GiB, for standard publish and subscribe throughput in every Google Cloud region.
- Concurrency: Trigger.dev: 20 concurrent runs on the free plan, 50 on Hobby, and more on Pro at $10 a month per additional 50.
- ISO 27001: Google Cloud Pub/Sub: The Google Cloud Services ISMS holds an accredited ISO/IEC 27001 certification, audited by an independent third party.
- GDPR / data residency: Trigger.dev: Stated GDPR compliant; DPA forms part of the Terms of Service automatically on sign-up.
- PCI DSS: Google Cloud Pub/Sub: Pub/Sub is listed among the individual Google Cloud products certified against PCI DSS via annual third-party audit.
- Encryption at rest: Trigger.dev: Data encrypted at rest with AES-256 and in transit with HTTPS/TLS.
- Role-based access control: Trigger.dev: Role-based access control (RBAC) and SSO listed as Enterprise plan features.
- Private networking / VPC: Trigger.dev: AWS PrivateLink to resources in your own AWS VPC; a Pro and Enterprise feature enabled on request.

## Questions this comparison answers

**Should I choose Google Cloud Pub/Sub or Trigger.dev?**

Pick Google Cloud Pub/Sub if Google Cloud systems that want messaging without capacity planning — throughput is metered rather than provisioned, and 10 GiB a month costs nothing.
Pick Trigger.dev if Teams that want background jobs written as normal code with the bill expressed as compute credits rather than a per-message meter.
