AmbersightWarnings for Cloudflare Workers

GuideChecked against Cloudflare's docs

Cloudflare Workers Free plan limits

The Workers Free plan gives each Cloudflare account 100,000 Worker requests a day and 10 ms of CPU time per request, with daily limits for KV, D1, Durable Objects, Queues, Workflows and Workers AI. Most daily limits reset at 00:00 UTC.

Ambersight is a free, open-source Worker you deploy in your own Cloudflare account. Every hour it reads your usage with a read-only API token and warns you at 70% and again at 90% of each daily limit, with the time you will hit it.

Daily limits

Each daily limit is counted for the whole account. Spreading the work over several Workers does not help. Past a limit, calls of that kind fail until the count resets. Requests past the first limit return error 1027, explained on the error 1027 page. The others fail inside your code.

Workers Free daily limits and the checks that watch them
LimitWorkers Free allowsPast the limitAmbersight check
Worker requests100,000 a day, all Workers, Pages Functions and Workflow executions togetherError 1027 on fail-closed routes; fail-open routes skip the Workerbudget:free-daily-requestsWarning at 70%critical at 90%
D1 rows read5 million a dayQueries fail with an errorbudget:free-daily-d1-rows-readWarning at 70%critical at 90%
D1 rows written100,000 a dayQueries fail with an errorbudget:free-daily-d1-rows-writtenWarning at 70%critical at 90%
KV reads100,000 a dayFurther reads fail with an errorbudget:free-daily-kv-readsWarning at 70%critical at 90%
KV writes1,000 a day (to different keys)Further writes fail with an errorbudget:free-daily-kv-writesWarning at 70%critical at 90%
KV deletes1,000 a dayFurther deletes fail with an errorbudget:free-daily-kv-deletesWarning at 70%critical at 90%
KV list requests1,000 a dayFurther lists fail with an errorbudget:free-daily-kv-listsWarning at 70%critical at 90%
Durable Object requests100,000 a dayFurther requests fail with an errorbudget:free-daily-do-requestsWarning at 70%critical at 90%
Queue operations10,000 a dayNot stated in Cloudflare's docsbudget:free-daily-queue-opsWarning at 70%critical at 90%
Workflow steps3,000 a dayNot stated in Cloudflare's docsbudget:free-daily-workflow-stepsWarning at 70%critical at 90%
Workers AI10,000 Neurons a dayFurther operations fail with an errorbudget:free-daily-ai-neuronsWarning at 70%critical at 90%
Logs ingested (from 1 December 2026)0.5 GB a dayNew logs are not stored until 00:00 UTCusage:logs-free-allowanceInfo at 70%warning above the allowance

The Workers AI check runs on Workers Paid too, as info once the free 10,000 Neurons are used, because the rest is billed. The others are hidden on Workers Paid, where these products bill past their monthly allowance instead of stopping.

Limits and storageDemo fleet

Limits and storage for the Bloom Free plan account: requests, D1 rows and KV operations per day against their free daily limits, and the bloom-db D1 database reaching its 500 MB cap around December 15, 2026.
A Free account in the dashboard: how close each daily limit runs, and the date its D1 database reaches 500 MB.

Per-request limits

These apply to every single invocation, not to the day. A Worker can be well inside its daily requests and still fail on CPU time. Time spent waiting on fetch(), KV or a database does not count as CPU time.

Workers Free per-request limits and the checks that watch them
LimitWorkers Free allowsPast the limitAmbersight check
CPU time10 ms per requestError 1102, Worker exceeded resource limitserrors:cpu-near-limitInfo when p99 CPU reaches 80% of 10 ms
CPU or memory limit hit10 ms CPU, 128 MB memory per isolateError 1102errors:resource-limitWarning on any invocation over a limit in 24 hours
Subrequests50 per request, 1,000 to Cloudflare servicesFurther subrequests failerrors:subrequests-near-limitWarning at 40 or more on average over 24 hours
CPU time of a Cron Trigger10 ms per runExecution is terminatedcron:cron-cpu-near-limitWarning at 80% of the limit

Ambersight sees only the average number of subrequests per invocation. When the average is 40, some invocations are probably over 50 already.

Storage and account limits

Ambersight reads storage sizes once a day with its inventory. A full D1 database rejects writes. Past 10 GB, R2 is billed rather than blocked.

Workers Free storage and account limits and the checks that watch them
LimitWorkers Free allowsPast the limitAmbersight check
Cron Triggers5 per accountNo more can be addedcron:cron-countInfo at 4warning at 5
D1 database size500 MB per databaseWrites are rejected until data is deletedbudget:storage-d1-dbWarning at 80%critical at 95%
D1 storage5 GB per accountWrites are rejected until data is deletedbudget:storage-d1-accountWarning at 80%critical at 95%
KV storage1 GB per accountNot stated in Cloudflare's docsbudget:storage-kv-accountWarning at 80%critical at 95%
Durable Object storage5 GB per accountNot stated for the account totalbudget:storage-do-accountWarning at 80%critical at 95%
R2 storage10 GB-month free each monthBilled, not blockedbudget:storage-r2-accountWarning at 80%
Environment variables and secrets64 per WorkerNo more can be addeddrift:vars-near-limitInfo at 58warning at 64

Limits Ambersight does not watch

A few Workers Free limits have no check. Keep an eye on them yourself:

  • Durable Object duration: 13,000 GB-s a day.
  • Workers per account: 100.
  • D1 databases per account: 10.
  • Worker size: 64 MiB uncompressed, and 1 second of startup time.
  • Static asset files: 20,000 per Worker version, 25 MiB each.

How the warnings work

After each scan, every daily check compares the account's usage so far today with its limit. At 70% it raises a warning and projects the time you will run out at today's pace, or says you should stay under it. At 90% the finding turns critical, and by default critical findings are e-mailed right away. Both lines are settings: budgetWarn (0.7) and budgetCritical (0.9).

The numbers come from the GraphQL queries Ambersight already makes, so most of these checks cost no extra API calls. Scans run every hour by default. With 30 Workers, Ambersight uses well under 1% of the daily requests and 1 of the 5 Cron Triggers, so it does not become the limit it warns about.

The full list, with every threshold and fix, is on the checks page.

Sources

Every Cloudflare limit, price and error code on this page comes from Cloudflare's documentation, read on . Cloudflare changes these pages. When a number here and Cloudflare's page disagree, Cloudflare's page is right.

Cloudflare pageUsed forPage updated
Workers: LimitsRequests, CPU time, memory, subrequests, Cron Triggers, environment variables, error 1027 and 1102
Workers: PricingFree plan requests and CPU time; static assets are free
Pages Functions: PricingPages Functions share the 100,000 daily requests
D1: PricingRows read and written per day, 5 GB storage, what happens past a limit
D1: Limits500 MB per database, 10 databases
Workers KV: PricingReads, writes, deletes and lists per day, 1 GB storage
Durable Objects: PricingRequests and duration per day, rows read and written
Durable Objects: Limits5 GB storage per account; writes fail at the storage limit
Queues: Pricing10,000 operations a day
Workflows: Pricing3,000 steps a day; executions share the Workers requests
Workers AI: Pricing10,000 Neurons a day
R2: Pricing10 GB-month of storage free each month
Observability: Pricing0.5 GB of logs a day on Free from 1 December 2026

Read next

  • All 83 checks

    Every check Ambersight runs, with its ID, severity, threshold and fix.

  • Error 1027

    What Cloudflare error 1027 means on Workers Free, who it stops and how to see it coming.

  • The Workers Paid bill

    Runaway usage, idle Durable Object and Queue work, the estimated bill and Cloudflare's spending limit.

  • The warnings chart

    The home page: a demo fleet on the chart, how Ambersight works and how to install it.

Put your own Workers on the chart.

One Worker in your account, a read-only token and about 5 minutes. The first scan starts on its own.