Cloudflare Queues API

Cloudflare Queues is a globally distributed message queue service tightly integrated with Cloudflare Workers, enabling agents to produce and consume messages at the edge without managing queue infrastructure.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other cloudflare queues workers message-queue async edge pub-sub
⚙ Agent Friendliness
60
/ 100
Can an agent use this?
🔒 Security
88
/ 100
Is it safe for agents?
⚡ Reliability
80
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
82
Error Messages
78
Auth Simplicity
80
Rate Limits
78

🔒 Security

TLS Enforcement
100
Auth Strength
88
Scope Granularity
82
Dep. Hygiene
85
Secret Handling
85

Messages are encrypted in transit over TLS; at-rest encryption is provided by Cloudflare's infrastructure. Access control is via Cloudflare API token scopes for management and Worker runtime bindings for data plane operations.

⚡ Reliability

Uptime/SLA
88
Version Stability
78
Breaking Changes
75
Error Recovery
80
AF Security Reliability

Best When

An agent is already running within the Cloudflare Workers ecosystem and needs reliable async task delegation or event buffering without external queue infrastructure.

Avoid When

Your workloads run outside Cloudflare Workers or require complex routing, ordering guarantees, or consumer group semantics not offered by Queues.

Use Cases

  • Enqueue tasks from a Cloudflare Worker triggered by HTTP requests for background processing by a consumer Worker
  • Buffer high-volume webhook events arriving at the edge before fan-out processing by downstream consumers
  • Create a dead-letter pattern by routing failed message deliveries to a secondary queue for inspection and retry
  • Decouple an agent's data ingestion pipeline from its processing pipeline using queues as the intermediate buffer
  • Manage queue configurations (create, delete, list) via the REST API as part of infrastructure provisioning automation

Not For

  • High-throughput use cases requiring sub-millisecond latency — Queues adds at-least-once delivery latency unsuitable for real-time use
  • Teams not already using Cloudflare Workers — the consumer side requires a Worker; cross-platform consumption is not natively supported
  • Complex message routing, topic fan-out, or stream processing that would be better served by Kafka or Pub/Sub

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: api-token
OAuth: No Scopes: Yes

Management operations (create/delete/list queues) use Cloudflare API tokens with 'Workers Queues: Edit' permission. Message production and consumption within Workers uses the Workers runtime binding — no explicit auth needed inside a Worker script.

Pricing

Model: usage-based
Free tier: Yes
Requires CC: Yes

Requires a Cloudflare Workers paid plan ($5/month) to use Queues beyond the free tier limits. Free tier is part of the Workers free plan.

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • Queues uses at-least-once delivery — consumers must handle duplicate messages; there is no built-in deduplication key
  • Consumer Workers must explicitly acknowledge messages; unacknowledged messages are redelivered after the visibility timeout, which can cause processing loops on persistent errors
  • Queue bindings must be declared in the wrangler.toml configuration and redeployed when new queues are added — runtime binding changes are not hot-reloadable
  • Messages are not ordered within a queue — FIFO guarantees are not provided, which affects workflows that depend on processing sequence
  • The REST API manages queue resources but cannot send or receive messages directly — production and consumption only work via Workers bindings

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Cloudflare Queues API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-06.

5700
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered