Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

Cloudflare Queues

Cloudflare Queues on Workers Free includes 10,000 operations a day, most messages use three of them, and what happens when the day's operations run out is not confirmed.

Cloudflare Queues is a message queue for Cloudflare Workers. One Worker sends messages to a queue, and another Worker receives them in batches, with retries.

By CloudflareMessagingChecked ✓ 23 Nov 2026

Is it a fit?

Good fit

Use Queues for light background work inside a Workers app, such as buffering webhooks or batching writes.

  • Workers apps
  • background jobs
  • batching writes

Not a fit

Avoid it if you need messages kept longer than a day on the free plan or need a confirmed policy for what happens after the daily operation allowance runs out.

  • you need retention beyond 24 hours for free
  • you send high volumes of messages
  • you need confirmed daily-quota exhaustion behavior

You use Queues from Wrangler and your Worker code. A producer Worker binds to a queue and calls send(), and a consumer Worker handles batches. It suits developers who already build on Cloudflare Workers. The getting-started guide also supports pull-based consumers, so an HTTP client outside Workers can consume messages.

What the free plan gives you

Queues is part of the Workers Free plan. It includes 10,000 operations per day. An operation is counted for each 64 KB of data that is written, read, or deleted, and operations are per message, not per batch.

In most cases a message takes 3 operations: 1 write, 1 read, and 1 delete. That means only a few thousand messages a day fit in the free amount. Free plan messages are kept for 24 hours, and you cannot change that. The paid plan keeps them 4 days by default, and up to 14 days. There are no data transfer or bandwidth charges.

When you hit a limit

The pricing and limits pages do not say what Queues does after the 10,000 daily operations on the Free plan. Cloudflare advertises free account signup without a card, but these Queues pages do not explain daily-quota enforcement or publish a Free overage tariff. Do not infer the exact exhaustion behavior from the free price.

Other limits are explicit. A message can be up to 128 KB, and a queue can take 5,000 messages per second. Past that rate, send() and sendBatch() throw a Too Many Requests error. A queue that reaches its 25GB backlog returns a Storage Limit Exceeded error on send. Each retry also costs a read operation.

Gotchas

  • Each queue can have only one consumer Worker connected to it.
  • A batch of 10 messages counts as 10 writes, 10 reads, and 10 deletes. Batching does not cut the operation count.
  • Without a consumer Worker, messages stay in the queue until they expire.

Alternatives in this atlas

  • CloudAMQP: when you want a hosted RabbitMQ or LavinMQ broker you can reach from any language.
  • SQS: when your code runs on AWS.
  • Pub/Sub: when your code runs on Google Cloud.

Questions people ask

Is Cloudflare Queues free?

Yes, on the Workers Free plan. It includes 10,000 operations per day and keeps messages for 24 hours.

How many messages can I send on the free plan?

Most messages use 3 operations, so the 10,000 daily operations cover only a few thousand messages a day. Larger messages and retries use more.

How long does Cloudflare Queues keep messages?

On the Workers Free plan, messages are kept for 24 hours and you cannot change it. On the Workers Paid plan the default is 4 days, up to 14 days.

How to get started

  1. Create a Cloudflare account and a Worker project with `npm create cloudflare@latest -- producer-worker`.
  2. Create a queue with `npx wrangler queues create` and a queue name.
  3. Add a producer binding for the queue to your `wrangler.jsonc` file.
  4. Send messages from the Worker with `env.MY_QUEUE.send()`, then deploy with `npx wrangler deploy`.
  5. Add a `queue` handler to a consumer Worker, connect it to the queue, and watch the messages with `wrangler tail`.

Other free messaging options

Same category, safest first.

Google Cloud · Messaging
No charge for sending messages on the Spark or Blaze plan · Default quota of 600k downstream messages per minute per project · Payload of up to 4096 bytes per message
Billing risk: None
No card
Cloudflare · Messaging
Unlimited inbound emails on Workers Free · 200 routing rules per domain · 200 destination addresses per account
Billing risk: None
No card
Mailjet · Messaging
200 emails/day · 6,000 emails/month · API & SMTP access
Billing risk: None
No card
Postmark · Messaging
100 emails/month · No overages allowed · Up to 6 users
Billing risk: None
No card