Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How I keep Cloudflare under $5 (and what quietly runs up your bill)

Description and use

The article demonstrates that careful billing management and architectural optimizations can keep Cloudflare usage within the $5 plan’s limits, preventing surprise charges.

Problem

Users on Cloudflare’s $5 Workers plan often receive surprise bills due to hidden costs in various Cloudflare products.

Outcome

The article demonstrates that careful billing management and architectural optimizations can keep Cloudflare usage within the $5 plan’s limits, preventing surprise charges.

Workflow

  • Turn on billing alerts
  • Serve static files as static assets
  • Cache responses that don’t change per user
  • Rate‑limit bots at the WAF
  • Count operations per request for Queues, KV and R2
  • Index the D1 columns you filter on
  • Keep KV writes out of hot paths
  • Let Durable Objects hibernate
  • Cache AI results and use the smallest model that works
  • Work out the Vectorize formula with your numbers before launch
  • Close browser sessions, and don’t use a browser when fetch will do
  • Delete unused Stream videos, and avoid generating Image sizes nobody uses

Evidence

Turn on billing notifications and usage alerts first. A runaway loop should show up as an email, not on your card statement.

Source

The Paid plan is $5/month and includes 10M requests and 30M CPU milliseconds. Beyond that, it's $0.30 per million requests and $0.02 per million CPU ms.

Source

Each message costs three operations: one write, one read, one delete. The Paid plan includes 1M operations a month, then it's $0.40 per million.

Source

The Paid plan includes 10M reads and 1M writes a month. After that, reads are $0.50 per million and writes are $5.00 per million.

Source

The free tier covers 10 GB of storage, 1M Class A operations and 10M Class B operations a month.

Source

You're billed for rows the query scans, not the rows it returns.

Source

Duration is billed at 128 MB per object, whether or not it uses that memory.

Source

Both Free and Paid include 10,000 Neurons a day. Beyond that, the Paid plan is $0.011 per 1,000 Neurons.

Source

Vectorize bills queried dimensions and stored dimensions. The docs give this formula for queries: ((queried vectors + stored vectors) × dimensions × $0.01 / 1,000,000)

Source

The Paid plan includes 10 browser hours a month, then $0.09 per additional hour.

Source

Stored minutes are $5 per 1,000, prepaid. Delivered minutes are $1 per 1,000.

Source

Images bills per unique transformation each month. The Paid plan includes 5,000, then $0.50 per 1,000.

Source

  • Record date: 2026-10-10T15:10:56.037Z