# PlanetScale pricing

Prices on this page based on AWS ap-south-1 (Mumbai)
Actual prices vary by cloud provider and region.

Generated at: `2026-11-26T08:09:05.562Z`

## 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   | $22                 | $8                       |
| PS-10   | x86-64       | 1/8  | 1 GiB   | $25                 | $9                       |
| PS-20   | arm64        | 1/4  | 2 GiB   | $33                 | $11                      |
| PS-20   | x86-64       | 1/4  | 2 GiB   | $38                 | $13                      |
| PS-40   | arm64        | 1/2  | 4 GiB   | $54                 | $18                      |
| PS-40   | x86-64       | 1/2  | 4 GiB   | $64                 | $22                      |
| PS-80   | arm64        | 1    | 8 GiB   | $96                 | $32                      |
| PS-80   | x86-64       | 1    | 8 GiB   | $116                | $39                      |
| PS-160  | arm64        | 2    | 16 GiB  | $186                | $62                      |
| PS-160  | x86-64       | 2    | 16 GiB  | $227                | $76                      |
| PS-320  | arm64        | 4    | 32 GiB  | $370                | $124                     |
| PS-320  | x86-64       | 4    | 32 GiB  | $454                | $152                     |
| PS-640  | arm64        | 8    | 64 GiB  | $1,980              | $660                     |
| PS-640  | x86-64       | 8    | 64 GiB  | $1,980              | $660                     |
| PS-1280 | arm64        | 16   | 128 GiB | $3,900              | $1,300                   |
| PS-1280 | x86-64       | 16   | 128 GiB | $3,900              | $1,300                   |
| PS-2560 | arm64        | 32   | 256 GiB | $7,750              | $2,584                   |
| PS-2560 | x86-64       | 32   | 256 GiB | $7,750              | $2,584                   |
| PS-3840 | arm64        | 48   | 384 GiB | $11,590             | $3,864                   |
| PS-3840 | x86-64       | 48   | 384 GiB | $11,590             | $3,864                   |
| PS-5120 | arm64        | 64   | 512 GiB | $15,430             | $5,144                   |
| PS-5120 | x86-64       | 64   | 512 GiB | $15,430             | $5,144                   |

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

| SKU    | Architecture | vCPU | Memory  | Included storage | Monthly price (USD) | Additional replica (USD) |
| ------ | ------------ | ---- | ------- | ---------------- | ------------------- | ------------------------ |
| M-10   | arm64        | 1/8  | 1 GiB   | 10 GiB           | $50                 | $17                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 10 GiB           | $50                 | $17                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 25 GiB           | $60                 | $20                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 25 GiB           | $60                 | $20                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 50 GiB           | $90                 | $30                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 50 GiB           | $90                 | $30                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 100 GiB          | $130                | $44                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 100 GiB          | $140                | $47                      |
| M-10   | arm64        | 1/8  | 1 GiB   | 200 GiB          | $220                | $74                      |
| M-10   | x86-64       | 1/8  | 1 GiB   | 200 GiB          | $240                | $80                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 10 GiB           | $60                 | $20                      |
| M-20   | arm64        | 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           | $100                | $34                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 50 GiB           | $100                | $34                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 100 GiB          | $150                | $50                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 100 GiB          | $150                | $50                      |
| M-20   | arm64        | 1/4  | 2 GiB   | 200 GiB          | $240                | $80                      |
| M-20   | x86-64       | 1/4  | 2 GiB   | 200 GiB          | $250                | $84                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 10 GiB           | $90                 | $30                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 10 GiB           | $100                | $34                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 25 GiB           | $110                | $37                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 25 GiB           | $120                | $40                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 50 GiB           | $130                | $44                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 50 GiB           | $140                | $47                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 100 GiB          | $180                | $60                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 100 GiB          | $180                | $60                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 200 GiB          | $280                | $94                      |
| M-40   | x86-64       | 1/2  | 4 GiB   | 200 GiB          | $280                | $94                      |
| M-40   | arm64        | 1/2  | 4 GiB   | 400 GiB          | $460                | $154                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 400 GiB          | $480                | $160                     |
| M-40   | arm64        | 1/2  | 4 GiB   | 800 GiB          | $830                | $277                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 800 GiB          | $880                | $294                     |
| M-40   | arm64        | 1/2  | 4 GiB   | 1228.8 GiB       | $1,200              | $400                     |
| M-40   | x86-64       | 1/2  | 4 GiB   | 1228.8 GiB       | $1,280              | $427                     |
| M-80   | x86-64       | 1    | 8 GiB   | 100 GiB          | $250                | $84                      |
| M-80   | arm64        | 1    | 8 GiB   | 100 GiB          | $260                | $87                      |
| M-80   | x86-64       | 1    | 8 GiB   | 200 GiB          | $340                | $114                     |
| M-80   | arm64        | 1    | 8 GiB   | 200 GiB          | $350                | $117                     |
| M-80   | arm64        | 1    | 8 GiB   | 400 GiB          | $530                | $177                     |
| M-80   | x86-64       | 1    | 8 GiB   | 400 GiB          | $540                | $180                     |
| M-80   | arm64        | 1    | 8 GiB   | 800 GiB          | $900                | $300                     |
| M-80   | x86-64       | 1    | 8 GiB   | 800 GiB          | $940                | $314                     |
| M-80   | arm64        | 1    | 8 GiB   | 1228.8 GiB       | $1,270              | $424                     |
| M-80   | x86-64       | 1    | 8 GiB   | 1228.8 GiB       | $1,340              | $447                     |
| M-160  | x86-64       | 2    | 16 GiB  | 100 GiB          | $370                | $124                     |
| M-160  | arm64        | 2    | 16 GiB  | 100 GiB          | $400                | $134                     |
| M-160  | x86-64       | 2    | 16 GiB  | 200 GiB          | $470                | $157                     |
| M-160  | arm64        | 2    | 16 GiB  | 200 GiB          | $490                | $164                     |
| M-160  | x86-64       | 2    | 16 GiB  | 118 GiB          | $639                | $213                     |
| M-160  | arm64        | 2    | 16 GiB  | 400 GiB          | $670                | $224                     |
| M-160  | x86-64       | 2    | 16 GiB  | 400 GiB          | $670                | $224                     |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $779                | $260                     |
| M-160  | arm64        | 2    | 16 GiB  | 468 GiB          | $782                | $261                     |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $830                | $277                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $1,013              | $338                     |
| M-160  | arm64        | 2    | 16 GiB  | 800 GiB          | $1,040              | $347                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $1,060              | $354                     |
| M-160  | x86-64       | 2    | 16 GiB  | 800 GiB          | $1,070              | $357                     |
| M-160  | arm64        | 2    | 16 GiB  | 1228.8 GiB       | $1,410              | $470                     |
| M-160  | x86-64       | 2    | 16 GiB  | 1228.8 GiB       | $1,470              | $490                     |
| M-320  | x86-64       | 4    | 32 GiB  | 237 GiB          | $1,238              | $413                     |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,524              | $508                     |
| M-320  | arm64        | 4    | 32 GiB  | 937 GiB          | $1,530              | $510                     |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,610              | $537                     |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $1,994              | $665                     |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $2,070              | $690                     |
| M-640  | x86-64       | 8    | 64 GiB  | 474 GiB          | $2,445              | $815                     |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $3,027              | $1,009                   |
| M-640  | arm64        | 8    | 64 GiB  | 1875 GiB         | $3,039              | $1,013                   |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $3,160              | $1,054                   |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $3,955              | $1,319                   |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $4,080              | $1,360                   |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $5,915              | $1,972                   |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $6,100              | $2,034                   |
| M-1280 | x86-64       | 16   | 128 GiB | 950 GiB          | $4,860              | $1,620                   |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $6,011              | $2,004                   |
| M-1280 | arm64        | 16   | 128 GiB | 3840 GiB         | $6,035              | $2,012                   |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $6,270              | $2,090                   |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $11,787             | $3,929                   |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $12,140             | $4,047                   |
| M-2560 | x86-64       | 32   | 256 GiB | 1945.6 GiB       | $9,690              | $3,230                   |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $11,988             | $3,996                   |
| M-2560 | arm64        | 32   | 256 GiB | 7680 GiB         | $12,035             | $4,012                   |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $12,490             | $4,164                   |
| M-3840 | x86-64       | 48   | 384 GiB | 2918.4 GiB       | $14,520             | $4,840                   |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $17,966             | $5,989                   |
| M-3840 | arm64        | 48   | 384 GiB | 11520 GiB        | $18,036             | $6,012                   |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $18,710             | $6,237                   |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $23,540             | $7,847                   |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $24,240             | $8,080                   |
| M-5120 | x86-64       | 64   | 512 GiB | 3891.2 GiB       | $19,361             | $6,454                   |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $23,932             | $7,978                   |
| M-5120 | arm64        | 64   | 512 GiB | 15360 GiB        | $24,042             | $8,014                   |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $24,930             | $8,310                   |
| M-5760 | x86-64       | 72   | 576 GiB | 46080 GiB        | $36,330             | $12,110                  |
| M-7680 | arm64        | 96   | 768 GiB | 23040 GiB        | $36,029             | $12,010                  |
| M-7680 | x86-64       | 96   | 768 GiB | 23040 GiB        | $37,370             | $12,457                  |
| M-7680 | x86-64       | 96   | 768 GiB | 61440 GiB        | $48,430             | $16,144                  |

### 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,330              |
| NKR-320 | 14   | 19.38 GiB | $2,630              |
| NKR-640 | 27   | 38.75 GiB | $5,230              |


## 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   | $22                 |
| PS-10  | x86-64       | 1/8  | 1 GiB   | $25                 |
| PS-20  | arm64        | 1/4  | 2 GiB   | $33                 |
| PS-20  | x86-64       | 1/4  | 2 GiB   | $38                 |
| PS-40  | arm64        | 1/2  | 4 GiB   | $54                 |
| PS-40  | x86-64       | 1/2  | 4 GiB   | $64                 |
| PS-80  | arm64        | 1    | 8 GiB   | $96                 |
| PS-80  | x86-64       | 1    | 8 GiB   | $116                |
| PS-160 | arm64        | 2    | 16 GiB  | $186                |
| PS-160 | x86-64       | 2    | 16 GiB  | $227                |
| PS-320 | arm64        | 4    | 32 GiB  | $370                |
| PS-320 | x86-64       | 4    | 32 GiB  | $454                |

### 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   | $8                  |
| PS-10  | x86-64       | 1/8  | 1 GiB   | $9                  |
| PS-20  | arm64        | 1/4  | 2 GiB   | $11                 |
| PS-20  | x86-64       | 1/4  | 2 GiB   | $13                 |
| PS-40  | arm64        | 1/2  | 4 GiB   | $18                 |
| PS-40  | x86-64       | 1/2  | 4 GiB   | $22                 |
| PS-80  | arm64        | 1    | 8 GiB   | $32                 |
| PS-80  | x86-64       | 1    | 8 GiB   | $39                 |
| PS-160 | arm64        | 2    | 16 GiB  | $62                 |
| PS-160 | x86-64       | 2    | 16 GiB  | $76                 |
| PS-320 | arm64        | 4    | 32 GiB  | $124                |
| PS-320 | x86-64       | 4    | 32 GiB  | $152                |

### 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           | $60                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 10 GiB           | $70                 |
| M-10   | arm64        | 1/8  | 1 GiB   | 25 GiB           | $70                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 25 GiB           | $80                 |
| M-10   | arm64        | 1/8  | 1 GiB   | 50 GiB           | $90                 |
| M-10   | x86-64       | 1/8  | 1 GiB   | 50 GiB           | $100                |
| M-10   | arm64        | 1/8  | 1 GiB   | 100 GiB          | $140                |
| M-10   | x86-64       | 1/8  | 1 GiB   | 100 GiB          | $150                |
| M-10   | arm64        | 1/8  | 1 GiB   | 200 GiB          | $250                |
| M-10   | x86-64       | 1/8  | 1 GiB   | 200 GiB          | $260                |
| M-20   | arm64        | 1/4  | 2 GiB   | 10 GiB           | $90                 |
| M-20   | x86-64       | 1/4  | 2 GiB   | 10 GiB           | $100                |
| M-20   | arm64        | 1/4  | 2 GiB   | 25 GiB           | $100                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 25 GiB           | $110                |
| M-20   | arm64        | 1/4  | 2 GiB   | 50 GiB           | $130                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 50 GiB           | $140                |
| M-20   | arm64        | 1/4  | 2 GiB   | 100 GiB          | $200                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 100 GiB          | $210                |
| M-20   | arm64        | 1/4  | 2 GiB   | 200 GiB          | $290                |
| M-20   | x86-64       | 1/4  | 2 GiB   | 200 GiB          | $300                |
| M-40   | arm64        | 1/2  | 4 GiB   | 10 GiB           | $160                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 10 GiB           | $170                |
| M-40   | arm64        | 1/2  | 4 GiB   | 25 GiB           | $180                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 25 GiB           | $190                |
| M-40   | arm64        | 1/2  | 4 GiB   | 50 GiB           | $210                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 50 GiB           | $220                |
| M-40   | arm64        | 1/2  | 4 GiB   | 100 GiB          | $260                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 100 GiB          | $270                |
| M-40   | arm64        | 1/2  | 4 GiB   | 200 GiB          | $380                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 200 GiB          | $390                |
| M-40   | arm64        | 1/2  | 4 GiB   | 400 GiB          | $490                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 400 GiB          | $500                |
| M-40   | arm64        | 1/2  | 4 GiB   | 800 GiB          | $640                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 800 GiB          | $650                |
| M-40   | arm64        | 1/2  | 4 GiB   | 1228.8 GiB       | $830                |
| M-40   | x86-64       | 1/2  | 4 GiB   | 1228.8 GiB       | $840                |
| M-80   | arm64        | 1    | 8 GiB   | 100 GiB          | $460                |
| M-80   | x86-64       | 1    | 8 GiB   | 100 GiB          | $470                |
| M-80   | arm64        | 1    | 8 GiB   | 200 GiB          | $570                |
| M-80   | x86-64       | 1    | 8 GiB   | 200 GiB          | $580                |
| M-80   | arm64        | 1    | 8 GiB   | 400 GiB          | $680                |
| M-80   | x86-64       | 1    | 8 GiB   | 400 GiB          | $690                |
| M-80   | arm64        | 1    | 8 GiB   | 800 GiB          | $790                |
| M-80   | x86-64       | 1    | 8 GiB   | 800 GiB          | $800                |
| M-80   | arm64        | 1    | 8 GiB   | 1228.8 GiB       | $900                |
| M-80   | x86-64       | 1    | 8 GiB   | 1228.8 GiB       | $910                |
| M-160  | arm64        | 2    | 16 GiB  | 100 GiB          | $590                |
| M-160  | x86-64       | 2    | 16 GiB  | 100 GiB          | $600                |
| M-160  | x86-64       | 2    | 16 GiB  | 118 GiB          | $639                |
| M-160  | arm64        | 2    | 16 GiB  | 200 GiB          | $650                |
| M-160  | x86-64       | 2    | 16 GiB  | 200 GiB          | $660                |
| M-160  | arm64        | 2    | 16 GiB  | 400 GiB          | $750                |
| M-160  | x86-64       | 2    | 16 GiB  | 400 GiB          | $760                |
| M-160  | x86-64       | 2    | 16 GiB  | 468 GiB          | $779                |
| M-160  | arm64        | 2    | 16 GiB  | 468 GiB          | $782                |
| M-160  | arm64        | 2    | 16 GiB  | 800 GiB          | $860                |
| M-160  | x86-64       | 2    | 16 GiB  | 800 GiB          | $870                |
| M-160  | arm64        | 2    | 16 GiB  | 1228.8 GiB       | $1,000              |
| M-160  | x86-64       | 2    | 16 GiB  | 1228.8 GiB       | $1,010              |
| M-160  | x86-64       | 2    | 16 GiB  | 1280 GiB         | $1,013              |
| M-160  | arm64        | 2    | 16 GiB  | 1280 GiB         | $1,020              |
| M-320  | x86-64       | 4    | 32 GiB  | 237 GiB          | $1,238              |
| M-320  | x86-64       | 4    | 32 GiB  | 937 GiB          | $1,524              |
| M-320  | arm64        | 4    | 32 GiB  | 937 GiB          | $1,530              |
| M-320  | arm64        | 4    | 32 GiB  | 2560 GiB         | $1,980              |
| M-320  | x86-64       | 4    | 32 GiB  | 2560 GiB         | $1,994              |
| M-640  | x86-64       | 8    | 64 GiB  | 474 GiB          | $2,445              |
| M-640  | x86-64       | 8    | 64 GiB  | 1875 GiB         | $3,027              |
| M-640  | arm64        | 8    | 64 GiB  | 1875 GiB         | $3,039              |
| M-640  | arm64        | 8    | 64 GiB  | 5120 GiB         | $3,910              |
| M-640  | x86-64       | 8    | 64 GiB  | 5120 GiB         | $3,955              |
| M-960  | arm64        | 12   | 96 GiB  | 7680 GiB         | $5,830              |
| M-960  | x86-64       | 12   | 96 GiB  | 7680 GiB         | $5,915              |
| M-1280 | x86-64       | 16   | 128 GiB | 950 GiB          | $4,860              |
| M-1280 | x86-64       | 16   | 128 GiB | 3840 GiB         | $6,011              |
| M-1280 | arm64        | 16   | 128 GiB | 3840 GiB         | $6,035              |
| M-1920 | arm64        | 24   | 192 GiB | 15360 GiB        | $11,610             |
| M-1920 | x86-64       | 24   | 192 GiB | 15360 GiB        | $11,787             |
| M-2560 | x86-64       | 32   | 256 GiB | 1945.6 GiB       | $9,690              |
| M-2560 | x86-64       | 32   | 256 GiB | 7680 GiB         | $11,988             |
| M-2560 | arm64        | 32   | 256 GiB | 7680 GiB         | $12,035             |
| M-3840 | x86-64       | 48   | 384 GiB | 2918.4 GiB       | $14,520             |
| M-3840 | x86-64       | 48   | 384 GiB | 11520 GiB        | $17,966             |
| M-3840 | arm64        | 48   | 384 GiB | 11520 GiB        | $18,036             |
| M-3840 | arm64        | 48   | 384 GiB | 30720 GiB        | $23,170             |
| M-3840 | x86-64       | 48   | 384 GiB | 30720 GiB        | $23,540             |
| M-5120 | x86-64       | 64   | 512 GiB | 3891.2 GiB       | $19,361             |
| M-5120 | x86-64       | 64   | 512 GiB | 15360 GiB        | $23,932             |
| M-5120 | arm64        | 64   | 512 GiB | 15360 GiB        | $24,042             |
| M-5760 | arm64        | 72   | 576 GiB | 46080 GiB        | $34,730             |
| M-7680 | arm64        | 96   | 768 GiB | 23040 GiB        | $36,029             |
| M-7680 | arm64        | 96   | 768 GiB | 61440 GiB        | $46,290             |

## 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  | $25                 |
| PS-20  | x86-64       | 1/4  | 2 GiB  | $38                 |
| PS-40  | x86-64       | 1/2  | 4 GiB  | $64                 |
| PS-80  | x86-64       | 1    | 8 GiB  | $116                |
| PS-160 | x86-64       | 2    | 16 GiB | $227                |
| PS-320 | x86-64       | 4    | 32 GiB | $454                |
| PS-400 | x86-64       | 8    | 32 GiB | $649                |

### 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          | $639                |
| M-160  | x86-64       | 2    | 16 GiB  | 460 GiB          | $779                |
| M-160  | x86-64       | 2    | 16 GiB  | 1241 GiB         | $1,019              |
| M-320  | x86-64       | 4    | 32 GiB  | 229 GiB          | $1,269              |
| M-320  | x86-64       | 4    | 32 GiB  | 929 GiB          | $1,549              |
| M-320  | x86-64       | 4    | 32 GiB  | 2490 GiB         | $2,019              |
| M-400  | x86-64       | 8    | 32 GiB  | 466 GiB          | $2,279              |
| M-640  | x86-64       | 8    | 64 GiB  | 466 GiB          | $2,539              |
| M-640  | x86-64       | 8    | 64 GiB  | 1866 GiB         | $3,099              |
| M-640  | x86-64       | 8    | 64 GiB  | 4992 GiB         | $4,029              |
| M-960  | x86-64       | 12   | 96 GiB  | 7485 GiB         | $6,219              |
| M-900  | x86-64       | 16   | 64 GiB  | 942 GiB          | $4,159              |
| M-1280 | x86-64       | 16   | 128 GiB | 942 GiB          | $5,069              |
| M-1280 | x86-64       | 16   | 128 GiB | 3739 GiB         | $6,189              |
| M-1920 | x86-64       | 24   | 192 GiB | 14992 GiB        | $12,419             |
| M-2560 | x86-64       | 32   | 256 GiB | 1891 GiB         | $10,119             |
| M-2560 | x86-64       | 32   | 256 GiB | 7492 GiB         | $12,359             |
| M-3840 | x86-64       | 48   | 384 GiB | 2842 GiB         | $17,369             |
| M-3840 | x86-64       | 48   | 384 GiB | 11242 GiB        | $19,279             |
| M-5120 | x86-64       | 64   | 512 GiB | 3792 GiB         | $22,159             |
| M-5120 | x86-64       | 64   | 512 GiB | 14992 GiB        | $24,709             |

## 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.
