PlanetScale for Postgres pricing
(Updated )
Overview
PlanetScale for Postgres databases are billed based on their configuration and usage. Understanding the relationship between databases, branches, and clusters is key to understanding your billing:
- Database: Your overall project (e.g., "my-ecommerce-app")
- Branch: A copy of your database for different environments (e.g., "production", "development", "staging") - learn more about branching
- Cluster: The underlying compute and storage infrastructure that powers each branch
Each branch runs on its own dedicated cluster and is billed separately based on its configuration and usage.
You are billed for the compute and storage resources (cluster) that power each branch (prorated to the millisecond each month)
Every database branch you launch has default included amounts of:
Usage beyond the included defaults is charged based on the costs for that resource, this includes:
- Cluster disk storage used beyond the included amount (for network-attached storage)
- Backup storage used beyond the included amount
- Network egress beyond the included amount
- Additional replicas
There are no upfront commitments and as you adjust your configuration or usage changes, pricing will automatically adjust from that point.
Note
For information on Vitess cluster pricing on the Scaler Pro plan, see Scaler Pro cluster pricing.
Cluster instance size
Each database branch runs on its own dedicated cluster infrastructure. Clusters are billed based on the selected instance size and prorated to the millisecond. Each instance size includes defined amounts of vCPU cores and memory, as well as storage based on the storage type selected (network-attached storage or PlanetScale Metal). See cluster pricing for more information.
You can increase or decrease your cluster size at any time. Pricing is prorated to the millisecond, so if you temporarily increase, you will only be charged for the larger cluster size for the time that it was running. Billing for a modified cluster size begins as soon as you begin the resize. You can also spin up additional production branches at any time for additional cost. The pricing for these is also prorated.
Cluster disk storage
Note
We use gibibytes, otherwise known as binary gigabytes, to calculate storage and usage limits. For reference, 1 binary gigabyte is equivalent to 2^30 bytes.
Storage types explained
PlanetScale offers two storage options with different pricing models:
All-inclusive pricing
- Storage cost is included in your cluster instance price
- High-performance NVMe SSDs directly attached to your servers
- To get more storage, you upgrade to a larger cluster size
- Best for: High-performance applications that need predictable costs
Configuration-based pricing
- First 10 GB included with each cluster
- Additional Storage is billed separately from your cluster instance configuration
- Flexible scaling - add storage without changing cluster size
- Automatic disk scaling with autoscaling
- Best for: Applications with variable storage needs or cost optimization
Network-attached storage billing
For network-attached storage clusters, pricing varies by region and cloud provider:
- Base storage: scales automatically if autoscaling is enabled
- Additional IOPS: you manually configure this in cluster settings (AWS only)
- Additional Throughput: you manually configure this in cluster settings (AWS only)
Note
AWS vs GCP Pricing: AWS network-attached storage cluster types allow separate billing for IOPS and throughput that you manually configure. GCP network-attached storage cluster types include IOPS and throughput that scale automatically with disk size at no additional cost. See AWS Storage Pricing and GCP Storage Pricing below for detailed regional pricing.
What are IOPS and Throughput?
- IOPS (Input/Output Operations Per Second): How many read/write operations your database can handle per second. Higher IOPS = faster response for many small database queries.
- Throughput: How much data can be transferred per second (MiB/s). Higher throughput = faster for large data operations like bulk imports.
For more information on changing your cluster's storage, see the Cluster storage configuration documentation.
Backups
Included backup storage
PlanetScale automatically includes backup storage with every database branch at no extra cost. Each branch gets backup storage equal to 2x your disk size.
Examples:
Disk Size | Backup Storage Included |
---|---|
25 GB | 50 GB |
50 GB | 100 GB |
1000 GB | 2000 GB |
Note
For clusters with network-attached storage with autoscaling enabled, backup storage changes as your disk storage autoscales.
When your backup and WAL storage exceeds the included amount, additional storage is billed at $0.023 per GB per month.
Storage overage examples:
Storage Overage | Duration | Cost |
---|---|---|
100 GB | 30 days | $2.30 |
100 GB | 15 days | $1.15 |
How backup billing works
Storage calculation: Both database data backups and WAL files are automatically compressed before being sent to backup storage. You're billed only on the compressed size, which is typically much smaller than your active database size.
Backup storage usage billing data is updated hourly.
For more details on backup functionality, see Back up and restore.
What affects storage costs:
Factor | Impact |
---|---|
Database activity | More active databases generate more WAL files |
Backup retention | Longer retention periods increase storage usage |
Oldest backup age | WAL files are kept as long as your oldest backup exists |
Network data transfer
Outgoing network traffic (egress) is billed based on the amount of data transferred out of PlanetScale for Postgres instances to any other host or destination. This includes data transfer for purposes such as replication and backups. Each branch has a default amount of included network egress that is aggregated for all cluster instances in the entire branch.
Branch Type | Included Network Egress | Additional Egress Rate |
---|---|---|
Production | 100 GB per month | $0.11 per GB |
Development (PS-DEV) | 10 GB per month | $0.11 per GB |
Incoming network traffic (ingress) is free.
Additional replicas
Each production cluster includes 2 replicas to provide high availability and additional read capacity alongside the primary. Certain read-heavy workloads may demand additional read replicas. If you need additional replicas beyond what is included, you can add them for an additional cost based on the branch's instance size and the current storage (for network-attached disk configurations). The cost of an additional replica instance is ~1/3 the cost of the original 3-node cluster.
Examples:
Base cluster configuration (includes 2 replicas) | Monthly base cluster cost | Additional monthly replica cost | Monthly total |
---|---|---|---|
M-160 (r8gd) | $589 | $197 | $786 |
M-320 (r8gd) | $1,149 | $383 | $1,532 |
M-1280 (i8g) | $5,319 | $1,773 | $7,092 |
PS-10 (aarch64 CPU) with 100 GB storage | $34 + $33.75 (additional storage) | $12 + $12.50 (*additional storage) | $92.25 |
PS-160 (aarch64 CPU) with 1000 GB storage | $286 + $371.25 (additional storage) | $96 + $125 (*additional storage) | $878.25 |
*Note: Replicas with network-attached storage do not include the default included cluster storage disk amount of 10GB. You pay for the entire configured disk size. Figures shown here are for AWS based instances with additional storage amounts and no additional IOPS/Throughput configured.
Development branches do not support replicas. For more information on replicas, see Replicas.
Cluster pricing
Cluster instance pricing is based on the cloud provider's own pricing for the compute resources, and varies per region. See the below links for the current region's pricing.
Amazon Web Services
- ap-northeast-1 (Tokyo)
- ap-south-1 (Mumbai)
- ap-southeast-1 (Singapore)
- ap-southeast-2 (Sydney)
- eu-central-1 (Frankfurt)
- eu-west-1 (Dublin)
- eu-west-2 (London)
- sa-east-1 (Sao Paulo)
- us-east-1 (N. Virginia)
- us-east-2 (Ohio)
- us-west-2 (Oregon)
Google Cloud
- asia-northeast3 (Seoul, South Korea)
- northamerica-northeast1 (Montréal, Québec)
- us-central1 (Council Bluffs, Iowa)
- us-east4 (Ashburn, Virginia)
Storage pricing
Network-attached storage pricing varies by region and includes three billable components:
- Storage: The cost per GB of data stored per month (can auto-scale with usage if enabled)
- Additional IOPS: Cost when you manually configure more input/output operations per second beyond the included baseline
- Additional Throughput: Cost when you manually configure more data transfer throughput (MiB/s) beyond the included baseline
Note
Most applications only pay for base storage. IOPS and throughput charges only apply if you manually increase these settings beyond the included baseline in your cluster configuration.
The table below shows the pricing for all three components across different AWS regions. Your total storage cost will depend on your configuration of each component.
AWS Storage Pricing
Cloud Provider | Region | Storage (per GB/month) | Additional IOPS (per IOPS/month) | Additional Throughput (per MiB/s/month) |
---|---|---|---|---|
AWS | ap-northeast-1 (Tokyo) | $0.150 | $0.011 | $0.088 |
AWS | ap-south-1 (Mumbai) | $0.143 | $0.103 | $0.084 |
AWS | ap-southeast-1 (Singapore) | $0.150 | $0.011 | $0.088 |
AWS | ap-southeast-2 (Sydney) | $0.150 | $0.011 | $0.088 |
AWS | eu-central-1 (Frankfurt) | $0.149 | $0.011 | $0.088 |
AWS | eu-west-1 (Dublin) | $0.138 | $0.010 | $0.081 |
AWS | eu-west-2 (London) | $0.145 | $0.011 | $0.084 |
AWS | sa-east-1 (Sao Paulo) | $0.238 | $0.018 | $0.139 |
AWS | us-east-1 (N. Virginia) | $0.125 | $0.009 | $0.073 |
AWS | us-east-2 (Ohio) | $0.125 | $0.009 | $0.073 |
AWS | us-west-2 (Oregon) | $0.125 | $0.009 | $0.073 |
GCP Storage Pricing
The table below shows the storage pricing for Google Cloud Platform regions. GCP storage pricing includes only base storage costs, with IOPS and throughput that scale with disk size.
Cloud Provider | Region | Storage (per GB/month) |
---|---|---|
GCP | asia-northeast3 (Seoul, South Korea) | $0.221 |
GCP | northamerica-northeast1 (Montréal, Québec) | $0.187 |
GCP | us-central1 (Council Bluffs, Iowa) | $0.170 |
GCP | us-east4 (Ashburn, Virginia) | $0.187 |
Need help?
Get help from the PlanetScale Support team, or join our GitHub discussion board to see how others are using PlanetScale.