# Control plane costs

You pay Cloudflare for what your control plane uses. At list prices, a
cluster of a few idle nodes costs cents a month. The figures are for an account
on Cloudflare's [Workers Paid plan](#workers-paid-plan). They leave out the
plan's fee, and do not subtract the usage that it includes.

## Monthly cost by node count

<p>
  Each figure is a cluster of idle nodes with no pods and no reconnects, at list prices, before the
  Workers Paid allowances.
</p>
<div class="kite-cost-examples">
  <section class="kite-cost-card">
    <h3>3 nodes</h3>
    <dl>
      <div>
        <dt>Usage / month</dt>
        <dd>$0.54</dd>
      </div>
    </dl>
  </section>
  <section class="kite-cost-card">
    <h3>10 nodes</h3>
    <dl>
      <div>
        <dt>Usage / month</dt>
        <dd>$0.90</dd>
      </div>
    </dl>
  </section>
  <section class="kite-cost-card">
    <h3>100 nodes</h3>
    <dl>
      <div>
        <dt>Usage / month</dt>
        <dd>$4.43</dd>
      </div>
    </dl>
  </section>
  <section class="kite-cost-card">
    <h3>1,000 nodes</h3>
    <dl>
      <div>
        <dt>Usage / month</dt>
        <dd>$21.57</dd>
      </div>
    </dl>
  </section>
</div>

<div class="plots one">
(a plot of measured values, drawn at https://runkite.io/docs/cost/)
</div>

## What the figures leave out

You pay separately for hosts, storage, egress and domains. Your workloads also
add control plane usage: Deployments, watches, `kubectl exec`, logs and node
pools.

:::caution
A request to a node that does not respond is billed until it times out.
:::

## What you pay for

| Usage                        | How it grows                                                                |
| ---------------------------- | --------------------------------------------------------------------------- |
| Node reports                 | Durable Object requests in proportion to the node count                     |
| Relays (replicas)            | Two requests every 10 seconds for each relay that holds a node's connection |
| Scheduled control plane work | A few row writes a minute, whatever the node count                          |
| Joins                        | A burst of row writes after a batch of joins                                |

## Reconnects

A node reconnects when Kite is deployed to your cluster, and when its network drops its connection. A thousand reconnects cost about $0.025. If each of 1,000 nodes reconnects once an hour, that adds $17.94 a month.

## Workers Paid plan

Workers Paid costs $5.00/month per account, not per cluster. Its included usage is shared across the account's clusters and applications.

Each node adds about 118,198 Durable Object requests a month. A cluster of 3 nodes uses about 2,408,400, more than the 1,000,000 that Workers Paid includes for the account, so each node adds $0.018 a month. Durable Object duration and rows written stay inside the plan's allowances at every node count above.

| Service                    | Included per account per month | Rate above the allowance |
| -------------------------- | ------------------------------ | ------------------------ |
| Worker requests            | 10 million                     | $0.30 per million        |
| Worker CPU                 | 30 million CPU ms              | $0.02 per million CPU ms |
| Durable Object requests    | 1 million                      | $0.15 per million        |
| Durable Object duration    | 400,000 GB-s                   | $12.50 per million GB-s  |
| Durable Object SQL reads   | 25 billion rows                | $0.001 per million rows  |
| Durable Object SQL writes  | 50 million rows                | $1.00 per million rows   |
| Durable Object SQL storage | 5 GB-month                     | $0.20 per GB-month       |

Rates are from Cloudflare's [Workers pricing](https://developers.cloudflare.com/workers/platform/pricing/)
and [Durable Objects pricing](https://developers.cloudflare.com/durable-objects/platform/pricing/).

## Compare managed Kubernetes

| Service                                                                                   | Cost basis                                              | 30-day amount |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------: |
| Kite, 3 nodes                                                                             | Measured Cloudflare usage at list prices                |         $0.54 |
| [Amazon EKS](https://aws.amazon.com/eks/pricing/)                                         | $0.10/cluster-hour; standard Kubernetes version support |        $72.00 |
| [GKE](https://cloud.google.com/kubernetes-engine/pricing), one zonal or Autopilot cluster | $0.10/cluster-hour, less the $74.40 monthly credit      |         $0.00 |
| [GKE](https://cloud.google.com/kubernetes-engine/pricing), regional cluster               | $0.10/cluster-hour                                      |        $72.00 |

The table compares control plane fees only. GKE's credit is per billing
account. Before you move a workload, check
[compatibility and limitations](/docs/reference/compatibility/).

## Load balancer costs

| Platform | What exposes HTTP                                                                                                                                                                                             | Cost                                                                                                                                                  |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Kite     | A [Cloudflare Tunnel](https://blog.cloudflare.com/tunnel-for-everyone/), one for each IngressClass, for an HTTP Ingress or one HTTP port of a LoadBalancer Service. Its `cloudflared` pods run on your nodes. | Free                                                                                                                                                  |
| EKS      | [An Application Load Balancer for each Ingress](https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/ingress/annotations/#ingressgroup), by default                                    | [$0.0225 an hour](https://aws.amazon.com/elasticloadbalancing/pricing/) plus capacity units                                                           |
| GKE      | Forwarding rules                                                                                                                                                                                              | [$0.025 an hour for the first five together, and $0.01 an hour for each one after](https://cloud.google.com/vpc/network-pricing), plus data processed |

## A copy in a bucket

A cluster on Cloudflare can [keep a copy](/docs/configure/#keep-a-copy-of-the-cluster)
in an S3 or R2 bucket. Each upload is one write and one read to the bucket, at
the prices in [Self-hosted](#self-hosted).

| Copy                                                              | Uploads a month    | S3 Standard       | R2                |
| ----------------------------------------------------------------- | ------------------ | ----------------- | ----------------- |
| A cluster that writes all the time, at most four uploads a second | Up to 10.4 million | Up to $56 / month | Up to $42 / month |
| `KITE_COPY_SPACING_MS=1000`, at most one upload a second          | Up to 2.6 million  | Up to $14 / month | Up to $7 / month  |

## Self-hosted

A cluster on [your own servers](/docs/deploy-servers/) costs nothing on
Cloudflare. If you set `KITE_COPY`, the server keeps a copy of the cluster in an
S3 or R2 bucket, and you pay for each request to the bucket. If you set
`KITE_DATABASE` to store the cluster in Postgres, the cluster costs what the
database costs.

S3 Standard in us-east-1 charges $0.005 per 1,000 writes and $0.0004 per 1,000
reads. R2 charges $4.50 per million writes and $0.36 per million reads, after 1
million writes and 10 million reads free each month.

| Request                         | How often                                                                       | How many a month           | S3 Standard       | R2                |
| ------------------------------- | ------------------------------------------------------------------------------- | -------------------------- | ----------------- | ----------------- |
| Manifest reads                  | Every 10 seconds, from each server                                              | 259,000 reads per server   | $0.10 / month     | Free              |
| Lease renewals                  | Every third of `KITE_COPY_LEASE`: every 10 seconds at its default of 30 seconds | 259,000 writes             | $1.30 / month     | Free              |
| Uploads                         | At most once a second while the cluster changes, one write and one read each    | Up to 2.6 million of each  | Up to $14 / month | Up to $7 / month  |
| Uploads with `KITE_COPY_SYNC=1` | At most four times a second, or once per `KITE_COPY_SPACING_MS`                 | Up to 10.4 million of each | Up to $56 / month | Up to $42 / month |

R2's free requests are per account, so the other buckets in the account share
them. The bucket also stores the copy itself: a snapshot of the cluster and the
changes after that snapshot. S3 and R2 bill storage by the GB-month, and R2's first 10 GB are
free.
