Home

Compute Add-ons

Every project on the Supabase Platform comes with its own dedicated Postgres instance running inside a virtual machine (VM). The following table describes the base instance with additional compute add-ons available if you need extra performance when scaling up Supabase.

PlanHourly Price USDMonthly Price USDCPUMemoryConnections: DirectConnections: Pooler
Starter$0.01344~$102-core ARM (shared)1 GB60200
Small$0.0206~$152-core ARM (shared)2 GB90200
Medium$0.0822~$602-core ARM (shared)4 GB120200
Large$0.1517~$1102-core ARM (dedicated)8 GB160300
XL$0.2877~$2104-core ARM (dedicated)16 GB240700
2XL$0.562~$4108-core ARM (dedicated)32 GB3801500
4XL$1.32~$96016-core ARM (dedicated)64 GB4803000
8XL$2.562~$1,87032-core ARM (dedicated)128 GB4906000
12XL$3.836~$2,80048-core ARM (dedicated)192 GB5009000
16XL$5.12~$3,73064-core ARM (dedicated)256 GB50012,000

Number of connections above are recommended values.

We charge hourly for additional compute based on your usage. Read more about usage-based billing for compute.

Contact us if you require a custom plan.

Dedicated vs. shared CPU#

All Postgres instances on Supabase are dedicated applications running inside dedicated virtual machines. However, the underlying hardware resources, for example the physical CPU, may be shared between multiple VMs, but appear to the OS as if it is a dedicated hardware CPU. This is commonly referred to as a vCPU (virtual CPU). Cloud providers use these shared hardware resources to save cost—you can upgrade to a larger compute add-on to guarantee a dedicated physical CPU for your instance.

Compute upgrades #

When considering compute upgrades, assess whether your bottlenecks are hardware-constrained or software-constrained. For example, you may want to look into optimizing the number of connections or examining query performance. When you're happy with your Postgres instance's performance, then you can focus on additional compute resources. For example, you can load test your application in staging to understand your compute requirements. You can also start out on a smaller tier, create a report in the Dashboard to monitor your CPU utilization, and upgrade later as needed

Disk IO#

SSD Disks are attached to your servers and the disk performance depends on the compute add-on of your instance. Disk IO refers to two metrics: throughput (Megabits per Second) and IOPS (Input/Output Operations per Second).

PlanMax Disk ThroughputBaseline Disk ThroughputMax IOPSBaseline IOPS
Starter2,085 Mbps87 Mbps11,800 IOPS500 IOPS
Small2,085 Mbps174 Mbps11,800 IOPS1,000 IOPS
Medium2,085 Mbps347 Mbps11,800 IOPS2,000 IOPS
Large4,750 Mbps630 Mbps20,000 IOPS3,600 IOPS
XL4,750 Mbps1,188 Mbps20,000 IOPS6,000 IOPS
2XL4,750 Mbps2,375 Mbps20,000 IOPS12,000 IOPS
4XL4,750 Mbps4,750 Mbps20,000 IOPS20,000 IOPS
8XL9,500 Mbps9,500 Mbps40,000 IOPS40,000 IOPS
12XL14,250 Mbps14,250 Mbps50,000 IOPS50,000 IOPS
16XL19,000 Mbps19,000 Mbps80,000 IOPS80,000 IOPS

Contact us if you require a custom plan.

Bursting and Disk Budget#

Smaller compute instances can burst up to their largest throughput and IOPS for 30 minutes in a day. Beyond that, the performance reverts to the baseline. For example, the free tier can burst up to 2,085 Mbps for 30 minutes a day and reverts to the baseline performance of 87 Mbps. Your disk budget gets replenished throughout the day.

If you need consistent disk performance, choose the 4XL or larger compute add-on which has the same baseline and maximum disk throughput and IOPS.

If you're unsure of how much throughput or IOPS your application requires, you can load test your project and inspect these metrics in the Dashboard. If the Disk IO % consumed stat is more than 1%, it indicates that your workload has burst beyond the baseline IO throughput during the day. If this metric goes to 100%, the workload has used up all available disk budget and will revert to baseline performance. Projects that use any disk budget are good candidates for upgrading to a larger compute add-on with higher baseline throughput.

Postgres Replication Slots and WAL Senders#

Replication Slots and WAL Senders are used to enable Postgres Replication.

The maximum number of replication slots and WAL senders depends on your compute add-on plan, as follows:

PlanMax Replication SlotsMax WAL Senders
Starter55
Small55
Medium55
Large88
XL2424
2XL8080
4XL8080
8XL8080
12XL8080
16XL8080

caution

As mentioned in the Postgres documentation, setting max_replication_slots to a lower value than the current number of replication slots will prevent the server from starting. If you are downgrading your compute add-on, please ensure that you are using fewer slots than the maximum number of replication slots available for the new compute add-on.