# PostgreSQL billing: rates and a worked example

Source: https://resilis.io/docs/postgresql/pricing/

A managed PostgreSQL database is billed for the resources it uses, from the runtime credit that comes with your plan. This page gives the rates, the terms for new and existing subscriptions, and a worked monthly example you can reproduce.

## What you pay for

There is no per-database service fee for new Hobby and Pro subscriptions. A database costs the CPU, RAM and persistent disk it uses, at the same published rates as any other resource. The plan fee becomes runtime credit that covers usage, including databases, and usage above the credit is billed.

Point-in-time recovery needs continuous backups, with retention up to 7 days on Hobby and up to 365 days on Pro and Enterprise, for supported Resilis-managed databases.

## Rates

Databases use the same usage meters as apps. Compute is billed by the hour and disk by the day.

### Published usage rates

| Meter | Rate |
| --- | --- |
| CPU | $0.004104/vCPU-hour |
| RAM | $0.00972/GB-hour |
| Persistent disk | $0.01/GB-day |

## If you already have a subscription

Existing subscriptions keep their current per-database fee, $5 per month on Hobby or $10 per month on Pro, until it is changed on their account. Contact support@resilis.io with questions about an existing subscription.

## A worked monthly example

Assume a database with 0.25 vCPU, 0.5 GB of RAM and a 10 GB disk, running a 720-hour month. CPU costs 720 hours × 0.25 vCPU × $0.004104/vCPU-hour = $0.74. RAM costs 720 hours × 0.5 GB × $0.00972/GB-hour = $3.50. Disk costs 10 GB × 30 days × $0.01/GB-day = $3.00. The total is $7.24.

This is an estimate from the published rates. Your bill follows measured usage.

- [Estimate your own usage](/pricing/)

## How runtime credit applies

Hobby costs $10.00 per month and Pro costs $50.00. The plan fee becomes runtime credit, $10.00 on Hobby and $50.00 on Pro, and your database draws from it with apps, persistent disk and object storage. Usage above the credit is billed.

The example above, $7.24 of usage, fits inside Hobby’s $10.00 credit before any app is counted.

- [Billing and usage rates](/docs/billing/)
- [Managed PostgreSQL pricing and a worked example](/managed-postgresql/#pricing)

## How much does managed Postgres cost for a small app?

A database with 0.25 vCPU, 0.5 GB of RAM and a 10 GB disk, running for a 720-hour month, uses $7.24 of usage. That is $4.24 for CPU and RAM and $3.00 for disk, and it fits inside Hobby’s $10.00 runtime credit.

There is no separate per-database service fee for new Hobby and Pro subscriptions. Your app and other resources draw from the same credit, and usage above it is billed, so use the estimator for your own workload.

- [Plans and usage estimator](/pricing/)

## How does Resilis Postgres pricing compare with Render, Railway, DigitalOcean and Heroku?

The shapes differ. Resilis bills a database for the CPU, RAM and disk it uses, with no per-database service fee for new Hobby and Pro subscriptions. Render, DigitalOcean and Heroku list Postgres plans by size, and Railway says it does not charge extra for databases beyond the resources they use.

Plans differ in size, included resources and recovery features, so compare like with like: the CPU, RAM and storage each plan includes, any per-database fee, and the recovery window by plan. Each provider publishes its own current figures, and the comparison pages for Render, Railway, Heroku and DigitalOcean set Resilis beside them.

- [Resilis compared with Render](/alternatives/render/)
- [Resilis compared with Railway](/alternatives/railway/)
- [Resilis compared with Heroku](/alternatives/heroku/)
- [Resilis compared with DigitalOcean](/alternatives/digitalocean/)
- [Render pricing](https://render.com/pricing)
- [DigitalOcean managed databases](https://www.digitalocean.com/pricing/managed-databases)
- [Heroku pricing](https://www.heroku.com/pricing)
- [Railway pricing FAQ](https://docs.railway.com/pricing/faqs)
