# Plans and billing

Free, Launch, Scale, Dedicated and Enterprise, what each includes, how usage and node-hours are billed, spending limits, invoices and failed payments.

KeelDB has five plans. **Free**, **Launch** and **Scale** run on the elastic pool of shared servers and scale with your load; **Scale** adds a full vCPU per CU, up to 30 days of history, metrics and logs export and an uptime SLA. **Dedicated** gives each database its own servers, billed by the hour with each node never more than its monthly node price, and extra storage, backup storage and egress on top (when our cloud account limits are full, a new Dedicated database can start on [reserved capacity](#reserved-capacity) on a shared server until its own servers are ready). **Enterprise** is a contract for anything bigger. Prices are in US dollars and exclude tax.

| | Free | Launch | Scale | Dedicated | Enterprise |
| --- | --- | --- | --- | --- | --- |
| For | Learning, prototypes, side projects | Apps that want autoscaling and scale to zero, paying for what they use | Production on the elastic pool: guaranteed vCPU, longer history, observability export and an uptime SLA | Production: your own servers, guaranteed resources, high availability across data centers where it is offered | Above 192 GB of RAM or 2 TB, a custom SLA, invoicing |
| Runs on | Shared servers | The elastic pool | The elastic pool (US East) | Its own virtual servers, created for it and destroyed when you delete it (or reserved capacity on a shared server until they are ready) | Dedicated, sized by contract |
| Price | $0, no card | From $5 a month, which counts toward usage and covers up to 35 GB of egress | $0.15 per CU-hour, one $5 minimum with Launch | From $51 a month per node, billed per hour | Talk to us |
| Compute | Autoscaling 0.25 to 2 CU | Autoscaling in your range, up to 16 CU as the elastic pool has room (4 before your first paid invoice) | Autoscaling in your range, up to 16 CU as the elastic pool has room, a full vCPU guaranteed per CU (4 before your first paid invoice) | A fixed size, 1 to 48 vCPU and 2 to 192 GB RAM | By contract |
| Scale to zero | Always, after 5 idle minutes | After 5 idle minutes by default, adjustable or off | From 1 minute to never | No, always on | No |
| Storage | 1 GB per database | Pay per GB, up to 100 GB per database (lower while a smaller cloud server is part of our shared fleet, as the console and the [pricing page](/pricing) show) | Pay per GB, up to 100 GB per database | Included amount by size, grows by itself up to 2 TB | By contract |
| Branches | Instant | Instant, 10 included per database within your organization's allowance | Instant, 25 included per database within the same allowance | Restored from backups | Restored from backups |
| Snapshots | 1 per database, included | 100 per database, $0.08 per GB-month, daily, weekly and monthly schedules | 100 per database, $0.08 per GB-month, daily, weekly and monthly schedules | 100 per database, $0.08 per GB-month, daily, weekly and monthly schedules | By contract |
| Protected branches | No | Yes | Yes | Yes | Yes |
| High availability | No | No | No | `ha2` (2 data centers) or `ha3` (3 data centers) where offered; in US East, `ha2` once Dedicated servers open | Yes |
| Restore window | 1 day | Up to 7 days | Up to 30 days (7 by default) | 7, 14 or 30 days by topology | By contract |
| Metrics and logs export | No | No | OpenTelemetry, included | No | By contract |
| SLA | None | None | 99.9% a month | 99.9% single, 99.95% HA | Custom |

A **CU** (compute unit) is 1 vCPU and 4 GB of RAM. Every plan includes TLS, connection pooling, IP allowlists, backups, metrics, query insights, the SQL editor, the REST API and the MCP server. The same catalog is available from [`GET /api/v1/plans`](/docs/api#list-plans), with every price, unit and included amount in its `price_list` and every rate card in `rate_cards`, as the price list on the [pricing page](/pricing) shows them. Usage is measured every hour and billed once a month, in calendar months (UTC).

## Free

| Limit | Value |
| --- | --- |
| Databases | 10 per organization, and one Free organization per person |
| Compute | Autoscaling from 0.25 CU (0.25 vCPU, 1 GB RAM) to 2 CU (2 vCPU, 8 GB RAM). Above 0.5 CU only while the shared server has room |
| Compute allowance | 100 CU-hours per database per month, shared with its branches, and 300 per organization in all |
| Scale to zero | After 5 idle minutes the database shrinks to a small warm size; after 60 more idle minutes it sleeps fully |
| Storage | 1 GB per database, then read-only |
| Branches | 5 per database and 20 per organization in all. Branches share their database's 1 GB (its data, for each instant branch the lesser of what it has written since it was made and its size or its growth over its parent if that is more, and all the data of a point-in-time branch or a branch from a snapshot, which are full copies: at 1 GB the database and its branches turn read-only together, and a branch that would pass it is refused) and its CU-hours, and don't count toward the 10 Free databases. An instant branch keeps no backups of its own while its parent's history restores it, and at most a day of them after |
| Snapshots | 1 per database, included. No backup schedules |
| Restore window | 1 day |
| Write-ahead log | 5 GB archived per database per day, and 0.5 GB written per organization per day in all, then read-only until 00:00 UTC |
| Egress | 5 GB per project per month (a database and its branches), then that project accepts no connections until the 1st; the organization's other projects keep serving. 50 GB per organization per month in all, deleted projects included, then every Free project of it stops until the 1st |
| Connections | 100 direct, 1,000 through the pooler |
| Read replicas and HA | None |
| Idle archive | A database without branches and with no connections for 30 days moves to backup storage and comes back on the next connection, more slowly than a normal wake. See [Free limits in practice](/docs/limits#free-limits-in-practice) |

How the allowance works:

- CU-hours are the compute allocated to your databases over time. A database at 0.25 CU for one hour uses 0.25 CU-hours. Time at the warm size counts too, at its memory divided by 4 GB (about 0.125 CU). A database's branches count toward its 100 CU-hours.
- We email the organization's owners at 80% of a database's CU-hours and at 80% of the organization's. Below 10 CU-hours left of either, the database can grow to at most 0.5 CU.
- A database that used its 100 CU-hours is suspended with its branches until 00:00 UTC on the 1st of the next month, while the organization's other Free databases keep running on their own hours. At the organization's 300, all its Free databases are suspended until the 1st. Moving a database to a paid plan resumes it at once.
- New Free databases wait in line when the shared servers are full ("In line for a database"), and are created by themselves as soon as room frees up, after any waiting Launch database. A database in line uses none of the allowance.

### Moving back to Free

A Launch database moves back to Free with all its branches, from **Move back to Free** in its settings or with `PATCH /api/v1/databases/{id}` and `"plan": "free"`, when the family fits Free:

- every database of the family is on Launch (move Scale or Dedicated to Launch first) and none is protected;
- the family holds at most 1 GB and has at most 5 branches;
- the organization holds a Free allowance and has room for one more Free database, room for the family's branches within its 20 Free branches in all, and Free CU-hours left this month (after its 300, try again on the 1st);
- each database keeps at most 1 snapshot, with no backup schedule and no read replicas.

Nothing is deleted to make it fit: the console and the API list every line that does not fit, with what to do. When it moves:

- compute comes down to Free's 0.25 to 2 CU, and scale to zero to 5 minutes;
- the restore window becomes Free's 24 hours, and the restore points made on Launch stay usable until the end of the window they were made under (at most 7 days after the move);
- backups written from the move on are locked for at least Free's 1 day and at most until the date the Launch restore points are kept to; those written on Launch keep their own lock;
- this month's Launch usage is billed, and the Free CU-hours already used this month still count.

## Launch

You pay for what your databases use, measured every hour:

| Unit | Price | Included |
| --- | --- | --- |
| Compute | $0.106 per CU-hour | |
| Storage | $0.30 per GB-month, measured hourly | |
| Restore history | $0.05 per GB-month | History up to 2 times the storage it is billed for (an instant branch's own backups count as its history) |
| Egress | $0.10 per GB | Up to 500 GB per project per month: a database together with all its branches, within 1 GB for each $1 of the organization's Launch and Scale compute, storage and restore history above the $5 minimum that month, for all its projects together; under it, the part of the $5 minimum that other usage leaves covers 7 GB of egress for each $1 (35 GB in a month with no other usage) |
| Branches | $1.00 per branch-month | 10 child branches per database (25 on Scale), within 5 per organization plus 1 for each $1 of its compute, storage and restore history above the $5 minimum that month, counted in branch-hours. An instant branch keeps no backups of its own while its parent's history restores it, and at most a day of them after, so it has no point-in-time restore, snapshots or backup schedule of its own |
| Snapshots | $0.08 per GB-month of each snapshot's size, manual or scheduled | Billed only here, never also as restore history |
| Read replicas | Billed as compute, in CU-hours | Up to 3 per database |
| **Monthly minimum** | **$5.00, counts toward usage and covers up to 35 GB of egress** | Egress counts toward what your other usage leaves of it, up to 70% of that; egress past that is billed on top |

- **Compute** is the CU your database is allocated, not what it uses, integrated over time. The autoscaler moves the allocation within your range, 0.25 to 2 CU unless you choose another one, up to 16 CU as the elastic pool has room (see [Autoscaling](/docs/scaling#autoscaling-on-free-and-launch)). The warm size after an idle period is billed at its CU equivalent (about 0.125 CU, about $0.013 an hour) for at most 60 minutes, then the database sleeps and costs nothing for compute.
- **Storage** is the size of the database plus, for each of its instant branches, the lesser of what the branch has written since it was made and its size, as on Neon: a new branch costs nothing for storage, and a branch that rewrote all its data costs its size. A branch is never billed less than its growth over its parent: data that writes no log, such as unlogged tables, still takes disk. A point-in-time branch or a branch from a snapshot is a full copy, so all its data is its storage. Ten heavily changed branches cost about ten times as much storage as one.
- **Branches keep no backups of their own.** An instant branch shares its parent's history: the parent's backup from before the branch was made is kept for it (billed to the parent as restore history once it is older than the parent's restore window), and its own changes are archived within 60 seconds. After 12 hours the branch keeps its own copy of that part of its parent's history, and once it has written as much as its size, its parent is deleted or it was restored, it keeps backups of its own for 1 day. What a branch's backups keep is its restore history, with twice the storage it is billed for included, as for any database: a branch that writes nothing is billed nothing for storage, and pays $0.05 per GB-month for the backups it keeps. Point-in-time restore, snapshots and backup schedules are for databases, not instant branches: make a new branch of the database instead.
- **Egress across projects.** Each project can include up to 500 GB a month, as on Neon. What your organization includes is paid for by its usage: 1 GB for each $1 of compute, storage and restore history above the $5 minimum, for all its projects together. With $50 of such usage it includes 45 GB; with $505, 500 GB. Bytes are counted as they are sent: room that later usage adds serves later bytes. Under the minimum, the minimum itself covers egress: the part of the $5 your other usage leaves covers 7 GB for each $1, so 35 GB in a month with no other usage, 17.5 GB with $2.50 of other usage and none once it reaches $5. Egress past that is $0.10 per GB, billed on top of the minimum.
- **Branches across projects.** Each database includes 10 child branches (25 on Scale), as Neon includes them per project; the database itself never counts. All of an organization's databases together include 5 child branches plus 1 for each $1 of compute, storage and restore history above the $5 minimum, counted in branch-hours over the month, Neon's way: a branch kept for a day uses a day, and a branch deleted before the month ends still counts the hours it lived. At the month's end, or when you close your account if that comes first, the included branch-hours above that are billed at $1.00 per branch-month on the same invoice. Branches above a database's own number are billed hour by hour, as before.
- **The minimum.** If your organization's Launch and Scale usage in a month, egress left out, is below $5, the invoice gets a line for the rest. Their egress counts toward that rest, up to 70% of it, and the line is what is left; egress past that is billed on top. You pay $5 for $5 of usage, not $5 plus usage: $3 of compute and 10 GB of egress cost $5.00, and $3 of compute and 40 GB cost $7.60 ($3.00, $4.00 of egress and $0.60 of the minimum). Launch and Scale share this one minimum. In a month with only Dedicated databases, their usage (egress left out) counts toward the same $5.
- **Monthly prices, measured hourly.** Storage, restore history and snapshots (per GB-month) and extra branches (per branch-month) are measured every hour at 1/730 of the monthly price. In each calendar month (UTC) at most 730 hours of them are billed: in a 31-day month the last 14 hours are free, so something kept all month never costs more than its monthly price, and in a 30-day month you pay for 720 hours.
- **Limits:** compute from 0.25 up to 16 CU per database as the elastic pool has room, 4 CU until your organization's first paid invoice (when the pool can give less, the console, the [pricing page](/pricing) and [`GET /plans`](/docs/api#list-plans) show the lower maximum with "more when shared capacity grows"; a database grows within the free room of the server it runs on), 100 GB of storage per database and per branch (then read-only; lower while a smaller cloud server is part of our shared fleet, as the console shows), 100 Launch databases per organization, a restore window of up to 7 days.
- **When the shared servers are full,** a new Launch database waits in line like a Free one ("In line for a database") and is created by itself as soon as room frees up, before any waiting Free database, oldest first. Nothing is billed while it waits, and you can delete it at any time.

Example months (examples, not averages):

| Example | Usage | Launch bill |
| --- | --- | --- |
| Side project | 0.25 CU for 4 hours a day (30 CU-hours), 0.5 GB | $3.33 of usage, billed the $5.00 minimum |
| Small app, always on | 0.25 CU all month (182.5 CU-hours), 5 GB | 182.5 × $0.106 + 5 × $0.30 = $20.85 |
| Startup in production | 1 CU on average (730 CU-hours) plus 2 preview branches (30 CU-hours), 20 GB | 760 × $0.106 + 20 × $0.30 = $86.56 |
| Busy, steady | 2 CU all month (1,460 CU-hours), 50 GB | $169.76; at this size a Dedicated `perf-8` at $145 is cheaper |

## Scale

Scale runs on the same elastic pool as Launch, in US East, and is billed the same way, with a full vCPU guaranteed for every CU.

| Unit | Price | Included |
| --- | --- | --- |
| Compute | $0.15 per CU-hour | 1 CU is 1 vCPU, guaranteed, and 4 GB of RAM |
| Storage | $0.30 per GB-month, measured hourly | |
| Restore history | $0.05 per GB-month | History up to 2 times the storage it is billed for, for the restore window you choose, up to 30 days |
| Egress | $0.10 per GB | Up to 500 GB per project per month, within the same organization bound as Launch (Launch and Scale projects together); under the minimum, the same up to 35 GB the minimum covers |
| Branches | $1.00 per branch-month | 25 child branches per database, within the same organization allowance as Launch |
| Snapshots | $0.08 per GB-month | |
| Metrics and logs export | Included | Metrics every minute and PostgreSQL logs, pushed to your own OpenTelemetry collector (OTLP over HTTPS). See [Observability](/docs/observability#export-to-opentelemetry) |
| Uptime SLA | Included | 99.9% a month, with service credits (one copy on the elastic pool, restored from its backups after a server loss) |
| **Monthly minimum** | **$5.00**, counts toward usage and covers up to 35 GB of egress | One minimum per organization for Launch and Scale together |
| Monthly budget | $100 a month by default, alerts only | One per organization for Launch and Scale together; a hard limit is yours to turn on, and new organizations have one until the first paid invoice |

- **Compute** works like Launch's: your range, up to 16 CU as the elastic pool has room (4 CU until your first paid invoice), scaled every few seconds, and to zero after an idle time you choose from 1 minute to never.
- **Restore window:** 7 days by default, up to 30. History above twice the storage a database is billed for is billed per GB-month.
- **Where:** US East, where the elastic pool runs on AWS.

## Dedicated

Each Dedicated database runs on its own virtual servers in our [regions](/docs/connect#regions-and-hostnames), created when you create it. **Standard** sizes have shared vCPUs; **Performance** sizes have dedicated vCPUs. The memory and vCPU are the server's: the operating system and our node software use part of them, and the console shows the memory PostgreSQL actually has.

**Today:** until we open Dedicated servers, every Dedicated database runs on our shared servers with its vCPU and memory reserved for it, as the [pricing page](/pricing) says. The rest of this section describes Dedicated once its servers are open.

[//]: # "TODO(integrator): remove the Today paragraph in the commit that turns PLATFORM_LIVE.dedicatedServers on at G-8."

**In US East:** Dedicated databases run on servers of their own at AWS in Northern Virginia (us-east-1), in every size, with the `single` topology in one availability zone or `ha2` across two availability zones (separate data centers). `ha3` is shown as waiting for capacity until we add a third zone. If the availability zone of a `single` database is lost, it is restored from its backups in the other one, unless you chose to wait (see [Single-copy databases and a data center loss](/docs/scaling#single-copy-databases-and-a-data-center-loss)). Dedicated databases never run at Hetzner or Vultr, which host our platform only.

| Size | vCPU | RAM | Storage included | Max storage | Max connections | Per hour | Per month |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `std-2` | 1 shared | 2 GB | 20 GB | 128 GB | 100 | $0.0699 | $51 |
| `std-4` | 2 shared | 4 GB | 40 GB | 256 GB | 200 | $0.1068 | $78 |
| `std-8` | 4 shared | 8 GB | 80 GB | 512 GB | 400 | $0.2890 | $211 |
| `perf-8` | 2 dedicated | 8 GB | 80 GB | 512 GB | 400 | $0.1986 | $145 |
| `perf-16` | 4 dedicated | 16 GB | 160 GB | 1,024 GB | 800 | $0.3644 | $266 |
| `perf-32` | 8 dedicated | 32 GB | 320 GB | 2,048 GB | 1,000 | $0.7014 | $512 |
| `perf-64` | 16 dedicated | 64 GB | 640 GB | 2,048 GB | 1,500 | $1.3699 | $1,000 |
| `perf-128` | 32 dedicated | 128 GB | 1,000 GB | 2,048 GB | 2,000 | $2.5466 | $1,859 |
| `perf-192` | 48 dedicated | 192 GB | 1,000 GB | 2,048 GB | 2,000 | $3.5219 | $2,571 |

Prices are per node, $51 to $2,571 a month per node by size, billed for each started hour and never more than 730 hours a month. The topology sets the number of nodes:

| Topology | Nodes | Where | Price | Backups kept | Backup storage included |
| --- | --- | --- | --- | --- | --- |
| `single` | 1 | One data center | 1 × the size price | 7 days | 1.5 × provisioned storage |
| `ha2` | 2 | Two data centers | 2 × the size price | 14 days | 2.5 × provisioned storage |
| `ha3` | 3 | Three data centers | 3 × the size price | 30 days | 5 × provisioned storage |

For example, `perf-8` with `ha2` costs $290 a month and `perf-16` with `ha2` $532. See [High availability](/docs/scaling#high-availability) for what each topology protects against.

Every size includes its servers, the included storage, backups and point-in-time restore for the topology's window, PgBouncer, metrics, query insights, the SQL editor, the API, the MCP server and egress of 100 GB a month per node, in proportion to the hours the database exists that month (a database kept 10 hours of a 30-day month includes 1.39 GB a node; the rest of its egress is billed at the month's end, or when you close your account if that comes first). Extras:

| Extra | Price |
| --- | --- |
| Storage above the included amount | $0.40 per GB-month per node: $0.40 `single`, $0.80 `ha2`, $1.20 `ha3` per GB of data |
| Backup storage above the included multiple, and a longer restore window | $0.03 per GB-month |
| Snapshots, manual or scheduled | $0.08 per GB-month of each snapshot's size |
| Egress above the included amount per node per month | $0.10 per GB |
| Read replicas | One more node of the same size at the size price, up to 3 |

Extra storage is billed with each node-hour, so it follows the node's cap of 730 hours a month. Backup storage and snapshots are measured every hour at 1/730 of their GB-month price, for at most 730 hours of each calendar month, as on Launch.

**Where the servers come from.** We create servers on demand through the API of AWS, in its us-east-1 region (Northern Virginia), each with its own disks, encrypted. Their backups stay in Amazon S3 in the same region, with an encrypted weekly copy at Backblaze B2 (see [Backups and restore](/docs/backups-and-restore)). Google Cloud and Microsoft Azure are planned as further clouds; we will email every organization's owners at least 30 days before either hosts any database (see [Sub-processors](/legal/subprocessors)). A database has the same hostnames and price whichever cloud runs it.

### Reserved capacity

Our accounts at each cloud have limits (servers, vCPUs, public addresses and monthly spend) that grow over time. When every cloud refuses a new Dedicated database because one of those limits is full, and its size fits the room on our shared servers, the database **starts at once on reserved capacity** instead of waiting:

- **What it is.** CPU cores reserved for this database alone, memory equal to its size and its own storage volume with a quota, on one of the shared servers that also run Free and Launch databases (in US East, our server at AWS in Northern Virginia), with the same isolation they have. It never takes room that Free and Launch databases use. It is capacity on a shared server, not servers of your own.
- **Which sizes.** Performance sizes only, when one fits the free room of a shared server. Standard sizes never start on reserved capacity: they wait for servers of their own.
- **Only new databases.** A move to Dedicated and a branch that needs a Dedicated node wait for servers of their own. While a database runs on reserved capacity, its size, topology and read replicas can't be changed; they can once it has moved.
- **How you know.** The console says "Running on reserved capacity on a shared server until your own servers are ready", with the reason, and the API and the MCP server return the same text in the database's `interim_placement` (`status`, `reason`, `since`). Before you order, the size picker says whether a size would start on its own servers or on reserved capacity, and so does `placement` (`own_servers` or `interim`) in [`GET /api/v1/plans`](/docs/api#list-plans).
- **Price.** The price of the size and topology you ordered, per started hour in which it serves from when the database is first ready, within the same monthly cap per node.
- **The move.** As soon as the cloud can create the servers, KeelDB moves the database there for free, the same way as a [move to Dedicated](/docs/scaling#change-plan-size-or-topology): the data is copied while the database keeps serving, then a switch pauses writes for a short time and closes open sessions. We email you before the switch, with the earliest time it can happen. The id, hostnames, user and password stay the same, and the previous copy is kept for 24 hours as a rollback point.
- **Which topologies.** `single` today. An `ha2` or `ha3` database needs its copies in different data centers, which our shared servers cannot offer yet, so those wait for their own servers.
- **Reliability while it lasts.** The SLA target of the topology you ordered applies. Because a shared server keeps the data on its own disks, losing that server or its data center loses up to 60 seconds of changes, as on Launch (see the [SLA](/legal/sla#3-data-loss-and-recovery-targets)). Its reserved cores are held on one shared server, so after the loss of that server or its data center it is not restored elsewhere: it waits for the server to return (see [Single-copy databases and a data center loss](/docs/scaling#single-copy-databases-and-a-data-center-loss)).

**Waiting for capacity.** If neither its own servers nor reserved capacity can hold a size or topology, the console and the API show it as `waiting for capacity`, and KeelDB keeps trying. Nothing is billed while no server or reserved capacity runs it, and you can cancel at no cost. The "From" price on the pricing page is always the cheapest size you can order right now.

## How Dedicated billing works

- **Started hours of each node's life.** Each node is billed at its size's hourly price for every started hour of its server's life, counted from the moment the server is created. A server that lives 70 minutes is billed 2 hours, so a database you keep for an hour costs one or two hours, never more.
- **Only once ready.** Nodes are billed only once the database has become ready for the first time. If a create fails or times out because of us or our provider, you pay nothing. If you cancel or delete a database after its servers exist, their started hours are billed; the console says so before you confirm.
- **The cap.** In each calendar month (UTC), each node is billed for at most 730 hours, so a node that runs all month costs at most its monthly price. In a 31-day month the last 14 hours are free; in a 30-day month you pay for 720 hours. Each hour belongs to the month in which it starts.
- **Deleting** a database stops its billing at the hour you asked for the deletion.
- **Reserved capacity** is billed like a node of the size you ordered, per started hour in which it serves from when the database is first ready. Its move to its own servers is free: you pay for one set of nodes while the data is copied, the hour of the switch is billed once, and the new servers are billed from the end of that hour.

### Worked examples

| Scenario | Hours billed | Cost |
| --- | --- | --- |
| `std-2` `single`, created and deleted 50 minutes later | 1 | 1 × $0.069863 = $0.07 |
| `std-2` `single` for all of December 2026 (31 days, 744 hours) | 730 (capped) | $51.00 |
| `std-2` `single` for all of April 2027 (30 days, 720 hours) | 720 | 720 × $0.069863 = $50.30 |
| `perf-8` `single` created December 22, 2026 at 00:00 UTC, kept to month end | 240 | 240 × $0.198630 = $47.67 |
| `perf-8` `single` with one read replica, for all of December 2026 | 2 × 730 (capped) | $290.00 |
| `perf-8` `single` for all of November and December 2026 | 720 + 730 (capped) | 720 × $0.198630 + $145.00 = $288.01 |

Rates in the table are the unrounded monthly price divided by 730, which is what is metered, at the price in force in each hour.

## Spending controls

- **A monthly budget, with alerts, by default.** Each organization has one monthly amount for Launch and Scale usage together, **$100 by default**. Once your organization has paid its first invoice, it is a budget: nothing slows down or stops when you pass it, and you are told instead.
- **Alerts** go to the organization's owners and billing email at 50%, 80% and 100% of the monthly amount, then at every further 100% (200%, 300% and so on) while there is no hard limit, and once a day when the last 24 hours cost at least 3 times your average day of the week before and at least $10 more. The optional Dedicated cap has alerts at 50%, 80% and 100%.
- **A hard limit, if you want one.** Turn it on under **Billing** and Launch and Scale usage of a month is never charged above the highest amount in force during that month: raising the amount or turning the limit off applies from that moment, and lowering the amount stops your databases at the new amount, but does not lower what the month may already be charged. As usage gets close, the autoscaler keeps enough in reserve to pay your storage (snapshots included) and run your always-on databases at their minimum until the end of the month (a database that scales to zero may sleep, so it reserves no compute). New Launch databases, branches and snapshots that would not fit are refused, and a scheduled snapshot is skipped. At the limit, your Launch and Scale databases go back to and stay at their minimum size (the default) or are suspended, as you choose. If databases keep running beyond what was reserved and even their minimum would pass the limit, every Launch and Scale database is suspended (data kept) until the limit is raised or turned off, or the month ends.
- **New organizations always have a limit.** Until an organization has paid its first invoice, the hard limit is on whatever you choose, at your amount but never above $100 plus any unused prepaid credit. It ends with the first paid invoice, and comes back while a refund or a chargeback has taken that trust away (see below).
- **Dedicated cap.** An optional monthly cap blocks new Dedicated databases, bigger sizes and new nodes when it is reached. It never stops or deletes what already runs.
- **Ways to spend less:** scale to zero, and deleting branches you no longer need (or giving them an [expiry time](/docs/branching#branch-expiry)).

## Payment methods and new organizations

- Free databases need no payment method. Launch and Dedicated databases, upgrades, paid branches and read replicas need a payment method on file under **Billing**. Without one, the API returns `402 payment_required`.
- Until an organization has paid its first invoice, Launch and Scale stop at its monthly amount, at most $100 plus any unused prepaid credit, and it can run at most 3 Dedicated nodes with a total list price of at most $250 a month, with sizes priced up to `std-8` for `single` (so `perf-8` too) and up to `std-4` for `ha2`. It can create at most 3 Dedicated databases a day (afterwards, 10 a day). Contact support to raise a limit sooner.
- **Above these limits, back it.** On accounts billed through Stripe, a new organization can run more Dedicated at once with prepaid credit or a card hold under **Billing**, covering a week of what it runs on Dedicated; the console names the amount when an order needs it. **Prepaid credit** is charged when you add it and pays your next invoices before your card is charged. A **card hold** reserves an amount on your card for 7 days without charging it: before it ends, the hours your databases used are charged when they come to $10 or more (and pay their invoice; less goes on your next invoice), the rest is released, and a new hold takes its place while backing is still needed. On accounts billed through Paddle, Dedicated above these limits is paid ahead instead: the rest of the month when you order it, and at least a week (days past the month's end count toward the next month), then each following month on the 1st; what is not used stays as credit on your account. If backing runs short (a renewal your bank refuses, or credit used up by this month's usage), we email you, and after 24 hours those databases are suspended (data kept) until it is back.
- **Refunds.** On accounts billed through Paddle, refunds follow the [Refund Policy](/legal/refunds). On accounts billed through Stripe, hours used are never refunded, whether paid by card, from prepaid credit or from a card hold. Unused credit stays on your account for later invoices; a refund of it is decided by KeelDB's owner alone (ask support), less the payment processing fee kept on that amount, and never covers more than the credit left after usage not yet invoiced. A prepayment or a card hold charge that is refunded through Stripe or disputed with your bank is no longer credit: its unused part leaves your balance (it comes back if the dispute is decided for KeelDB), and it no longer backs Dedicated databases above the limits.
- These limits come back after a refund, until the next invoice is paid; while a chargeback of a payment is open, until it is decided for KeelDB; and after a chargeback decided for the cardholder, until support lifts them.
- Managing billing requires the owner, admin or billing role.

## Invoices

- Each organization has one subscription. Usage is invoiced monthly, with billing periods starting on the 1st of each month (UTC).
- **Dedicated is billed in arrears,** each month for the hours it ran, on accounts billed through Stripe and through Paddle alike, except what a new organization pays ahead above the new-account limits (above). In a month with only Dedicated databases, the $5 monthly minimum applies to their usage, egress left out.
- **Early invoices.** On accounts billed through Stripe, if usage in the current period reaches **$50**, an invoice is issued early. On accounts billed through Paddle, usage not billed yet is charged during the month once it reaches **$50**, or **$250** once your organization has paid its first invoice. The next invoice date stays on the 1st.
- Amounts below our payment provider's minimum charge are carried to a later invoice. On accounts billed through Paddle, a month whose statement comes to less than $20 is carried to the next month's statement and charged with it, whatever that comes to.
- **Who bills you.** For accounts billed through Paddle, Paddle is our reseller and the merchant of record: it takes the payment and issues the invoice, and your card statement shows PADDLE.NET* KEELDB. Other accounts are billed by Global Tech Stream LLC through Stripe. **Billing** shows which applies to you.
- The **Billing** page shows a month-to-date estimate (before tax, updated hourly), the projected month, the upcoming invoice, your payment methods, and past invoices with PDF downloads.
- Invoices and billing notices go to the organization's billing email, set under **Settings, Organization**.

## Failed payments

When a payment fails, our payment provider retries it, and we email the billing address and show a notice in the console. Pay the open invoice from **Billing**; card authentication (3-D Secure) is supported there. If the invoice stays unpaid:

| Days after the first failed payment | Organization that has paid an invoice before | New organization |
| --- | --- | --- |
| 0 | Retries, email, console notice | Same |
| 3 | | Paid databases suspended |
| 7 | Paid databases suspended | |
| 14 | | Final warning email |
| 17 | | Storage volumes may be deleted |
| 18 | Final warning email | |
| 21 | Storage volumes may be deleted | |

- **Suspended** databases refuse connections with `this database is suspended` (SQLSTATE `57P03`) and are not billed. A final backup of recent changes is taken first. Dedicated servers are deleted and only the primary's storage volume is kept. Free databases are not affected. We email you when it happens.
- **Storage may be deleted:** from then on the kept storage volumes may be deleted. Backups stay until their restore window ends.
- **Pay to restore.** Paying the overdue amount restores every suspended database with the same hostnames and credentials, from its volume if it still exists, otherwise from its backups while they exist.

If the subscription itself ends up unpaid or canceled, new paid databases can't be created (`402 payment_required`) until the invoice is paid.

## Price changes

We announce price changes at least 30 days ahead, by email and in the console. A change starts at 00:00 UTC on the 1st of a month, and every hour is billed at the price in force in that hour. If our infrastructure provider changes its prices, Dedicated databases that are running when our change takes effect keep their price until you resize them. See the [Terms of Service](/legal/terms#99-price-changes).
