Limits

The sizes, counts, rates and times Pod's API holds you to

Sizes

SizeClassvCPUMemoryDisk
smallshared24 GiB40 GiB
mediumshared48 GiB80 GiB
largeshared816 GiB160 GiB
xlargeshared1632 GiB320 GiB
ci-2ci28 GiB100 GiB
ci-4ci416 GiB100 GiB
ci-8ci832 GiB100 GiB
ci-16ci1664 GiB100 GiB

Calls

WhatLimit
A page of a list50 items by default, 200 at most (limit)
A list cursorValid for 24 hours
An Idempotency-Key1 to 200 printable characters; kept 24 hours
Waiting for a change (wait=true)60 s by default, 300 s at most
A command (timeout_s)60 s by default; 0 for no limit
A file written in one call100 MiB
Copies in one fork1 to 10
Sandboxes in one batch create (count)2 to 1000, and no more than your swarm cap (max_swarm)
Ids hinted on one create (hints)16, volumes and snapshots together
Idle time before a sandbox sleeps (idle_s)15 minutes by default, 60 s at least
A stream ticket30 s by default, 60 s at most; one use; 20 unused at once
An end user's own id (ref)1 to 200 printable characters

Sandboxes you may hold

LimitWhat it countsSet for
max_sandboxesSandboxes held, asleep or awakeAn organization, a project, an end user
max_awakeSandboxes awakeAn organization, a project, an end user

A new organization may hold 5 sandboxes and keep 1 awake.

An end user with no limit of its own, in a project with no default, may hold 5 sandboxes and keep 2 awake.

A create, wake or start past a limit answers quota_exceeded, with the limit's name in limit. Pod sets your organization's and your projects' limits. Set each of your end users' limits yourself, with Set an end user's limits, and each member's in the dashboard or with Set a member's limits. Read the limits to see every one that counts now and, for each size, why a create would be refused.

Network

LimitWhat it countsFeature
max_domainsCustom domains an organization holdscustom_domains
max_static_addressesStatic addresses a project holds at each sitestatic_addresses
max_private_rangesPrivate ranges an organization registers in its own cellprivate_ranges
max_proxiesProxies a project holdsown_proxy
max_leasesLeased home-connection addresses held at onceleased_home_addresses

Not published yet

The starting values are published here before the network features open.

A create past a network limit answers quota_exceeded with the limit's name in limit. Network says what each feature needs.

Request rates

Not published yet

The rates are published here before sign-up opens.

Every answer to a call made with a key or a signed-in person carries two headers, RateLimit-Policy and RateLimit (the IETF rate-limit headers), with one item per policy that applies to you:

HeaderWhat it says
RateLimit-PolicyEach policy that applies to you: its name, q (how many in one window) and w (the window in seconds)
RateLimitWhat is left of each policy: its name, r (how many are left) and t (seconds until the window fills again)
PolicyWhat it countsWindow
calls_per_minuteEvery call made with one key, or with one person’s sign-in60 s
creates_per_minuteSandboxes your organization makes; each copy of a batch create or a fork counts. Sent only when your organization has such a cap60 s

For example:

RateLimit-Policy: "calls_per_minute";q=600;w=60
RateLimit: "calls_per_minute";r=598;t=41

The numbers in the example are not your limits; read your own from the headers. A call over the rate answers rate_limited with retry_after_s, a Retry-After header and both headers, and limit names the policy that ran out. The SDKs keep the last headers they saw (pod.rateLimit in TypeScript, pod.rate_limit in Python), and a refusal carries its own.

A batch create larger than your swarm cap answers quota_exceeded with limit: max_swarm, and nothing is made.

Durability

Losing a whole server can lose a sandbox's last writes, up to the durability window. Losing one drive loses nothing.

Not published yet

Pod publishes the window here once it is measured.

Durability says what is kept in each failure.