Connect your account in two minutes. When a bug starts burning money on D1, KV, R2 or Durable Objects, SpendFuse cuts it off automatically and tells you exactly what went wrong.
Open-source agent · We never store your API token · Disconnect anytime
Why SpendFuse
Protected in three steps
When it happens, you'll see
Security by design
Trusting a third party with your billing is the whole problem. So SpendFuse's principle: we can only do the few things the agent allows.
At connect time the token passes through our server once to deploy the agent, then it's discarded. After that it lives only as an encrypted agent variable in your own Cloudflare account.
The agent only exposes read-only usage queries plus one write action: pausing and restoring a Worker's entry points. It can't even read your Worker source. Every request is signature-verified, or it's a 404.
The agent verifies upgrades against a hard-coded Ed25519 key and refuses anything unsigned — even a compromised server can't push malicious code.
Disconnecting in the dashboard deletes the agent; delete the API token in Cloudflare too and no access is left behind.
For developers
The SaaS detects in minutes; for second-level protection, add the open-source cfguard SDK to your Worker. Per-request hard caps plus global sliding windows — it trips on its own, no SaaS needed, and streams usage to the dashboard.
import { CostGuard, withGuard } from "cfguard";
export { CostGuard }; // Durable Object
const guard = (env: Env) => ({
bindings: { DB: "d1" }, // meter this binding
label: "my-blog",
windows: [
{ minutes: 5, maxUsd: 2 }, // trip when the window burns $2
{ minutes: 60, maxUsd: 10 },
],
// optional: stream usage to the SaaS dashboard in realtime
// telemetryUrl: "...", telemetryToken: "...",
// telemetrySecret: env.TELEMETRY_SECRET,
});
export default withGuard({ fetch: app.fetch }, guard);Pricing
FAQ
Official alerts only email you after the fact and take no action. SpendFuse actually cuts off the runaway Worker and restores it with one click.
No. Free only alerts; auto cut-off is a strong action that needs Pro — and you can set any Worker to alert-only.
No. The agent can only read usage numbers and pause or restore a Worker's entry points — it can't read your Worker source or your data. Our server uses your API token once and never stores it.
Install the open-source cfguard SDK in your Worker: it meters every request and trips in seconds, fully independent of the SaaS, and streams usage to the dashboard.
Configs are backed up before every cut-off and restored with one click; you can also start core Workers on alert-only and enable auto cut-off later.