Free Serverless Postgres
Tags: webdev, postgres, programming, cloud
Published: 2023-12-19 18:05:55

Today, we’re **introducing Small, Medium, and Large PostgreSQL databases with up to 4GB of RAM** in private preview. These databases are designed for production workloads, are fully managed, and are **highly available by design**.

TL;DR:

- The small Serverless Postgres with 1GB of RAM will start at $20.89 per month or $0.0000078 per second,
- Serverless databases can allow up to 88% savings compared to traditional databases ([see below](#up-to-88percent-savings-compared-to-traditional-databases))
- We will maintain a forever free tier with 50 active hours per month.

Since the beginning of the [Serverless Postgres Public Preview](https://www.koyeb.com/blog/serverless-postgres-public-preview), you asked for larger databases and about pricing.
Here are the resources and pricing for the Postgres types:

|       | Free            | Small                        | Medium                      | Large                       |
| ----- | --------------- | ---------------------------- | --------------------------- | --------------------------- |
| RAM   | 1GB             | 1GB                          | 2GB                         | 4GB                         |
| CPU   | 0.25            | 0.25                         | 0.5                         | 1                           |
| Price | 50 active hours | $20.89/mo <br/> $0.0000078/s | $42.85/mo <br/> $0.000016/s | $96.42/mo <br/> $0.000036/s |

Regarding storage, read, and writes:

- 1GB of storage will be included for all databases with additional storage at $2/mo per 10GiB.
- Writes and reads will be charged at $0.10/GB, bandwidth included.

## Up to 88% savings compared to traditional databases

As the databases auto-sleep, you’ll automatically benefit from a significant price reduction if you don’t need it 24/7.
Here are some scenarios where the Serverless capabilities will save a lot:

| Scenario                                 | Cost of a Small instance | Savings | Number of hours                              | Formula                                        |
| ---------------------------------------- | ------------------------ | ------- | -------------------------------------------- | ---------------------------------------------- |
| Development, Staging, or CI environments | $2.47/mo                 | 88%     | 4 hours/day during weekdays <br/> ~88 hours  | 22 days x 4 hours x 3600 seconds x $0.0000078  |
| Extended business hours                  | $7.41/mo                 | 64%     | 8 am - 8 pm during weekdays <br/> ~264 hours | 22 days x 12 hours x 3600 seconds x $0.0000078 |

For 24/7 workloads, you benefit from high availability by design, avoiding the necessity of a costly replica (aka 100% saved).

## Request access and more

For now, these new sizes are in private preview and will not be charged. We will start charging for usage on the 1st of February.
To get access, just reach out through the control panel!

We're excited to see what you will build with Koyeb Serverless Postgres and we're looking forward to your feedback to help us shape the product.

[Sign up](https://app.koyeb.com/auth/signup) today and start deploying your Database Service for free!

Finally, you can keep up with all the latest updates by joining our vibrant and [friendly serverless community](https://community.koyeb.com/) or follow us on X at [@gokoyeb](https://twitter.com/gokoyeb).