Use API information to generate a sortable table of Droplet plans with resource details and pricing based on Droplet type, split into tabs by CPU option. This copies the format on the WWW pricing page.
{{< droplet-pricing-table planType >}}
{{< droplet-pricing-table product=productName plan=planType >}}
The planType
can be basic
, generalPurpose
, cpuOptimized
, memoryOptimized
, and storageOptimized
. The shortcode has error checking to enforce this.
The product
can be Droplets or any of the database engines (like PostgreSQL). If you’re using this shortcode within the product section, you can omit product
and the shortcode will use the front matter product
instead.
{{< droplet-pricing-table product=droplets plan=basic >}}
Renders to:
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
s-1vcpu-512mb-10gb |
1 | 0.5 | 10 | $0.00595 | $4 |
s-1vcpu-1gb |
1 | 1 | 25 | $0.00893 | $6 |
s-1vcpu-2gb |
1 | 2 | 50 | $0.01786 | $12 |
s-2vcpu-2gb |
2 | 2 | 60 | $0.02679 | $18 |
s-2vcpu-4gb |
2 | 4 | 80 | $0.03571 | $24 |
s-4vcpu-8gb |
4 | 8 | 160 | $0.07143 | $48 |
s-8vcpu-16gb |
8 | 16 | 320 | $0.14286 | $96 |
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
s-1vcpu-1gb-intel |
1 | 1 | 25 | $0.01042 | $7 |
s-1vcpu-1gb-35gb-intel |
1 | 1 | 35 | $0.0119 | $8 |
s-1vcpu-2gb-intel |
1 | 2 | 50 | $0.02083 | $14 |
s-1vcpu-2gb-70gb-intel |
1 | 2 | 70 | $0.02381 | $16 |
s-2vcpu-2gb-intel |
2 | 2 | 60 | $0.03125 | $21 |
s-2vcpu-2gb-90gb-intel |
2 | 2 | 90 | $0.03571 | $24 |
s-2vcpu-4gb-intel |
2 | 4 | 80 | $0.04167 | $28 |
s-2vcpu-4gb-120gb-intel |
2 | 4 | 120 | $0.04762 | $32 |
s-2vcpu-8gb-160gb-intel |
2 | 8 | 160 | $0.07143 | $48 |
s-4vcpu-8gb-intel |
4 | 8 | 160 | $0.08333 | $56 |
s-4vcpu-8gb-240gb-intel |
4 | 8 | 240 | $0.09524 | $64 |
s-4vcpu-16gb-320gb-intel |
4 | 16 | 320 | $0.14286 | $96 |
s-8vcpu-16gb-intel |
8 | 16 | 320 | $0.16667 | $112 |
s-8vcpu-16gb-480gb-intel |
8 | 16 | 480 | $0.19048 | $128 |
s-8vcpu-32gb-640gb-intel |
8 | 32 | 640 | $0.28571 | $192 |
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
s-1vcpu-1gb-amd |
1 | 1 | 25 | $0.01042 | $7 |
s-1vcpu-2gb-amd |
1 | 2 | 50 | $0.02083 | $14 |
s-2vcpu-2gb-amd |
2 | 2 | 60 | $0.03125 | $21 |
s-2vcpu-4gb-amd |
2 | 4 | 80 | $0.04167 | $28 |
s-2vcpu-8gb-amd |
2 | 8 | 100 | $0.0625 | $42 |
s-4vcpu-8gb-amd |
4 | 8 | 160 | $0.08333 | $56 |
s-4vcpu-16gb-amd |
4 | 16 | 200 | $0.125 | $84 |
s-8vcpu-16gb-amd |
8 | 16 | 320 | $0.16667 | $112 |
s-8vcpu-32gb-amd |
8 | 32 | 400 | $0.25 | $168 |