To keep Vercel Postgres optimized for frequent, high-speed reads and infrequent writes, the following account-level constraints exist:
Hobby | Pro | |
---|---|---|
1 - | 1 1.00 USD per additional database | |
60 hours - | 100 hours 0.10 USD per additional compute-hour per month | |
256 MB - | 512 MB 0.30 USD per additional GB per month | |
256 MB - | 512 MB 0.10 USD per additional GB | |
256 MB - | 512 MB 0.20 USD per additional GB |
Vercel Postgres usage is measured on the following items. You can see the amount of usage in the Postgres section of the Usage tab on your dashboard.
Database cost is calculated as the maximum number of databases per month for your account.
Compute time is calculated as the amount of time, in hours, that your database is active multiplied by the number of CPUs that your database has available. Databases for users on Hobby plans have 0.25 logical CPUs; databases for users on Pro plans have 1 CPU.
Databases are active when they are receiving requests, and for a period of 5 minutes after the last request is received. Databases will be suspended to an inactive state after 5 minutes of idle.
Storage is calculated as the maximum amount of storage used per month for all Postgres databases for your account.
Written data is calculated as the amount of data written from your functions to all Postgres databases for your account.
Data transfer is calculated as the amount of data transferred between the functions querying the databases and the Postgres databases for your account.
For more information on billing, see the Billing section.
Vercel Postgres is free for Hobby users within the usage limits and is intended as a development database. Hobby plans include enough functionality to allow you to create and test your database.
Vercel will send you emails as you are nearing your usage limits. You will not pay for any additional usage. However, you will not be able to access Vercel Postgres if limits are exceeded. In this scenario, you will have to wait until 30 days have passed before using it again.
Pro trials have the same limits as Hobby users. If those trial limits are exceeded, you will not be able to use Vercel Postgres unless you upgrade to a paid plan. During the trial, you can create a maximum of one database.
Vercel will send you emails as you are nearing your usage limits, but you will also be advised of any alerts within the dashboard. When you team exceeds the base limits for Vercel Postgres on Pro, you will pay for usage on-demand as you use it.
Vercel Postgres is not currently available for Enterprise Teams.
Vercel Postgres is a serverless SQL database. It scales down automatically and up when queried.
If you do not perform queries, the database will go to sleep and you will not accrue compute time, written data, or data transfer costs. However, you will still be charged for data storage.
In addition, if your database is infrequently getting requests, it will take a longer time to boot (cold start). This additional compute time may increase the amount you will be charged.
To stop incurring usage or costs, you can do the following:
- On-demand compute: stop querying the database or delete it
- Data storage: delete the database (storage persists even if you stop querying it).
- Written data: stop writing to the database or delete it.
- Data transfer: stop querying the database or delete it.