Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Limits and quotas

The quotas every org starts with, the API's rate limits, and the size limits of commands, files and computer-use actions.

pols applies three kinds of limits: quotas per org, which decide how many sandboxes, templates and keys you may use; rate limits, which protect the shared control plane; and size limits on individual calls. pols org shows your quotas and current use at any time.

Quotas

New orgs start with these quotas. If you need more, write to team@peweo.com (Request more on the account page) and we raise them for your org.

Quota Default What counts
Running sandboxes unlimited sandboxes that run, are starting or are in standby; your org may set its own limit
Sandboxes unlimited sandboxes that exist, running or stopped; your org may set its own limit
Templates 10 your org’s own templates; the system template does not count
API keys 25 keys that are neither revoked nor expired

Quotas are checked when you create, fork, resume or resize a sandbox, save a template or create an API key. A call over a quota fails with quota_exceeded; stop or delete something and try again. When the host has no room for the size you asked for right now, a create, resume or resize is refused with 429 host_capacity and a Retry-After header instead; that is temporary, so retry after the given seconds.

Trial limits

While an org is on its trial credit and billing is on, it may:

  • run one small or default sandbox at a time
  • hold 20 GiB of disk; above it, its running sandboxes are stopped and starts are refused with 403 trial_limit

All trial orgs also share a pool of host memory. When it is in use, a start is refused with 429 trial_capacity and a Retry-After header, and may pass when retried.

GitHub Actions runners

Jobs on pols runners do not count against these quotas. How many run at once, and how long a job may run, is in runner limits.

Rate limits

The API currently allows:

Limit Rate Burst
Requests per client address 50 per second 100
Requests per org 20 per second 40
Lifecycle calls per org (create, fork, stop, resume, delete, save template) 1 per second 10
Failed authentications per client address 1 every 5 seconds 20
Exec, file, computer-use and CDP calls in progress per org 16 at once

Over a limit, the API answers 429 with the error code rate_limited and a Retry-After header that says how many seconds to wait. The CLI and the TypeScript client report the error; retry after the given time and run fewer calls in parallel. A request body that stalls for 30 seconds is answered with 408 and the code timeout.

Commands, files and the desktop

What Limit
Command timeout (pols exec --timeout, timeout_seconds) 600 seconds by default, at most 86,400 (24 hours)
Output of a non-streamed command (API ExecResult) 4 MiB per stream; stream larger output
Output of sandbox_exec over MCP 512 KiB per stream
Standard input with pols exec --stdin 768 KiB
File upload (pols cp, PUT .../files) 1 GiB per file
File read over MCP (file_read) 1 MiB
Text typed by one computer-use action 10,000 characters
Scroll amount of one computer-use action 1 to 50 wheel clicks
Vault 100 entries of up to 32 KiB each
Secrets named on one sandbox 100
Allowlist entries of an egress policy 64 CIDR prefixes and host names

Published sites

What Limit
Files in one version 10,000
Size of one version 100 MiB
Sites per org 20
Storage of all of an org’s sites 2 GiB, counting each distinct file once per site
Publishes per org 30 an hour
Versions a site keeps 10 by default, 1 to 100, and always the live one

See Publish a static site.

Link Valid for
Login link for a private port open within 5 minutes; the browser session then lasts 12 hours
Session on a private or link site 12 hours; a share link works until it is replaced
Desktop link 12 hours, while the sandbox keeps running
Browser (CDP) URL connect within 5 minutes
SSH certificate the gateway uses inside the sandbox 2 minutes per login
Website login link 15 minutes, once
Website session 30 days after it was last used, 90 days after the login at most

Port sessions, desktop links and CDP URLs stop working when the API key that created them is revoked. A CDP connection that is already open is not cut when its URL expires.