Engineering Analysis · Global
Cloudflare’s new log pricing: budget bytes, not events
Cloudflare’s December pricing change makes data volume a more useful starting point than event count. Here is what to measure first.
By Launchr Space ·
Two services can produce the same number of log events and have very different costs. One writes a small status record; the other serializes a large response. Under a volume-based model, that difference starts to matter directly. Cloudflare announced that unified pricing for ingested and stored logs and traces would begin December 1, 2026, with Enterprise customers moving at renewal. This is a good time to measure your own telemetry before changing sampling or retention.
Separate ingestion, retention, and export
Start with an inventory by service and environment. Compare Workers, tracing, and any other datasets separately, then note how long each is retained and where it is exported. For budgeting, use the account’s actual measured usage and billing period, not a raw application counter or the size of a compressed sample. Keep exports out of the ingestion estimate unless your billing view explicitly puts them together. The immediate goal is to find the dataset whose growth needs attention.
Look at the bulky records first
Take a small representative sample and rank the largest records by event kind. Unbounded response snippets and repeated context are often more useful to fix than reducing every request’s sample rate. Replace unnecessary bodies with a stable operation name, status, duration and a correlation identifier where appropriate. Redact sensitive fields at the producer. Confirm that a person can still trace a genuine staged failure without restoring the fields you removed.
Protect the logs an on-call engineer needs
Cloudflare documents head-based sampling for Worker requests. Sampling can omit uncommon failures and change what a retained-log alert observes. Pick a critical workflow, record one week of baseline volume and alert coverage, and change a single setting in a non-production environment before rolling out. Exercise a representative failure and verify that the expected alert and investigation trail still exist. Recheck with Finance after the first billing cycle rather than assuming an extrapolation is an invoice. Assign an owner to recheck the account meter after release.