# Pause the runaway Worker. Keep the rest running.

workerfuse checks your Cloudflare spend every five minutes. When a Worker passes its limit, workerfuse pauses only that Worker and emails you. Resume it in one click.

Start your free trial[How it works](#how)

14 days free. No card needed. Then $5/month total.  
A safety net, not a billing cap. [See how fast it acts.](#timing)

**All Workers running**Last check 13:20

Hourly limit**$0.25**per Worker

13:0013:1513:3013:4514:00

Last hour

*   api-gateway$0.0373Running
*   ai-worker$0.0127Running
*   image-resizer$0.0090Running
*   cron-sync$0.0042Running

Every Worker is under its limit.

Example, sped up.

## Or let your agent set it up.

You sign up and create a scoped Cloudflare token. Your agent connects the account and checks the first report.

Any agentClaude CodeCodexCursorOpenCode

Give your agent this prompt. It walks you through signup.

Read https://workerfuse.com/install.md and set up workerfuse for my Cloudflare account.

Copy prompt

## A budget alert does not stop the loop.

Cloudflare budget alerts send one email for the whole account. [They do not pause or cap usage.](https://developers.cloudflare.com/billing/manage/budget-alerts/) One bad deploy can run all night, and you pay for every request.

An alarm that sets the next alarm

```
async alarm() {
```

A retry with no backoff

```
let res = await env.API.fetch(url);
```

An agent that never says done

```
let reply = await ask(env.AI, messages);
```

## Check, pause, alert, resume.

1.  ### Check
    
    Every five minutes, workerfuse reads the cost of each Worker for the last hour and since 00:00 UTC.
    
2.  ### Pause
    
    A Worker over its limit gets a stub version. Its requests get a 503. Its Durable Object storage stays.
    
3.  ### Alert
    
    You get an email with the cost, the limit, and a resume link.
    
4.  ### Resume
    
    Fix the bug or raise the limit. Then click Resume. workerfuse restores the version from before the pause.
    

From

workerfuse

Subject

**workerfuse paused ai-worker**

workerfuse: ai-worker used ~$0.3000 in the
last hour and ~$0.3410 today since its last
deploy (limits $0.25/h, $2/day)

Deployed stub version 8c1f…e20a. Every
handler now returns 503 or does nothing.
Durable Object storage is kept.

To resume:
  npx wrangler rollback 3b7e…91c4 \\
    --name ai-worker

Resume in the control plane:
  https://workerfuse.com/resume?token=…

Example pause email.

workerfuse

Up to 5 min to the next check1–3 min data lagPaused

Budget alert

One email. The Worker keeps running.

Time from the moment a Worker passes its limit. Worst case before a pause: about 8 minutes. A busy Durable Object can take about 5 more minutes to switch to the stub.

## A safety net, not a billing cap.

*   Estimates use list prices and ignore included allowances. They are high on purpose.
*   A fast spike can pass your limit before the next check.
*   A new Worker shows up in Cloudflare analytics after about 20–25 minutes. Until then, workerfuse can only alert.
*   workerfuse runs on Cloudflare. A Cloudflare outage stops it too.

## What it watches.

Cost from each resource counts against the Workers bound to it. A shared resource counts in full against each one.

### Pauses the Worker

*   Workers requests and CPU
*   Durable Objects
*   D1
*   KV
*   R2 operations
*   Queues
*   Workers AI
*   Browser Rendering
*   Workflows
*   Containers
*   Vectorize queries
*   Pipelines

### Sends an alert only

*   Stored data in R2, D1, KV, Durable Objects and Vectorize
*   AI Gateway spend at outside model providers
*   Usage of a new Worker, for its first 20–25 minutes

### Not covered

*   Images
*   Stream
*   Vectorize writes
*   Browser Rendering concurrent browsers
*   KV-backed Durable Object storage and Workflow state

## Set limits per account. Or ask your agent.

Change limits in the dashboard. The guard applies them on its next check, with no redeploy.

Setting

Default

Effect

Hourly limit

$0.25

Pause a Worker above this cost in the last hour.

Daily limit

$2

Pause a Worker above this cost since 00:00 UTC.

D1 rows per day

Off

Pause a Worker that reads more D1 rows than its cap.

Storage limit

$1/month

Alert once a day. Never pause.

Skip list

Empty

Workers that workerfuse never pauses.

Dry run

Off

Send the alert. Change nothing.

```
claude mcp add --transport http \
  workerfuse https://workerfuse.com/mcp
```

Tools: `list_accounts` `get_spend` `list_events` `set_limits` `pause_script` `resume_script` `connect_cloudflare_account`

## Run it in your account, or let us run it.

Both ways get the dashboard, email alerts, one-click resume, and MCP.

Self-hosted

Managed

Where checks run

A guard Worker in your account

On workerfuse

Your Cloudflare token

Stays in your account

Scoped, encrypted at rest, never shown again

Setup

Deploy the guard. Pair it with your API key.

Paste a scoped token. No deploy.

If your plan lapses

The guard keeps its own limits

Checks stop

## $5 per month, total

One subscription covers every Cloudflare account you connect. Each new account gets a 14-day free trial with no card. Cancel any time from the Billing page.

[Start your free trial](/signup)

Questions? [support@workerfuse.com](mailto:support@workerfuse.com)

What happens to a paused Worker?

workerfuse deploys a stub version of that Worker. Every handler returns 503 or does nothing. Durable Object storage is kept, and alarms stop. Workflow instances of that Worker are terminated. Your other Workers keep running.

How do I resume it?

Click Resume in the dashboard, or open the link in the alert email. The guard restores the version from before the pause on its next check, usually within five minutes. The email also has the wrangler rollback command.

Will my fix get paused for the old usage?

No. Only usage after the latest deploy counts. A fix or a rollback starts from zero.

Why are the estimates high?

workerfuse uses list prices and ignores included allowances. It is better to pause early than late. Do not read the numbers as your invoice.

I am on the Free plan. Do I need this?

Free plan products stop at their daily limits and do not charge. But one runaway Worker can use the account's daily D1 reads and break D1 for every other Worker. A D1 row cap pauses only that Worker. R2 also bills past its free tier on any plan.

Can I test my limits first?

Yes. Turn on dry run. workerfuse sends the alert and changes nothing.

What if I stop paying?

A self-hosted guard keeps running in free mode with its own limits. Managed guarding stops.

## Set a limit before you need one.

[Start your free trial](/signup)
