Cloudflare Queues vs Google Cloud Pub/Sub
SEPT 2026 auditA comparison of Cloudflare Queues and Google Cloud Pub/Sub built from values read directly from each provider's own documentation, with the source recorded against every figure.
The short answer
Choose Cloudflare Queues if…
Workers applications that want a queue with no egress or throughput charges and a retention window measured in days rather than hours.
Editorial · Palash Bagchi · approved
Choose 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.
Editorial · Palash Bagchi · approved
Consider something else if…
- Cloudflare Queues: Billing is per 64 KB operation rather than per message, so a large payload or a chatty retry loop costs several times what the message count suggests.
- 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.
Neither quite fits? Every other option, ranked by iScore: Cloudflare Queues alternatives · Google Cloud Pub/Sub alternatives
6 sourced criteria separate them — see where, with sources, below.
Pick the criteria you care about. The chart counts how many of them lean toward each provider — the same read as scanning the bars below, just totalled for the ones you chose.
Cloudflare Queues 0
Google Cloud Pub/Sub 0
At a glance.
| Criterion | Cloudflare Queues | Google Cloud Pub/Sub |
|---|---|---|
| Pricing | ||
| Free tier | Yes | Yes |
| Kind of free offer | Free tier | Free tier |
| What the free plan includes | The first 1,000,000 standard operations a month are not billed; beyond that the rate is $0.40 per million, and each message costs three operations. | The first 10 GiB of Message Delivery Basic throughput per billing account each calendar month. |
| Pricing model | Billed per operation, not per message: one operation per 64 KB written, read or deleted, and a message larger than 64 KB counts as several. Cloudflare states a normal delivery takes three operations — one write, one read, one delete — so a million messages is nearer three million operations. Workers Paid includes 1,000,000 operations a month, then $0.40 per million; the free plan allows 10,000 a day. | 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. |
| Infrastructure | ||
| Uptime SLA | 99.9% monthly uptime, in a dedicated Queues SLA that applies to use of Queues only and names no plan tier, with the same precedence clause as the R2 and Workers SLAs. The remedy is a credit set as a percentage of the fees paid for that product in the preceding 30 days, so the commitment stands on a free account while the compensation for breaching it is worth nothing there. | 99.95% or better for Pub/Sub. Pub/Sub Lite is 99.95% for regional topics and 99.5% for zonal topics. Published as an SLO. |
| Queues | ||
| Included per month | 1,000,000 operations a month on Workers Paid, then $0.40 per million. An operation is each 64 KB written, read or deleted, so a typical message costs three — Cloudflare's own formula is ((messages × 3) − 1,000,000) / 1,000,000 × $0.40. Workers Free allows 10,000 operations a day. | 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. |
| Maximum message size | 128 KB per message, with roughly 100 bytes of that taken by internal metadata. | Pub/Sub bills on bytes rather than message count; the pricing page states no per-message size ceiling and prices throughput and storage instead. |
| Message retention | 4 days by default on Workers Paid, configurable up to 14 days. Workers Free is fixed at 24 hours. | 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. |
Where they differ.
What the free plan includes
- Cloudflare Queues
- The first 1,000,000 standard operations a month are not billed; beyond that the rate is $0.40 per million, and each message costs three operations.
- Google Cloud Pub/Sub
- The first 10 GiB of Message Delivery Basic throughput per billing account each calendar month.
Sources (2) →Sources ↓
- Queues Pricing — Cloudflare ↗
“you can use the following formula to estimate your monthly bill: ((Number of Messages * 3) - 1,000,000) / 1,000,000 * $0.40”
Read 2026-09-13 · official docs · Report a correction
- Pricing — Google Cloud Pub/Sub ↗
“Every calendar month, the first 10 GiB of throughput identified as the Message Delivery Basic SKU for a billing account is free.”
Read 2026-09-13 · official pricing · Report a correction
Pricing model
- Cloudflare Queues
- Billed per operation, not per message: one operation per 64 KB written, read or deleted, and a message larger than 64 KB counts as several. Cloudflare states a normal delivery takes three operations — one write, one read, one delete — so a million messages is nearer three million operations. Workers Paid includes 1,000,000 operations a month, then $0.40 per million; the free plan allows 10,000 a day.
- 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.
Sources (2) →Sources ↓
- Pricing — Cloudflare Queues docs ↗
“An operation is counted for each 64 KB of data that is written, read, or deleted. [...] Standard operations 10,000 operations/day included 1,000,000 operations/month included + $0.40/million operations [...] In most cases, it takes 3 operations to deliver a message: 1 write, 1 read, and 1 delete.”
Read 2026-09-07 · official docs · Report a correction
- Pricing — Google Cloud Pub/Sub ↗
“Throughput costs for message publishing and delivery [...] Data transfer costs associated with throughput that crosses a Google Cloud zone or region boundary [...] Storage costs associated with retaining messages [...] Pub/Sub Lite throughput and storage charges, by contrast, are based on reserved capacity.”
Read 2026-09-06 · official pricing · Report a correction
Uptime SLA
99.9% monthly uptime, in a dedicated Queues SLA that applies to use of Queues only and names no plan tier, with the same precedence clause as the R2 and Workers SLAs. The remedy is a credit set as a percentage of the fees paid for that product in the preceding 30 days, so the commitment stands on a free account while the compensation for breaching it is worth nothing there.
99.95% or better for Pub/Sub. Pub/Sub Lite is 99.95% for regional topics and 99.5% for zonal topics. Published as an SLO.
Sources (2) →Sources ↓
- Queues Service Level Agreement — Cloudflare ↗
“applies to use of queues only [...] cloudflare will provide a monthly uptime percentage of 99.9% for customer's use of queues”
Read 2026-09-21 · official site · Report a correction
- Pub/Sub Service Level Agreement ↗
“Covered Service Monthly Uptime Percentage Pub/Sub >=99.95% Pub/Sub Lite >=99.95% for Regional topics >=99.5% for Zonal topics”
Read 2026-09-14 · official site · Report a correction
Included per month
- Cloudflare Queues
- 1,000,000 operations a month on Workers Paid, then $0.40 per million. An operation is each 64 KB written, read or deleted, so a typical message costs three — Cloudflare's own formula is ((messages × 3) − 1,000,000) / 1,000,000 × $0.40. Workers Free allows 10,000 operations a day.
- 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.
Sources (2) →Sources ↓
- Pricing — Cloudflare Queues docs ↗
“1,000,000 operations/month included + $0.40/million operations [...] An operation is counted for each 64 KB of data that is written, read, or deleted. [...] In most cases, it takes 3 operations to deliver a message [...] 10,000 operations/day included”
Read 2026-09-06 · official docs · Report a correction
- Pricing — Google Cloud Pub/Sub ↗
“the first 10 GiB of throughput [...] is free. After that, the price is $40 per TiB in all Google Cloud regions. [...] BigQuery subscriptions cost $50 per TiB [...] Import topics (for Cloud Storage, Azure Event Hubs, AWS MSK, or Confluent Cloud) cost $80 per TiB”
Read 2026-09-06 · official pricing · Report a correction
Maximum message size
- Cloudflare Queues
- 128 KB per message, with roughly 100 bytes of that taken by internal metadata.
- 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.
Sources (2) →Sources ↓
- Queues limits — Cloudflare Docs ↗
“Feature Limit Queues 10,000 per account Message size 128 KB 1 Message retries 100 Maximum consumer batch size 100 messages [...] Messages can include up to ~100 bytes of internal metadata that counts towards total message limits.”
Read 2026-09-13 · official docs · Report a correction
- Pricing — Google Cloud Pub/Sub ↗
“Throughput is the total number of bytes written (publish throughput) to a Pub/Sub topic or read (subscribe throughput) from a subscription to a topic over an interval of time.”
Read 2026-09-06 · official docs · Report a correction
Message retention
4 days by default on Workers Paid, configurable up to 14 days. Workers Free is fixed at 24 hours.
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.
Sources (2) →Sources ↓
- Queues pricing — Cloudflare Docs ↗
“Message retention 24 hours (non-configurable) 4 days default, configurable up to 14 days”
Read 2026-09-13 · official pricing · Report a correction
- Pricing — Google Cloud Pub/Sub ↗
“Storage costs of $0.27 per GiB-month are charged for the following: A topic is configured to retain messages [...] an attached subscription with message retention duration set to the default of 7 days”
Read 2026-09-06 · official pricing · Report a correction
When these numbers change, hear about it. Sources are re-checked monthly; a repricing goes out as a short note.
Documented by only one.
These criteria are published by one provider and not the other. An absence here means we have not found a source, not that the feature is missing — except where we say we read the other provider's own page on a given date and it does not state it. Those rows lean, and the provider can correct them with a link.
Questions this comparison answers.
Should I choose Cloudflare Queues or Google Cloud Pub/Sub?
Pick Cloudflare Queues if Workers applications that want a queue with no egress or throughput charges and a retention window measured in days rather than hours.
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.

Comments are hosted by EchoThread, which sets cookies and offers social sign-in. Like the analytics on this site, it does not load until you accept — see the privacy page.