Skip to main content

Deployments and Database Billing

There are three types of usage-based billing for deployments:

  1. Outbound Data Transfer
  2. Autoscale Compute Units
  3. Requests

You can view your usage in your account here. Billing occurs monthly or once your accumulated costs reach $25. Replit Core (previously Hacker or Pro) users receive monthly allowances for these resources.


Deployments

1. Deployments Outbound Data Transfer

This type of usage is billed per byte with Replit Core (previously Hacker or Pro) users receiving a monthly allowance. Only egress (outgoing) data is counted against this allowance, potentially leading to overages. In contrast, ingress (incoming) data is always free.

SubscriptionAllowance
Replit Core100 GiB

Exceeding your allowance costs $0.10 per GiB. The allowances apply to Static, Autoscale, Reserved VM and Scheduled deployments.


2. Compute Units

Autoscale Deployments are billed based on Compute Units, which take into account both CPU and RAM usage over time.

Overages are billed at $1 per million Compute Units. The granularity of the billing is down to each individual compute unit ($0.00000125 each).

Here is a breakdown of how RAM and CPU seconds for an Autoscale Deployment translate into Compute Units:

ResourceCompute UnitsCost/second
1 RAM Second2 Units$0.0000025/second
1 CPU Second18 Units$0.0000225/second

Static Deployments don't consume Compute Units. Their billing is solely for Outbound Data Transfers beyond a specified amount.

Learn more about Autoscale Deployments.


3. Requests

Autoscale Deployments also consider the number of requests made.

Requests are billed at $0.40 per million.



Databases

1. PostgreSQL Usage Metrics

Replit PostgreSQL offers effortless high availability with no administrative or maintenance burden. Being serverless, Replit PostgreSQL only charges for actual usage, resulting in potential cost savings of up to 10 times.

Replit PostgreSQL databases bill for usage based on the following usage metrics:


These usage metrics are billed per month or once your accumulated costs reach $25.

Usage MetricCost
Compute Time$0.16 per compute hour per month
Data Storage$1.5 per GiB of storage per month

You can view your usage in your account here.

Compute Time

Compute time is determined by number of hours your database remains active during a given billing period. Databases are considered active when they receive requests and for an additional 5-minute period after the last request. If a database remains idle for 5 minutes, it will be suspended and enter an inactive state.

Data Storage

Data storage is the total volume of data stored across all databases in your account, measured in gibibytes (GiB). Storage is calculated as the maximum amount of storage used per month. Each PostgreSQL database consumes 33MB of storage, even if it doesn't contain any data. This is the default storage footprint of the Postgres server.

note

The total storage limit for each database is 10 gibibytes (GiB).

Additional Notes

If there's an issue with your payment method, we'll notify you. Continuous payment failures might lead to the suspension of your deployments. If this happens, please contact support and update your payment details to regain access to our services.

Was this helpful?