Limits
Every number that can refuse a request, in one place. Account quotas (how much you can hold at once) have their own page: Quotas.
Per machine
Section titled “Per machine”| Free | Pay as you go | |
|---|---|---|
| vCPUs | 1–2 | 1–8 |
| Memory | 128 MB – 2 GB | 128 MB – 16 GB |
| Root disk | 10–30 GB (your 30 GB storage quota) | 10–200 GB |
| Disk IOPS (cap) | 1,000 | 2,000 |
| Disk throughput (cap) | 100 MB/s | 200 MB/s |
| Network down / up | 50 / 25 Mbit/s | 100 / 50 Mbit/s (sustained — see below) |
Two limits apply to a machine’s size: your plan’s maximum (the table above) and a platform maximum of 16 vCPUs that no plan exceeds. The error names which one refused you — “exceeds the Pay as you go plan’s maximum of 8” or “exceeds the platform maximum of 16”.
Network rates are sustained rates. Each direction also allows a burst of about one second’s worth, so a short transfer can briefly average up to twice the figure — measure over at least 30 seconds to see the real limit.
The IOPS and throughput figures are caps, not a guaranteed speed. Small random writes are bound by IOPS: 2,000 × 4 KiB ≈ 8 MB/s.
Volumes
Section titled “Volumes”| Size of one volume | 5–50 GB |
| Volumes attached to one machine | 4 |
Commands (exec)
Section titled “Commands (exec)”| Running at once, per machine | 16 — the 17th start answers 409 |
| Finished commands kept for reading | the most recent 64 per machine |
| Lifetime | default 120 s, 1 s – 24 h (timeout_sec) |
| Output kept per stream | 32 MiB (truncated once cut) |
Request body (the script) |
1 MiB — over it is 413 |
env |
up to 256 variables, 128 KiB in total |
Network and secrets
Section titled “Network and secrets”Hosts in a locked machine’s allow |
64 |
| Ports a locked machine can use | 80 and 443 |
| Egress log rows per request | 1–500, default 100 |
| Secrets per account | 50 |
| Secrets bound to one machine | 16 |
| Size of one secret’s value | 8 KiB |
See Locked network and Secrets.
Request rates
Section titled “Request rates”Limits are token buckets: the burst is what you can send at once, the rate is
how fast it refills. Every 429 carries Retry-After (seconds) — wait at least
that long. Both SDKs honour Retry-After from version 0.1.3, on every
retried call (GET / DELETE, and POST with an Idempotency-Key). From
0.2.6 a 429 does not count against the retry limit: those calls keep waiting
for up to 60 seconds, so a burst over a limit drains instead of failing. Exec
starts are never retried.
| What | Rate | Burst | Counted per |
|---|---|---|---|
| Any request | 20/s | 40 | client IP |
| Exec starts | 20/s | 50 | account |
| Create machines and snapshots, delete snapshots; change a network; bind or unbind secrets | 1/s | 20 (your whole pay-as-you-go machine quota at once) | account |
| Delete machines | 2/s | 40 — its own budget, so tearing down never waits behind creates | account |
| Start / stop | 1/s | 10 | account |
| Volume create / delete / attach / detach | 1/s | 10 | account |
| API key creation | 1/s | 5 | account |
| Create / rotate / delete a secret (dashboard) | 1/s | 5 | account |
Polling an exec’s status or output counts only against the per-IP limit.
The per-IP limit counts the address your requests arrive from. If your traffic leaves through several addresses (a VPN, a NAT pool, a proxy service), each one has its own bucket; the per-account limits apply however many there are.
Every request counts, including one refused as invalid (400) — so fix a
failing request rather than retrying it in a loop, or it uses up the budget for
your valid ones.
Inside a machine
Section titled “Inside a machine”| Memory for your commands and terminals | the machine’s RAM minus 64 MiB (at least half) |
| Processes | about one per MiB of that memory — 64 minimum, 4096 maximum (921 on a 1 GB machine, whose usable memory is about 985 MiB) |
These guard against accidents, not against you: you are root in your machine and can change them. See Commands.
Related
Section titled “Related”- Quotas — machines, vCPUs, memory, storage and volumes you can hold
- Errors — what each refusal looks like
- Troubleshooting