# PlanetScale pricing

Prices on this page based on AWS us-east-1 (N. Virginia)
Actual prices vary by cloud provider and region.

Generated at: `2026-11-09T21:43:40.518Z`

## Pricing model overview

- **Neki**: shard compute + routers + network storage + backups + network usage; each shard includes a primary and two replicas
- **Postgres**: cluster size + storage (EBS) + backups + egress + optional dedicated PgBouncer + optional additional replicas
- **Vitess**: cluster size + storage (non-metal) + optional VTGates + replicas/sharding configuration

## Neki SKUs

Neki has no single-node configuration. Each shard uses a highly available
cluster SKU (one primary and two replicas). Shard compute is that monthly
rate times the number of shards on the configuration profile. Extra replicas
use the additional-replica rate.

Every Neki branch has at least one router group. The monthly production
router rate covers the three-router baseline: one router in each of three
availability zones (AZ).

```text
shard compute = highly available SKU rate × shards on the profile
additional replica compute = additional-replica rate × extra replicas × shards
production router compute = router-size monthly rate × observed running routers ÷ 3
development router compute = router-size monthly rate × running routers
```

Network-attached storage, backups, and network transfer are billed separately
from these SKU rates. Metal includes local NVMe in the cluster SKU rate.

### Neki standard (network-attached storage, 3-node per shard)

| SKU     | Architecture | vCPU | Memory  | Monthly price (USD) | Additional replica (USD) |
| ------- | ------------ | ---- | ------- | ------------------- | ------------------------ |
| PS-10   | arm64        | 1/8  | 1 GiB   | $30                 | $10                      |
| PS-10   | x86-64       | 1/8  | 1 GiB   | $39                 | $13                      |
| PS-20   | arm64        | 1/4  | 2 GiB   | $50                 | $17                      |
| PS-20   | x86-64       | 1/4  | 2 GiB   | $59                 | $20                      |
| PS-40   | arm64        | 1/2  | 4 GiB   | $83                 | $28                      |
| PS-40   | x86-64       | 1/2  | 4 GiB   | $99                 | $33                      |
| PS-80   | arm64        | 1    | 8 GiB   | $148                | $50                      |
| PS-80   | x86-64       | 1    | 8 GiB   | $179                | $60                      |
| PS-160  | arm64        | 2    | 16 GiB  | $286                | $96                      |
| PS-160  | x86-64       | 2    | 16 GiB  | $349                | $117                     |
| PS-320  | arm64        | 4    | 32 GiB  | $570                | $190                     |
| PS-320  | x86-64       | 4    | 32 GiB  | $699                | $233                     |
| PS-640  | arm64        | 8    | 64 GiB  | $1,135              | $379                     |
| PS-640  | x86-64       | 8    | 64 GiB  | $1,399              | $467                     |
| PS-1280 | arm64        | 16   | 128 GiB | $2,265              | $755                     |
| PS-1280 | x86-64       | 16   | 128 GiB | $2,799              | $933                     |
| PS-2560 | arm64        | 32   | 256 GiB | $4,529              | $1,510                   |
| PS-2560 | x86-64       | 32   | 256 GiB | $5,599              | $1,867                   |
| PS-3840 | arm64        | 48   | 384 GiB | $12,950             | $4,317                   |
| PS-3840 | x86-64       | 48   | 384 GiB | $12,950             | $4,317                   |
| PS-5120 | arm64        | 64   | 512 GiB | $17,250             | $5,750                   |
| PS-5120 | x86-64       | 64   | 512 GiB | $17,250             | $5,750                   |

### Neki metal (3-node per shard)

| SKU    | Architecture | vCPU | Memory  | Included storage | Monthly price (USD) | Additional replica (USD) |
| ------ | ------------ | ---- | ------- | ---------------- | ------------------- | ------------------------ |
| M-10   | x86-64       | 1/8  | 1 GiB   | 10 GiB           | $40                 | $14                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 10 GiB           | $50                 | $17                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 25 GiB           | $50                 | $17                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 25 GiB           | $50                 | $17                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 50 GiB           | $60                 | $20                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 50 GiB           | $70                 | $24                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 100 GiB          | $90                 | $30                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 100 GiB          | $90                 | $30                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 200 GiB          | $140                | $47                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 200 GiB          | $140                | $47                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 10 GiB           | $70                 | $24                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 10 GiB           | $70                 | $24                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 25 GiB           | $80                 | $27                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 25 GiB           | $80                 | $27                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 50 GiB           | $90                 | $30                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 50 GiB           | $90                 | $30                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 100 GiB          | $110                | $37                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 100 GiB          | $120                | $40                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 200 GiB          | $160                | $54                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 200 GiB          | $170                | $57                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 10 GiB           | $120                | $40                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 10 GiB           | $120                | $40                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 25 GiB           | $130                | $44                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 25 GiB           | $130                | $44                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 50 GiB           | $140                | $47                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 50 GiB           | $140                | $47                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 100 GiB          | $160                | $54                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 100 GiB          | $160                | $54                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 200 GiB          | $210                | $70                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 200 GiB          | $220                | $74                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 400 GiB          | $310                | $104                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 400 GiB          | $320                | $107                     |
| M-40   | arm64        | 1/2  | 4 GiB   | 800 GiB          | $500                | $167                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 800 GiB          | $520                | $174                     |
| M-40   | arm64        | 1/2  | 4 GiB   | 1228.8 GiB       | $690                | $230                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 1228.8 GiB       | $730                | $244                     |
| M-80   | x86-64       | 1    | 8 GiB   | 100 GiB          | $260                | $87                      |
| M-80   | arm64        | 1    | 8 GiB   | 100 GiB          | $270                | $90                      |
| M-80   | arm64        | 1    | 8 GiB   | 200 GiB          | $310                | $104                     |
| M-80   | x86-64       | 1    | 8 GiB   | 200 GiB          | $310                | $104                     |
| M-80   | arm64        | 1    | 8 GiB   | 400 GiB          | $410                | $137                     |
| M-80   | x86-64       | 1    | 8 GiB   | 400 GiB          | $410                | $137                     |
| M-80   | arm64        | 1    | 8 GiB   | 800 GiB          | $600                | $200                     |
| M-80   | x86-64       | 1    | 8 GiB   | 800 GiB          | $620                | $207                     |
| M-80   | arm64        | 1    | 8 GiB   | 1228.8 GiB       | $790                | $264                     |
| M-80   | x86-64       | 1    | 8 GiB   | 1228.8 GiB       | $830                | $277                     |
| M-160  | x86-64       | 2    | 16 GiB  | 100 GiB          | $450                | $150                     |
| M-160  | arm64        | 2    | 16 GiB  | 100 GiB          | $470                | $157                     |
| M-160  | arm64        | 2    | 16 GiB  | 200 GiB          | $510                | $170                     |
| M-160  | x86-64       | 2    | 16 GiB  | 200 GiB          | $510                | $170                     |
| M-160  | arm64        | 2    | 16 GiB  | 118 GiB          | $589                | $197                     |
| M-160  | x86-64       | 2    | 16 GiB  | 118 GiB          | $609                | $203                     |
| M-160  | arm64        | 2    | 16 GiB  | 400 GiB          | $610                | $204                     |
| M-160  | x86-64       | 2    | 16 GiB  | 400 GiB          | $610                | $204                     |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $660                | $220                     |
| M-160  | arm64        | 2    | 16 GiB  | 468 GiB          | $689                | $230                     |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $729                | $243                     |
| M-160  | arm64        | 2    | 16 GiB  | 800 GiB          | $800                | $267                     |
| M-160  | x86-64       | 2    | 16 GiB  | 800 GiB          | $810                | $270                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $810                | $270                     |
| M-160  | arm64        | 2    | 16 GiB  | 1228.8 GiB       | $1,000              | $334                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $1,009              | $337                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1228.8 GiB       | $1,020              | $340                     |
| M-320  | arm64        | 4    | 32 GiB  | 237 GiB          | $1,149              | $383                     |
| M-320  | x86-64       | 4    | 32 GiB  | 237 GiB          | $1,179              | $393                     |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,290              | $430                     |
| M-320  | arm64        | 4    | 32 GiB  | 937 GiB          | $1,349              | $450                     |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,429              | $477                     |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $1,590              | $530                     |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $1,999              | $667                     |
| M-640  | arm64        | 8    | 64 GiB  | 474 GiB          | $2,269              | $757                     |
| M-640  | x86-64       | 8    | 64 GiB  | 474 GiB          | $2,329              | $777                     |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $2,530              | $844                     |
| M-640  | arm64        | 8    | 64 GiB  | 1875 GiB         | $2,679              | $893                     |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $2,839              | $947                     |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $3,140              | $1,047                   |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $3,959              | $1,320                   |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $4,690              | $1,564                   |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $5,929              | $1,977                   |
| M-1280 | arm64        | 16   | 128 GiB | 950 GiB          | $4,499              | $1,500                   |
| M-1280 | x86-64       | 16   | 128 GiB | 950 GiB          | $4,629              | $1,543                   |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $5,020              | $1,674                   |
| M-1280 | arm64        | 16   | 128 GiB | 3840 GiB         | $5,319              | $1,773                   |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $5,639              | $1,880                   |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $9,330              | $3,110                   |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $11,829             | $3,943                   |
| M-2560 | arm64        | 32   | 256 GiB | 1945.6 GiB       | $8,979              | $2,993                   |
| M-2560 | x86-64       | 32   | 256 GiB | 1945.6 GiB       | $9,229              | $3,077                   |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $10,000             | $3,334                   |
| M-2560 | arm64        | 32   | 256 GiB | 7680 GiB         | $10,609             | $3,537                   |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $11,249             | $3,750                   |
| M-3840 | arm64        | 48   | 384 GiB | 2918.4 GiB       | $13,449             | $4,483                   |
| M-3840 | x86-64       | 48   | 384 GiB | 2918.4 GiB       | $13,829             | $4,610                   |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $14,980             | $4,994                   |
| M-3840 | arm64        | 48   | 384 GiB | 11520 GiB        | $15,899             | $5,300                   |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $16,859             | $5,620                   |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $18,630             | $6,210                   |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $23,629             | $7,877                   |
| M-5120 | arm64        | 64   | 512 GiB | 3891.2 GiB       | $17,919             | $5,973                   |
| M-5120 | x86-64       | 64   | 512 GiB | 3891.2 GiB       | $18,439             | $6,147                   |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $19,960             | $6,654                   |
| M-5120 | arm64        | 64   | 512 GiB | 15360 GiB        | $21,189             | $7,063                   |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $22,469             | $7,490                   |
| M-5760 | x86-64       | 72   | 576 GiB | 46080 GiB        | $35,429             | $11,810                  |
| M-7680 | arm64        | 96   | 768 GiB | 5836.8 GiB       | $26,869             | $8,957                   |
| M-7680 | arm64        | 96   | 768 GiB | 23040 GiB        | $31,759             | $10,587                  |
| M-7680 | x86-64       | 96   | 768 GiB | 23040 GiB        | $33,689             | $11,230                  |
| M-7680 | x86-64       | 96   | 768 GiB | 61440 GiB        | $47,229             | $15,743                  |

### Neki routers

| SKU     | vCPU | Memory    | Monthly price (USD) |
| ------- | ---- | --------- | ------------------- |
| NKR-0   | 1/32 | 115 MiB   | $6                  |
| NKR-1   | 1/16 | 128 MiB   | $11                 |
| NKR-2   | 1/8  | 256 MiB   | $22                 |
| NKR-5   | 1/4  | 512 MiB   | $50                 |
| NKR-10  | 1/2  | 1 GiB     | $90                 |
| NKR-20  | 1    | 2 GiB     | $170                |
| NKR-80  | 3    | 4.8 GiB   | $680                |
| NKR-160 | 7    | 9.69 GiB  | $1,340              |
| NKR-320 | 14   | 19.38 GiB | $2,650              |
| NKR-640 | 27   | 38.75 GiB | $5,260              |


## Postgres SKUs

### Postgres EBS HA (3-node: 1 primary + 2 replicas)

| SKU     | Architecture | vCPU | Memory  | Monthly price (USD) |
| ------- | ------------ | ---- | ------- | ------------------- |
| PS-5    | x86-64       | 1/16 | 512 MiB | $15                 |
| PS-5    | arm64        | 1/16 | 512 MiB | $15                 |
| PS-10   | arm64        | 1/8  | 1 GiB   | $30                 |
| PS-10   | x86-64       | 1/8  | 1 GiB   | $39                 |
| PS-20   | arm64        | 1/4  | 2 GiB   | $50                 |
| PS-20   | x86-64       | 1/4  | 2 GiB   | $59                 |
| PS-40   | arm64        | 1/2  | 4 GiB   | $83                 |
| PS-40   | x86-64       | 1/2  | 4 GiB   | $99                 |
| PS-80   | arm64        | 1    | 8 GiB   | $148                |
| PS-80   | x86-64       | 1    | 8 GiB   | $179                |
| PS-160  | arm64        | 2    | 16 GiB  | $286                |
| PS-160  | x86-64       | 2    | 16 GiB  | $349                |
| PS-320  | arm64        | 4    | 32 GiB  | $570                |
| PS-320  | x86-64       | 4    | 32 GiB  | $699                |
| PS-640  | arm64        | 8    | 64 GiB  | $1,135              |
| PS-640  | x86-64       | 8    | 64 GiB  | $1,399              |
| PS-1280 | arm64        | 16   | 128 GiB | $2,265              |
| PS-1280 | x86-64       | 16   | 128 GiB | $2,799              |
| PS-2560 | arm64        | 32   | 256 GiB | $4,529              |
| PS-2560 | x86-64       | 32   | 256 GiB | $5,599              |

### Postgres EBS non-HA (single node)

| SKU     | Architecture | vCPU | Memory  | Monthly price (USD) |
| ------- | ------------ | ---- | ------- | ------------------- |
| PS-5    | x86-64       | 1/16 | 512 MiB | $5                  |
| PS-5    | arm64        | 1/16 | 512 MiB | $5                  |
| PS-10   | arm64        | 1/8  | 1 GiB   | $10                 |
| PS-10   | x86-64       | 1/8  | 1 GiB   | $13                 |
| PS-20   | arm64        | 1/4  | 2 GiB   | $17                 |
| PS-20   | x86-64       | 1/4  | 2 GiB   | $20                 |
| PS-40   | arm64        | 1/2  | 4 GiB   | $28                 |
| PS-40   | x86-64       | 1/2  | 4 GiB   | $33                 |
| PS-80   | arm64        | 1    | 8 GiB   | $50                 |
| PS-80   | x86-64       | 1    | 8 GiB   | $60                 |
| PS-160  | arm64        | 2    | 16 GiB  | $96                 |
| PS-160  | x86-64       | 2    | 16 GiB  | $117                |
| PS-320  | arm64        | 4    | 32 GiB  | $190                |
| PS-320  | x86-64       | 4    | 32 GiB  | $233                |
| PS-640  | arm64        | 8    | 64 GiB  | $379                |
| PS-640  | x86-64       | 8    | 64 GiB  | $467                |
| PS-1280 | arm64        | 16   | 128 GiB | $755                |
| PS-1280 | x86-64       | 16   | 128 GiB | $933                |
| PS-2560 | arm64        | 32   | 256 GiB | $1,510              |
| PS-2560 | x86-64       | 32   | 256 GiB | $1,867              |

### Postgres metal (3-node: 1 primary + 2 replicas)

| SKU    | Architecture | vCPU | Memory  | Included storage | Monthly price (USD) |
| ------ | ------------ | ---- | ------- | ---------------- | ------------------- |
| M-10   | arm64        | 1/8  | 1 GiB   | 10 GiB           | $50                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 10 GiB           | $60                 |
| M-10   | arm64        | 1/8  | 1 GiB   | 25 GiB           | $60                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 25 GiB           | $70                 |
| M-10   | arm64        | 1/8  | 1 GiB   | 50 GiB           | $80                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 50 GiB           | $90                 |
| M-10   | arm64        | 1/8  | 1 GiB   | 100 GiB          | $110                |
| M-10   | x86-64       | 1/8  | 1 GiB   | 100 GiB          | $120                |
| M-10   | arm64        | 1/8  | 1 GiB   | 200 GiB          | $180                |
| M-10   | x86-64       | 1/8  | 1 GiB   | 200 GiB          | $200                |
| M-20   | arm64        | 1/4  | 2 GiB   | 10 GiB           | $80                 |
| M-20   | x86-64       | 1/4  | 2 GiB   | 10 GiB           | $90                 |
| M-20   | arm64        | 1/4  | 2 GiB   | 25 GiB           | $90                 |
| M-20   | x86-64       | 1/4  | 2 GiB   | 25 GiB           | $100                |
| M-20   | arm64        | 1/4  | 2 GiB   | 50 GiB           | $110                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 50 GiB           | $120                |
| M-20   | arm64        | 1/4  | 2 GiB   | 100 GiB          | $140                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 100 GiB          | $150                |
| M-20   | arm64        | 1/4  | 2 GiB   | 200 GiB          | $210                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 200 GiB          | $230                |
| M-40   | arm64        | 1/2  | 4 GiB   | 10 GiB           | $150                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 10 GiB           | $160                |
| M-40   | arm64        | 1/2  | 4 GiB   | 25 GiB           | $160                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 25 GiB           | $170                |
| M-40   | arm64        | 1/2  | 4 GiB   | 50 GiB           | $180                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 50 GiB           | $190                |
| M-40   | arm64        | 1/2  | 4 GiB   | 100 GiB          | $200                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 100 GiB          | $210                |
| M-40   | arm64        | 1/2  | 4 GiB   | 200 GiB          | $270                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 200 GiB          | $290                |
| M-40   | arm64        | 1/2  | 4 GiB   | 400 GiB          | $330                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 400 GiB          | $340                |
| M-40   | arm64        | 1/2  | 4 GiB   | 800 GiB          | $480                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 800 GiB          | $490                |
| M-40   | arm64        | 1/2  | 4 GiB   | 1228.8 GiB       | $610                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 1228.8 GiB       | $620                |
| M-80   | arm64        | 1    | 8 GiB   | 100 GiB          | $320                |
| M-80   | x86-64       | 1    | 8 GiB   | 100 GiB          | $340                |
| M-80   | arm64        | 1    | 8 GiB   | 200 GiB          | $390                |
| M-80   | x86-64       | 1    | 8 GiB   | 200 GiB          | $410                |
| M-80   | arm64        | 1    | 8 GiB   | 400 GiB          | $460                |
| M-80   | x86-64       | 1    | 8 GiB   | 400 GiB          | $480                |
| M-80   | arm64        | 1    | 8 GiB   | 800 GiB          | $600                |
| M-80   | x86-64       | 1    | 8 GiB   | 800 GiB          | $610                |
| M-80   | arm64        | 1    | 8 GiB   | 1228.8 GiB       | $740                |
| M-80   | x86-64       | 1    | 8 GiB   | 1228.8 GiB       | $750                |
| M-160  | arm64        | 2    | 16 GiB  | 100 GiB          | $570                |
| M-160  | x86-64       | 2    | 16 GiB  | 100 GiB          | $580                |
| M-160  | arm64        | 2    | 16 GiB  | 118 GiB          | $589                |
| M-160  | x86-64       | 2    | 16 GiB  | 118 GiB          | $609                |
| M-160  | arm64        | 2    | 16 GiB  | 200 GiB          | $630                |
| M-160  | x86-64       | 2    | 16 GiB  | 200 GiB          | $650                |
| M-160  | arm64        | 2    | 16 GiB  | 400 GiB          | $680                |
| M-160  | arm64        | 2    | 16 GiB  | 468 GiB          | $689                |
| M-160  | x86-64       | 2    | 16 GiB  | 400 GiB          | $720                |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $729                |
| M-160  | arm64        | 2    | 16 GiB  | 800 GiB          | $800                |
| M-160  | x86-64       | 2    | 16 GiB  | 800 GiB          | $830                |
| M-160  | arm64        | 2    | 16 GiB  | 1228.8 GiB       | $980                |
| M-160  | x86-64       | 2    | 16 GiB  | 1228.8 GiB       | $1,000              |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $1,009              |
| M-320  | arm64        | 4    | 32 GiB  | 237 GiB          | $1,149              |
| M-320  | x86-64       | 4    | 32 GiB  | 237 GiB          | $1,179              |
| M-320  | arm64        | 4    | 32 GiB  | 937 GiB          | $1,349              |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,429              |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $1,999              |
| M-640  | arm64        | 8    | 64 GiB  | 474 GiB          | $2,269              |
| M-640  | x86-64       | 8    | 64 GiB  | 474 GiB          | $2,329              |
| M-640  | arm64        | 8    | 64 GiB  | 1875 GiB         | $2,679              |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $2,839              |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $3,959              |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $5,929              |
| M-1280 | arm64        | 16   | 128 GiB | 950 GiB          | $4,499              |
| M-1280 | x86-64       | 16   | 128 GiB | 950 GiB          | $4,629              |
| M-1280 | arm64        | 16   | 128 GiB | 3840 GiB         | $5,319              |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $5,639              |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $11,829             |
| M-2560 | arm64        | 32   | 256 GiB | 1945.6 GiB       | $8,979              |
| M-2560 | x86-64       | 32   | 256 GiB | 1945.6 GiB       | $9,229              |
| M-2560 | arm64        | 32   | 256 GiB | 7680 GiB         | $10,609             |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $11,249             |
| M-3840 | arm64        | 48   | 384 GiB | 2918.4 GiB       | $13,449             |
| M-3840 | x86-64       | 48   | 384 GiB | 2918.4 GiB       | $13,829             |
| M-3840 | arm64        | 48   | 384 GiB | 11520 GiB        | $15,899             |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $16,859             |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $23,629             |
| M-5120 | arm64        | 64   | 512 GiB | 3891.2 GiB       | $17,919             |
| M-5120 | x86-64       | 64   | 512 GiB | 3891.2 GiB       | $18,439             |
| M-5120 | arm64        | 64   | 512 GiB | 15360 GiB        | $21,189             |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $22,469             |
| M-5760 | x86-64       | 72   | 576 GiB | 46080 GiB        | $35,429             |
| M-7680 | arm64        | 96   | 768 GiB | 5836.8 GiB       | $26,869             |
| M-7680 | arm64        | 96   | 768 GiB | 23040 GiB        | $31,759             |
| M-7680 | x86-64       | 96   | 768 GiB | 23040 GiB        | $33,689             |
| M-7680 | x86-64       | 96   | 768 GiB | 61440 GiB        | $47,229             |

## Vitess SKUs

### Vitess non-metal (3-node: 1 primary + 2 replicas)

| SKU     | Architecture | vCPU | Memory  | Monthly price (USD) |
| ------- | ------------ | ---- | ------- | ------------------- |
| PS-10   | x86-64       | 1/8  | 1 GiB   | $39                 |
| PS-20   | x86-64       | 1/4  | 2 GiB   | $59                 |
| PS-40   | x86-64       | 1/2  | 4 GiB   | $99                 |
| PS-80   | x86-64       | 1    | 8 GiB   | $179                |
| PS-160  | x86-64       | 2    | 16 GiB  | $349                |
| PS-320  | x86-64       | 4    | 32 GiB  | $699                |
| PS-400  | x86-64       | 8    | 32 GiB  | $999                |
| PS-640  | x86-64       | 8    | 64 GiB  | $1,399              |
| PS-700  | x86-64       | 16   | 32 GiB  | $1,799              |
| PS-900  | x86-64       | 16   | 64 GiB  | $1,999              |
| PS-1280 | x86-64       | 16   | 128 GiB | $2,799              |
| PS-1400 | x86-64       | 32   | 64 GiB  | $3,599              |
| PS-1800 | x86-64       | 32   | 128 GiB | $3,999              |
| PS-2560 | x86-64       | 32   | 256 GiB | $5,599              |
| PS-2100 | x86-64       | 48   | 96 GiB  | $5,399              |
| PS-2700 | x86-64       | 48   | 192 GiB | $5,999              |
| PS-2800 | x86-64       | 64   | 128 GiB | $7,199              |

### Vitess metal (3-node: 1 primary + 2 replicas)

| SKU    | Architecture | vCPU | Memory  | Included storage | Monthly price (USD) |
| ------ | ------------ | ---- | ------- | ---------------- | ------------------- |
| M-160  | x86-64       | 2    | 16 GiB  | 110 GiB          | $609                |
| M-160  | x86-64       | 2    | 16 GiB  | 460 GiB          | $758                |
| M-160  | x86-64       | 2    | 16 GiB  | 1241 GiB         | $1,009              |
| M-320  | x86-64       | 4    | 32 GiB  | 229 GiB          | $1,209              |
| M-320  | x86-64       | 4    | 32 GiB  | 929 GiB          | $1,506              |
| M-320  | x86-64       | 4    | 32 GiB  | 2490 GiB         | $2,009              |
| M-400  | x86-64       | 8    | 32 GiB  | 466 GiB          | $1,999              |
| M-640  | x86-64       | 8    | 64 GiB  | 466 GiB          | $2,419              |
| M-640  | x86-64       | 8    | 64 GiB  | 1866 GiB         | $3,002              |
| M-640  | x86-64       | 8    | 64 GiB  | 4992 GiB         | $4,019              |
| M-960  | x86-64       | 12   | 96 GiB  | 7485 GiB         | $6,179              |
| M-900  | x86-64       | 16   | 64 GiB  | 942 GiB          | $3,669              |
| M-1280 | x86-64       | 16   | 128 GiB | 942 GiB          | $4,829              |
| M-1280 | x86-64       | 16   | 128 GiB | 3739 GiB         | $6,005              |
| M-1920 | x86-64       | 24   | 192 GiB | 14992 GiB        | $12,359             |
| M-2560 | x86-64       | 32   | 256 GiB | 1891 GiB         | $9,649              |
| M-2560 | x86-64       | 32   | 256 GiB | 7492 GiB         | $11,989             |
| M-3840 | x86-64       | 48   | 384 GiB | 2842 GiB         | $15,319             |
| M-3840 | x86-64       | 48   | 384 GiB | 11242 GiB        | $18,710             |
| M-5120 | x86-64       | 64   | 512 GiB | 3792 GiB         | $19,549             |
| M-5120 | x86-64       | 64   | 512 GiB | 14992 GiB        | $23,979             |

## Region-specific requests

By default, this endpoint returns pricing for `us-east` (AWS us-east-1).

To fetch pricing for another region, add the `region` query parameter:

`https://planetscale.com/pricing.md?region={region_identifier}`

Example:

`https://planetscale.com/pricing.md?region=eu-west`

The `region` value must match one of the supported identifiers below.

| Region identifier           | Region                      |
| --------------------------- | --------------------------- |
| ap-northeast                | AWS ap-northeast-1          |
| ap-south                    | AWS ap-south-1              |
| ap-southeast                | AWS ap-southeast-1          |
| aws-ap-southeast-2          | AWS ap-southeast-2          |
| aws-ca-central-1            | AWS ca-central-1            |
| eu-central                  | AWS eu-central-1            |
| eu-west                     | AWS eu-west-1               |
| aws-eu-west-2               | AWS eu-west-2               |
| aws-sa-east-1               | AWS sa-east-1               |
| us-east                     | AWS us-east-1               |
| aws-us-east-2               | AWS us-east-2               |
| us-west                     | AWS us-west-2               |
| azure-centralus             | Azure centralus             |
| azure-eastus2               | Azure eastus2               |
| azure-westeurope            | Azure westeurope            |
| gcp-asia-northeast3         | GCP asia-northeast3         |
| gcp-europe-west1            | GCP europe-west1            |
| gcp-europe-west4            | GCP europe-west4            |
| gcp-northamerica-northeast1 | GCP northamerica-northeast1 |
| gcp-us-central1             | GCP us-central1             |
| gcp-us-east1                | GCP us-east1                |
| gcp-us-east4                | GCP us-east4                |

## Query live prices from Postgres

You and your agent can query our pricing data using SQL. Connection details
are also on the [pricing page](/pricing#pricing-database).

The tables above are a snapshot for one region. The same catalog is a public,
read-only Postgres database. Use it when you need another region, a comparison
across clouds, or a calculated total for a topology.

The SQL catalog currently contains Postgres and Vitess cluster prices. Neki
SKU rates are in the tables above, not in this database.

### Connection

Role: `SELECT` only on `public.planetscale_prices`. SSL is required.

URI:

```
postgresql://pscale_api_hhdcchpiodja.dzken160d27q:pscale_pw_wa09rWwuQZQEWGS2eL0v7BlSGriZ6xgv@aws-us-east-1-3.pg.psdb.cloud:6432/postgres?sslmode=verify-full&sslrootcert=system
```

libpq:

```
host=aws-us-east-1-3.pg.psdb.cloud
port=6432
user=pscale_api_hhdcchpiodja.dzken160d27q
password=pscale_pw_bicEnt36PGCbgi8ZKnteKpRMCkARcoDy
dbname=postgres
sslmode=verify-full
sslrootcert=system
```

If your client rejects `sslrootcert=system`, point `sslrootcert` at the OS CA
bundle (on macOS, `/etc/ssl/cert.pem`).

This role cannot insert, update, delete, create objects, or read any other
table. Traffic Control is enforced on this user. Oversized or abusive queries
fail with SQLSTATE `53000` and a `[PGINSIGHTS] Traffic Control:` message.
Keep statements simple. Filter in `WHERE`. Do not run cartesian joins or
unbounded exploratory scans.

### How to read a row

Each row is one **priced cluster**, not one VM.

| Column                                   | Meaning                                                                                                                                                                 |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `product`                                | `Postgres` or `Vitess`                                                                                                                                                  |
| `machine_sku`                            | Cluster size. `PS-*` is network-attached disk. `M-*` is metal (local NVMe). AWS ARM sizes end in `-ARM` (example: `PS-160-ARM`). GCP `PS-*` rows have no `-ARM` suffix. |
| `disk_sku`                               | Empty string for `PS-*`. `D-METAL-*` for metal included NVMe.                                                                                                           |
| `replication_factor`                     | `1` = single node. `3` = HA (primary + 2 replicas).                                                                                                                     |
| `provider`                               | `AWS` or `GCP`                                                                                                                                                          |
| `region`                                 | Cloud region id, e.g. `us-east-1`, `eu-west-1`, `us-east4`                                                                                                              |
| `price`                                  | Monthly cluster price in whole USD                                                                                                                                      |
| `db_slice_vcpus`, `db_slice_ram_mib`     | Customer-facing CPU and RAM for the SKU                                                                                                                                 |
| `db_instance_*`                          | Host instance the slice runs on                                                                                                                                         |
| `nas_volume_size_gib`, `nas_volume_type` | Included network volume for `PS-*` (starting size, usually `gp3`)                                                                                                       |
| `local_partition_size_bytes`             | Included metal disk when present                                                                                                                                        |
| `network_transfer_gb`                    | Included egress in the SKU, in GB                                                                                                                                       |
| `availability_zones`                     | JSON array of provider AZ ids                                                                                                                                           |
| `natural_sku_order`                      | Stable sort key from small to large                                                                                                                                     |

`price` is the cluster SKU only. It does not include extra EBS beyond the
included volume, extra backups, extra egress, dedicated PgBouncer, or extra
replicas beyond `replication_factor`.

Not every SKU exists in every region. São Paulo (`sa-east-1`) has metal
Postgres rows and no `PS-*` Postgres rows. If a lookup returns zero rows, the
configuration is not sold there. Do not invent a price.

Vitess in this catalog is mostly x86 `PS-*` / `M-*`. There is no
`PS-160-ARM` Vitess row.

### Pricing with SQL

Look up one cluster:

```sql
SELECT machine_sku, replication_factor, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'PS-160-ARM'
  AND provider = 'AWS'
  AND region = 'us-east-1'
  AND disk_sku = ''
  AND replication_factor = 3;
```

That is a 3-node HA Postgres PS-160 on ARM in Virginia. Expect `286`.

HA vs single node:

```sql
SELECT replication_factor, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'PS-160-ARM'
  AND provider = 'AWS'
  AND region = 'us-east-1'
  AND disk_sku = ''
ORDER BY replication_factor;
```

ARM vs x86 in the same region:

```sql
SELECT machine_sku, db_instance_architecture, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku IN ('PS-160', 'PS-160-ARM')
  AND provider = 'AWS'
  AND region = 'us-east-1'
  AND disk_sku = ''
  AND replication_factor = 3;
```

Multi-region total: sum independent clusters. A “US + EU” topology is two
rows, not one:

```sql
SELECT region, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'PS-160-ARM'
  AND provider = 'AWS'
  AND region IN ('us-east-1', 'eu-west-1')
  AND disk_sku = ''
  AND replication_factor = 3;

SELECT SUM(price) AS monthly_usd
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'PS-160-ARM'
  AND provider = 'AWS'
  AND region IN ('us-east-1', 'eu-west-1')
  AND disk_sku = ''
  AND replication_factor = 3;
```

Metal: pick both machine and disk:

```sql
SELECT machine_sku, disk_sku, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'M-160-ARM'
  AND disk_sku = 'D-METAL-200'
  AND provider = 'AWS'
  AND region = 'us-east-1'
  AND replication_factor = 3;
```

Cheapest HA Postgres that meets a CPU/RAM floor:

```sql
SELECT machine_sku, db_slice_vcpus, db_slice_ram_mib, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND provider = 'AWS'
  AND region = 'us-east-1'
  AND replication_factor = 3
  AND disk_sku = ''
  AND db_slice_vcpus >= 2
  AND db_slice_ram_mib >= 16384
ORDER BY price, natural_sku_order
LIMIT 5;
```

List regions that sell a SKU:

```sql
SELECT provider, region, price
FROM planetscale_prices
WHERE product = 'Postgres'
  AND machine_sku = 'PS-160-ARM'
  AND disk_sku = ''
  AND replication_factor = 3
ORDER BY price, provider, region;
```

### Agent rules

1. Connect with the URI above. Run `SELECT` only.
2. Price from `planetscale_prices.price`. Do not hardcode SKU prices from
   memory if they disagree with a query.
3. Specify `product`, `provider`, `region`, `machine_sku`,
   `replication_factor`, and `disk_sku` (`''` for `PS-*`).
4. One row = one cluster. Multi-region or primary + DR = `SUM(price)` over
   those rows.
5. If the query returns no rows, say the SKU is unavailable in that region.
   Suggest the closest row that does exist.
6. Say what is **not** in `price` (extra storage, backups, egress above the
   included GB, dedicated PgBouncer).
7. Prefer ARM (`%-ARM`) on AWS when the user did not ask for x86.
8. Add `LIMIT` while exploring. The table is small (~2,450 rows); still
   filter. If you get SQLSTATE `53000`, simplify the query and retry.
