# What it costs on Cloudflare

Self-hosted FlarePanel runs on your Cloudflare account, so you pay Cloudflare for what it uses. For most sites that is the $5 Workers Paid plan and little or nothing more\: one project with 1 million events a month comes to about **$5.15**, and 10 million to about **$7**.

The figures below use Cloudflare's published prices as of December 2026. Check the current [Workers](https\://developers.cloudflare.com/workers/platform/pricing/), [Durable Objects](https\://developers.cloudflare.com/durable-objects/platform/pricing/) and [R2](https\://developers.cloudflare.com/r2/pricing/) pricing pages before you rely on them.

## Why the Workers Paid plan

The API bundle is about 4.6 MB compressed, above the Workers Free plan's 3 MB limit, so self-hosting needs Workers Paid ($5 a month per account). The plan's included usage covers most of what FlarePanel does.

## What one event uses

| Resource | Per event | Included in Workers Paid each month | Then |
|---|---|---|---|
| Worker requests | 1 | 10 million | $0.30 per million |
| Worker CPU time | About 1 ms on a warm request | 30 million ms | $0.02 per million ms |
| Durable Object requests | 1 | 1 million | $0.15 per million |
| Durable Object rows written | Under 1\: events are written in batches | 50 million | $1.00 per million |
| Durable Object duration | See below | 400,000 GB-s | $12.50 per million GB-s |

The CPU figure comes from sampling our own production API\: a warm tracking request used about 1 ms of CPU, and the first request after a cold start about 60 ms. The examples below assume 5 ms on average to leave room.

**Duration** is the time a project's Durable Object stays in memory. A project with no traffic costs nothing\: once its sessions end, no alarm runs and the object sleeps. Even a project busy enough that its object never sleeps uses at most 2,592,000 seconds × 128 MB = 331,776 GB-s in a 30-day month, inside the 400,000 included. Each further project that busy can add up to about $4.15. Cloudflare bills duration above the included amount in steps of 1 million GB-s, which is $12.50 a step.

**Background jobs** run from a Cron Trigger every minute (about 43,000 runs a month) and Cloudflare Queues. On a typical install they stay within the included amounts.

## Worked examples

One project, events sent from browsers, a 30-day month, 5 ms of CPU per request\:

| | 1 million events | 10 million events |
|---|---|---|
| Workers Paid plan | $5.00 | $5.00 |
| Worker requests | $0 (inside 10 million) | About $0.02 |
| Worker CPU (5 million / 50 million ms) | $0 | $0.40 |
| Durable Object requests | About $0.15 | About $1.50 |
| Durable Object duration | $0 | $0 |
| Rows written | $0 | $0 |
| **Total** | **About $5.15** | **About $7** |

Beyond that, each extra million events adds roughly $0.30 for Worker requests, $0.10 for CPU and $0.15 for Durable Object requests\: **about $0.55 per million**, plus storage.

## Storage

* **Durable Object storage** keeps recent events, compressed, for 90 days by default (`FLAREPANEL_EVENT_RETENTION_DAYS`). 5 GB-month is included, then $0.20 per GB-month.
* **R2** keeps the full raw archive, one file per project and hour (about 720 writes a month per project). 10 GB-month and 1 million writes are included, then $0.015 per GB-month and $4.50 per million writes. R2 has no egress fees.
* **D1** holds accounts, projects and settings. That is small and well inside the included amounts.
* **Session replay**, if you turn it on, adds about 30 R2 writes for a 5-minute session. Set a monthly cap with `FLAREPANEL_REPLAY_MONTHLY_SESSIONS` ([Deploy](/self-hosting/deploy)).

## Keep the bill predictable

* Set a [spending limit](https\://developers.cloudflare.com/workers/platform/spend-management/) or an email alert for Workers and Durable Objects in your Cloudflare account. A limit stops traffic when it is reached, so most installs are better served by an alert.
* Set per-Worker CPU limits under **Workers & Pages → your Worker → Settings**.
* Lower `FLAREPANEL_EVENT_RETENTION_DAYS` if Durable Object storage grows. R2 still keeps everything.

AI features run on your own OpenAI or Anthropic key, added under **Workspace settings → AI provider key**, so their cost is on that provider's bill. See [AI features and your own key](/features/ai-keys).

## Not running it yourself

FlarePanel Cloud runs the same code for you, from $1 a month for 5,000 events, with every feature on every plan. See [flarepanel.dev/pricing](https\://flarepanel.dev/pricing).
