Cloudflare billing guides
Browse billing risks, cost limits, and troubleshooting experience by product.
308 guides
FlareCost: what the $5 Workers Paid plan includes
FlareCost's explainer says Workers Paid is a $5 monthly minimum per account that includes the Paid allowances for Workers requests and CPU, KV, Hyperdrive and Durable Objects; included usage is not extra credit on top of the $5, overages are added to it, R2 keeps its own free tier, and the plan is separate from a zone plan. Reviewed against the Workers pricing page on 2026-11-02.
FlareCost: what a D1 full table scan costs past 25 billion rows read
FlareCost's scenario scans the same 5-million-row table 200 times a day for 30 days: 30 billion rows read, 5 billion of them billed at $0.001 per million, totalling $10.00 on Paid including the $5 minimum. It stresses that D1 bills rows scanned, not rows returned, and that indexes cut reads but add a written row when the indexed column changes. Rates as published on 2026-11-02.
FlareCost R2 pricing calculator: storage, Class A/B operations and $0 egress
FlareCost's R2 calculator page explains that R2 bills storage at $0.015 per GB-month, Class A operations at $4.50 per million and Class B at $0.36 per million, with free egress and DeleteObject, and a monthly free tier of 10 GB-month, 1 million Class A and 10 million Class B on both Free and Paid; the calculator estimates a workload from those rates (checked 2026-11-02).
Ambersight: an open-source, read-only monitor for free-plan limits and bill spikes across Workers
Ambersight (jntegz/ambersight) runs as one Worker in your own account, reads Workers settings and metrics hourly with a read-only token, warns at 70% and 90% of each Free daily limit, and on Workers Paid alerts when a Worker's last hour is 5x its usual hour, noting there is no hard spending cap. The author announced it on X as free and read-only.
Brolly: self-hosted cost guardrails and emergency controls for Cloudflare
Brolly (standardagents/brolly, MIT) is a self-hosted Cloudflare app that watches billable usage across Workers, Durable Objects, D1, R2, KV, Queues and AI, alerts when spend moves out of line, and offers approval-first, reversible quarantine controls; automatic controls are opt-in and it never deletes resources.
AI Spend Control Course: putting AI Gateway spend limits in front of Workers AI
jamesqquick/ai-spend-control-course is a small support-copilot lab: the starter calls Workers AI directly, and the solution routes requests through AI Gateway with server-side team metadata, a Dynamic Route and a spend limit for one team, configured in the Cloudflare dashboard.
FlareCost: Durable Object WebSocket messages bill 20:1, and non-hibernating sockets bill duration
FlareCost's Durable Object WebSocket page says incoming WebSocket messages are billed at a 20:1 ratio for compute requests (100 messages count as 5 requests), outgoing messages and protocol pings are not charged, and accepting a WebSocket without the hibernation API bills duration for the whole connection. Reviewed against official pages on 2026-11-02.
FlareCost: Queues messages over 64 KB count as multiple operations
FlareCost's Queues message size page says the 128 KB message limit is measured with 1 KB = 1,000 bytes and that messages over 64 KB count as multiple operations — a 65 KB and a 127 KB message are both two — so the operation meter, not the message count, is what the $0.40 rate multiplies. Reviewed against official pages on 2026-11-02.
FlareCost: an expired Queues message is still a write and a delete
FlareCost's Queues retention page says retention is 24 hours on Free (not configurable) and 4 days by default up to 14 days on Paid, and that a message which expires unread is still billed a write and a delete per 64 KB chunk; retention itself has no separate price. Reviewed against official pages on 2026-11-02.
FlareCost: 'unlimited' KV reads on Paid means no hard stop, not free
FlareCost's KV read limits page says Free allows 100,000 reads a day that reset at 00:00 UTC and then fail, while on Paid the limits page says unlimited but the pricing page includes 10 million a month and then charges $0.50 per million, prorated. Reviewed against official pages on 2026-11-02.
FlareCost: D1 row width is not a second meter — rows read are rows scanned
FlareCost's D1 row and statement limits page lists 2 MB per row, 100 columns, 100 KB per statement and 100 bound parameters, and says a row's width does not change the row-read price: a 1 KB row and a 100 KB row are both one row, and rows read are rows scanned. Reviewed against official pages on 2026-11-02.
FlareCost: each Cron Trigger run is a billed request on Workers Paid
FlareCost's Cron Trigger page lists 5 cron triggers per account on Free and 250 on Paid, and says a cron invocation is a billed request on Paid whose CPU joins the monthly CPU pool; the pricing page's hourly example is 720 requests a month. Reviewed against official pages on 2026-11-02.
FlareCost: Workers CPU time limit — 10 ms on Free, up to 5 minutes on Paid
FlareCost's Workers CPU time page says Free allows 10 ms per invocation and Paid up to 5 minutes (default 30 seconds), and that only active execution counts: waiting on fetch, KV or D1 does not. Reviewed against official pages on 2026-11-02.
Spend Management: spending limits and alerts for Workers and Durable Objects
Cloudflare’s 13 November 2026 open beta lets pay-as-you-go accounts set a monthly USD spending limit on Workers or Durable Objects usage charges (after included usage). The limit can block new billable work or send email only. It is not a guaranteed invoice cap, is account-wide per product, and does not cover the Workers Paid subscription fee, stored Durable Object data, or other products such as KV, R2 and Workers AI.
cloudflare-cost-notify: a Worker cron that posts daily billable usage and free-tier counts to Discord
yutamoty/cloudflare-cost-notify is an unlicensed GitHub repository, pushed on 16 November 2026. A Cloudflare Worker cron at 00:00 UTC (described as 09:00 JST) reads the Billable Usage API and GraphQL Analytics API and posts yesterday’s cost, the day-over-day change, month-to-date spend, and Workers request / R2 storage / R2 Class A and B counts to a Discord webhook. A default $0.00 alert threshold turns the message red. Because the repository has no license, this entry is a summary only and the README is not archived in sources.json.
AetherGate: a self-hosted OpenAI-compatible gateway on Workers with per-member RPM, TPM and monthly budgets
haiying-ai/aethergate-ai-gateway is an MIT-licensed self-hosted OpenAI-compatible gateway that runs on Cloudflare Workers and D1. It routes one public model name to several upstream providers, issues hashed per-member sk- keys, and enforces RPM, TPM, concurrency and monthly budget policies, with a usage ledger and audit logs. This is an upstream-key control plane, not a substitute for Cloudflare’s own AI Gateway spend limits or account Spend Management.
FlareCost: Workers Free allows 100,000 requests a day, then error 1027 or fail-open, not a bill
FlareCost’s workers-free-daily-requests page (reviewed 2026-11-02) says the Workers Free 100,000 daily requests are per account per UTC day, shared with Pages Functions, reset at 00:00 UTC, and are not a monthly pool or a per-script cap. Requests past the cap are not billed: fail-closed routes return error 1027, fail-open routes bypass the Worker. Static asset requests do not count. CPU on Free is a separate 10 ms limit (error 1102). Workers Paid is a $5.00 monthly minimum with 10,000,000 requests and 30,000,000 CPU milliseconds that reset on the subscription renewal date, not at midnight UTC.
FlareCost: an idle Workers Paid account still pays the $5 monthly minimum
FlareCost’s paid-minimum-only scenario (reviewed 2026-11-02) models no requests, storage or queues and still totals $5.00 on Paid and $0.00 on Free. The $5 is an account minimum, not a per-Worker or per-product fee, is not waived for a small project, and included usage sits inside it rather than adding a second charge.
FlareCost: on Standard pricing, a service binding is one request plus the CPU of both Workers
FlareCost’s service-bindings page (reviewed 2026-11-02) says that on Standard pricing, a Worker calling another Worker through a service binding is billed as one request plus the CPU of both. Legacy Bundled and Unbound plans also bill the incoming service-binding request. Splitting a codebase into two Workers therefore does not double the request line on Standard, but CPU is summed.
FlareCost: Pages Functions share the Workers request and CPU meters, including the $5 minimum
FlareCost’s pages-functions page (reviewed 2026-11-02) says Functions share the Workers request and CPU meters. A Free account splits 100,000 daily requests between Workers and Functions; static asset requests stay free. Paid Functions use the same Standard rates and the same $5 minimum. The Pages pricing page treats a request as static when it does not invoke a Function.
FlareCost: R2 Class A mutates, Class B reads, and deletes are free; unauthorized 401s are not billed
FlareCost’s r2-operation-classes page (reviewed 2026-11-02) splits R2 operations into Class A (ListBuckets, PutBucket, ListObjects, PutObject, CopyObject, multipart create/upload/complete, and bucket CORS, encryption and lifecycle writes) and Class B (HeadBucket, HeadObject, GetObject, UsageSummary, and getters for encryption, location, CORS and lifecycle). DeleteObject, DeleteBucket and AbortMultipartUpload are free. Unauthorized 401 responses are not billed. After the free tier, Standard Class A is $4.50 per million and Class B is $0.36 per million, rounded up.
FlareCost: the calculator only prices Workers, KV, D1, R2, Durable Objects and Queues
FlareCost’s calculator-leaves-out page (reviewed 2026-11-02) lists what its total omits: Hyperdrive queries, Workers Logs / Logpush, Vectorize, Containers, Workflows, Images, and registrar or zone plans. Logs today are 200,000 events a day on Free, and 20 million a month plus $0.60 per million on Paid, kept 3 or 7 days; from 1 December 2026 they move to Observability pricing, and those future rates were not copied. Extra D1 databases and R2 buckets above 100,000 each cost $0.10 per month and are also outside the total.
FlareCost: Cloudflare Containers bill provisioned memory and disk, active vCPU and regional egress
FlareCost’s cloudflare-containers-pricing page (reviewed 2026-11-02) says Containers are not treated as available on the Free plan (memory and CPU marked N/A, disk empty). On Workers Paid, included amounts are part of the $5 plan: 25 GiB-hours of memory then $0.0000025 per extra GiB-second, 375 vCPU-minutes then $0.000020 per extra vCPU-second, and 200 GB-hours of disk then $0.00000007 per extra GB-second. Charges are metered every 10 ms while the instance is actively running, starting when a request reaches the container or someone starts it, and stopping after it goes to sleep. Memory and disk follow the provisioned instance type; CPU follows active use only.
FlareCost: a Durable Object alarm() is a request plus duration; setAlarm() is storage, not a second request
FlareCost’s durable-object-alarms page (reviewed 2026-11-02) says an alarm() invocation counts as a Durable Object request, and duration is billed for the wall-clock time that handler runs. setAlarm() is not a second request: on the SQLite backend it is one row written; on the key-value backend it is one write request unit. Pricing examples treat the allocation as 128 MB / 1 GB, so one second of duration is 0.128 GB-s. An idle object that can hibernate is not billed for the gap between alarms. The handler is at-least-once and a thrown handler is retried up to 6 times, each run another request and more duration. One object holds one alarm; the Workers limits page caps an alarm handler at 15 minutes of wall time (900 × 0.128 = 115.2 GB-s).
FlareCost: D1 databases: 10 on Free, 100,000 included
FlareCost’s d1-database-count page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 10 databases. Paid plan: 1,000,000 databases per account. The first 100,000 are included. Each database above that costs $0.10 per month, even when it is empty. A single Worker can bind on the order of 5,000 D1 databases, excluding environment variables, because of the script metadata limit. The $0.10 is per database per month, on top of rows and storage. The calculator does not add that line.
FlareCost: Cloudflare D1 database size: 500 MB Free, 10 GB Paid
FlareCost’s d1-database-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 500 MB per database, and 5 GB for the whole account. Paid plan: 10 GB per database. Account storage in the limits table is 1 TB, separate from the 5 GB included before the $0.75/GB-month charge. Hitting the per-database cap returns `Exceeded maximum DB size.` The billing storage meter is account-wide GB-month, not the per-database cap.
FlareCost: Cloudflare D1 queries per Worker invocation
FlareCost’s d1-queries-per-invocation page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 50 queries per invocation. Paid plan: 1,000 queries per invocation. A `db.batch()` counts as one query against this limit, even if it contains many statements. Issuing 2,000 individual queries fails with `Too many API requests by single Worker invocation`. The batch still reads and writes the rows inside it. The invocation limit is not a billing discount.
FlareCost: Cloudflare D1 query duration
FlareCost’s d1-query-duration page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 30 seconds, because the HTTP API itself must finish in 30 seconds. Paid plan: 30 seconds. A single statement that updates hundreds of thousands of rows can exceed execution limits. The docs say to batch work, for example 1,000 rows at a time. Time spent inside D1 still sits inside the Worker CPU and memory limits.
FlareCost: Cloudflare D1 rows-read allowance
FlareCost’s d1-rows-read-allowance page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 5 million rows read per day, reset at 00:00 UTC. Queries fail after that. Paid plan: First 25 billion rows a month included, then $0.001 per million. A full scan counts every row. The official example is `SELECT * FROM table` on 5,000 rows counting as 5,000 reads. Paid reads are prorated. One billion rows past the allowance cost $1.
FlareCost: Cloudflare D1 Time Travel retention
FlareCost’s d1-time-travel page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 7 days, and at most 10 restores per 10 minutes per database. Paid plan: 30 days, with the same restore rate limit. Time Travel is point-in-time recovery. It is not the undelete API. As of 23 October 2026, undelete only accepts databases deleted in the last 7 days. The pricing table does not list a separate Time Travel fee.
FlareCost: How many Durable Object classes an account can have on Cloudflare
FlareCost’s durable-object-classes page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 100 classes. Only the SQLite backend can be created. Paid plan: 500 classes. New classes should use SQLite. The key-value backend remains only for accounts that already have one. The number of individual objects is unlimited. Each object is single-threaded and has a soft limit around 1,000 requests per second. Class count is not a fee. Requests, duration, and storage are the meters.
FlareCost: Cloudflare Durable Object storage per object
FlareCost’s durable-object-storage-per-object page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: Pricing: 5 GB total. Limits table: 10 GB per SQLite object, while the SQLITE_FULL section says 1 GB on Free. Account total on the limits page is also 5 GB. Paid plan: Pricing: 5 GB-month included, then $0.20/GB-month. Limits: 10 GB per SQLite object. Paid account storage for SQLite is described as unlimited. When the object is full, writes throw `database or disk is full: SQLITE_FULL`. Reads and deletes still work. The calculator's Free storage warning uses the 5 GB pricing allowance and says the per-object sentences disagree.
FlareCost: Cloudflare error 1027: 100,000 requests/day
FlareCost’s error-1027 page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: The limits page says the daily request limit resets at midnight UTC and the response is error 1027. Paid plan: Paid does not use this cap. Extra requests are billed at $0.30 per million. A month that averages under 100,000 a day can still throw 1027 on one busy UTC day. 1027 is a failure, not an invoice.
FlareCost: Cloudflare Workers error 1102
FlareCost’s error-1102 page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: On the Free plan the usual cause is more than 10 ms of CPU. Paid plan: On Paid, 1102 means the invocation passed its CPU limit (default 30 seconds, max 5 minutes) or the memory limit. Both are documented as 1102. The errors page says 1102 is the CPU time limit. The limits page also returns 1102 for memory. Read both before you only look at CPU. Raising cpu_ms on Paid can trade a 1102 for a real CPU charge if the work is actually expensive.
FlareCost: Cloudflare KV cache TTL minimum
FlareCost’s kv-cache-ttl page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: cacheTtl cannot be below 30 seconds. Paid plan: 30 seconds. A read can still be served from cache inside that window. That does not remove the read from the KV bill when the read is performed. Cache TTL is not a discount published on the pricing page.
FlareCost: Cloudflare KV write limits
FlareCost’s kv-daily-writes page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 1,000 writes per day to different keys. One write per second to the same key. Paid plan: No daily write cap on the limits page. One write per second to the same key still applies. Pricing includes 1 million writes a month, then $5 per million. Deletes and list requests have the same Free daily cap of 1,000 and the same Paid price as writes. A write-heavy KV namespace gets expensive faster than a read-heavy one.
FlareCost: Cloudflare KV key size
FlareCost’s kv-key-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 512 bytes. Metadata up to 1,024 bytes. Paid plan: 512 bytes. Metadata up to 1,024 bytes. The key limit is the same on Free and Paid. Keys per namespace are unlimited on the KV limits table. Key size does not change the per-key read or write price.
FlareCost: Cloudflare KV storage limits
FlareCost’s kv-storage page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 1 GB per account and per namespace. Paid plan: The limits page says unlimited storage. Pricing includes 1 GB and then charges $0.50 per GB-month. There are 1,000 namespaces per account on both plans in the limits table. The calculator uses the pricing page for dollars and the 1 GB Free cap as a hard stop.
FlareCost: Cloudflare KV value size
FlareCost’s kv-value-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 25 MiB. Paid plan: 25 MiB. A value can be large, but you still pay one read or one write per key. Bulk reads are billed by the number of keys. Do not use KV as a cheap object store. R2 is the object meter, and its price is per GB and per operation class.
FlareCost: Cloudflare Queues backlog size
FlareCost’s queues-backlog page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 25 GB. send fails with Storage Limit Exceeded at the cap. Paid plan: 25 GB. An account can have 10,000 queues. Consumer invocations are limited to 250 concurrent for push consumers, with 15 minutes of wall time. Backlog is a hard stop, not a storage line in the public price table.
FlareCost: Cloudflare Queues throughput
FlareCost’s queues-throughput page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 5,000 messages per second. Above that, send and sendBatch throw Too Many Requests. Paid plan: The same throughput limit. A batch can hold 100 messages, or 256 KB total. The maximum batch wait is 60 seconds. Throughput errors are not an overage charge. They are a failed send.
FlareCost: Cloudflare R2 bucket limits
FlareCost’s r2-buckets page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: Default limit of 100,000 buckets. Each bucket above that is $0.10 per month, on any Workers plan. 50 bucket-management operations per second per bucket. 100 custom domains per bucket. Paid plan: The same bucket allowance. Object storage per bucket is unlimited on the limits page. Object keys can be 1,024 bytes. Object metadata can be 8,192 bytes. The $0.10 is per bucket per month, separate from stored GB and operations. The calculator does not add that line.
FlareCost: Cloudflare r2.dev public bucket rate limit
FlareCost’s r2-dev-subdomain page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: Hundreds of requests per second can be throttled with HTTP 429. Throughput can be throttled too. Paid plan: The same warning. Production traffic should use a custom domain. The docs describe the threshold as hundreds of requests per second and say it is variable. There is no single published number. A custom domain is how you leave the test endpoint. It does not by itself add a Worker request charge.
FlareCost: Cloudflare R2 free tier
FlareCost’s r2-free-tier page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: That monthly allowance. Egress is free. Infrequent Access is excluded. Paid plan: The same Standard allowance. Workers Paid does not replace it and does not remove it. Operations and GB-month above the allowance round up to the next billing unit before the rate applies. Class A above the million is $4.50 per million on Standard. Class B above 10 million is $0.36 per million. Storage above 10 GB is $0.015 per GB-month.
FlareCost: Cloudflare R2 object size limit
FlareCost’s r2-object-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 4.995 TiB per object. Paid plan: 4.995 TiB per object. A single upload or part is 5 GiB minus 5 MiB (4.995 GiB). Multipart can reach the object maximum, with up to 10,000 parts. Object size is not the billing unit. Billing is GB-month plus operation class. A GB on the pricing page is decimal.
FlareCost: Cloudflare R2 writes to the same key
FlareCost’s r2-same-key-writes page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: Faster concurrent writes return HTTP 429. Paid plan: The same 1 per second limit. This limit does not apply to reads. It is about concurrent writers on one key. A 429 from an unauthorized caller is not billed. A successful write is a Class A operation.
FlareCost: Simultaneous outgoing connections on Cloudflare
FlareCost’s workers-connections page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 6. Paid plan: 6. The same cap applies inside a Durable Object request. A Worker, and a Worker talking to D1, can hold six simultaneous outgoing connections per invocation. This is not a billed meter.
FlareCost: Cloudflare Workers daily request limit
FlareCost’s workers-daily-requests page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 100,000 per day. The limit resets at midnight UTC. Error 1027 when it is exceeded. Paid plan: No hard request cap. 10 million a month are included, then $0.30 per million. The Free cap is per account per UTC day, shared by Workers and Pages Functions. It is not 100,000 per script and it is not a monthly pool. Paid overage is prorated. Do not round the request line up to the next million.
FlareCost: Cloudflare Workers environment variable limits
FlareCost’s workers-environment-variables page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 64 variables per Worker, 5 KB each. Paid plan: 128 variables per Worker, 5 KB each. Secrets and text variables share the count. There is no account-wide variable count on the limits table. Variables are not a usage charge. Do not put API keys in wrangler vars; use secrets.
FlareCost: Cloudflare Worker log size per request
FlareCost’s workers-log-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 256 KB. Paid plan: 256 KB. The cap covers console output, exceptions, request metadata, and headers. Past it, later context for that request is dropped. Log size is not the Workers Logs billing meter. That meter is counted separately.
Independent. Unofficial. Source-first.