Tools Web

实用计算

Cloudflare Queues 费用计算

填写每月消息数(或原始操作数)、平均消息 KB、每条消息重试次数与队列数。查看扣除 100 万包含额度后的计费操作、操作费用、额外队列费用与合计。操作按消息而非按批次计;每写入、读取或删除 64 KB 计 1 次操作。无出站费用。Workers Paid 订阅 / CPU 不在范围内。官方价格截至 2026-11-03,以 developers.cloudflare.com/queues/platform/pricing 为准。

计算在浏览器完成。不会上传数据。

Monthly Queues overage
—

Line items
—

Breakdown
—

Cloudflare Queues MVP = Workers Paid plan. Operations: 1,000,000 / month included, then $0.40 / million. One operation = each 64 KB written, read or deleted (KB = 1,000 bytes; ~100 bytes metadata per message). Ops are per message, not per batch. Typical delivery = 3 ops (write + read + delete): ((Messages × 3) − 1,000,000) / 1,000,000 × $0.40. Each retry = 1 extra read; a DLQ write = extra write; messages that expire unread = write + delete only. Queues: first 10,000 included, then $0.10 / queue-month. No egress / throughput charges. Free plan = 10k ops/day cap (note only). Workers Paid subscription and Workers CPU are out of scope — see Workers pricing. Smoke: 1M msgs/day × 30 × 3 = 90M ops → $35.60; 100M × 127 KB (2 chunks) × 3 = 600M ops → $239.60.

Estimates only. Official list prices as of 2026-11-03 (Asia/Shanghai); the provider's pricing page prevails. Source: Cloudflare Queues pricing

消息队列费用对比 · Amazon SQS 费用计算 · Google Cloud Tasks 费用计算 · Cloudflare Workers 费用计算 · Cloudflare KV 费用计算

怎么用

Cloudflare Queues 如何定价?
Workers Paid:每月含 1,000,000 次操作,超出 $0.40/百万次。队列超出 10,000 个后每个每月 $0.10。无出站或吞吐费用(截至 2026-11-03)。
什么算一次操作?
每写入、读取或删除 64 KB 计一次(1 KB = 1,000 字节,约 100 字节元数据)。按消息而非按批次计 — 一条正常投递的消息为 3 次操作(写 + 读 + 删)。
验算结果是多少?
每天 100 万消息 × 30 × 3 = 9000 万操作 − 100 万 = 8900 万 × $0.40/百万 = $35.60。1 亿消息 × 127 KB(2 块)× 3 = 6 亿操作 − 100 万 = $239.60。
重试和死信队列如何影响费用?
每次重试增加一次读;写入死信队列增加一次写;未读即过期的消息只产生写 + 删。
包含 Workers Paid 套餐费吗?
不包含。Workers Paid 订阅与 Workers CPU 不在范围 — 请看 Workers 定价。免费计划每天上限 1 万次操作(仅作说明)。