- A persistent
/workspacedirectory that survives pauses. - A public preview URL,
https://<domain>, for the app listening on$PORT(3000) inside the sandbox. - Commands, files, and an interactive terminal from the API, the SDKs, the CLI, and the dashboard.
The preview URL is public. Anyone with the link can open the app on
$PORT. Don’t serve secrets from it.Pricing
You pay for the CPU and memory a sandbox has while it runs, billed per second from your USD wallet.
Rates can change.
GET /sandboxes/pricing and pxxl sandbox pricing always return the current ones.
Starting a sandbox needs at least $0.25 in your wallet. If the wallet runs low while a sandbox is running, Pxxl pauses it (status paused_low_balance) instead of letting the balance go negative. Top up and start it again.
Plans and limits
Sandboxes are on Plus, Pro, and Enterprise.
Paused sandboxes count toward the total but not toward the running limit.
Templates
Every template is Debian 13 with git, curl and build tools. The language templates add the latest release of their runtime.
Versions are as of Nov 24, 2026; images track the latest upstream release.
GET /sandboxes/pricing and pxxl sandbox templates return the current ones. nodejs, js, and typescript also mean node, py means python, and golang means go.
Pass sourceRepository (owner/repo) to clone one of your connected GitHub repositories into /workspace.
Labels
Give a sandbox up to 20key: value labels, such as team: payments or run: ci-4812, to find it later. Keys are lowercase letters, digits, _, ., and -, up to 63 characters, starting with a letter or digit. Values are one line, up to 256 characters.
Set labels when you create a sandbox, replace them with PATCH /sandboxes/{id}, and filter the list with GET /sandboxes?label=team:payments. Several label parameters must all match; label=team matches any value of team.
Network policies
Each sandbox has an egress policy for outbound connections:
Allowlist entries are domains (
github.com matches exactly, *.npmjs.org matches any subdomain) or public IPv4 addresses and CIDRs (140.82.112.0/20), up to 64. Private and reserved ranges and internal names are refused.
Set the policy when you create a sandbox, or change it with PATCH /sandboxes/{id} while it runs. New connections follow the new policy at once; connections already open are not cut. A sandbox created before network policies picks up a change at its next start.
Snapshots
A snapshot saves a sandbox’s home directory (global installs, dotfiles, caches) and/workspace. Memory and running processes aren’t kept. Install your tools once, snapshot the sandbox, and start new sandboxes from the snapshot with everything already there. The new sandbox gets the snapshot’s template.
Take a snapshot of a running sandbox; saving takes about 5 to 15 seconds. Plus keeps 5 snapshots, Pro 25, and Enterprise 100. A snapshot that sandboxes still use can’t be deleted.
Fast starts
Default-sizenode, python, and base sandboxes start in about 2 seconds: Pxxl keeps warm ones ready. Other templates and custom sizes start in a few seconds more. There’s nothing to configure.
Lifecycle
Older sandboxes may report
stopped or paused_insufficient_points. Treat both as paused.
Auto-stop
Every sandbox pauses itself after it’s idle forautoStopMinutes (default 60, up to 1440). Set it to 0 to never pause on idle. Change it any time with PATCH /sandboxes/{id}, sandbox.setAutoStop(minutes), or pxxl sandbox update <id> --auto-stop <minutes>.
Commands and files
execruns a shell command in/workspace(orworkdir) and returns the exit code and output. A command can run for up to 300 seconds. Ask forapplication/x-ndjsonto stream output as it’s produced.execwithbackgroundstarts a long-running process, such as a dev server, and returns its pid at once.- List the processes running in a sandbox, with CPU and memory, and stop one with a signal (
TERM,KILL,INT, orHUP). - Files are up to 2 MB each. List a directory, read a file, or write one. Text goes as is; binary files, such as images or archives, go base64-encoded. The SDKs and the CLI’s
uploadanddownloaddo that for you. - The terminal gives you an interactive shell over a WebSocket. It’s available when terminals are enabled for your account.
Costs at a glance
pxxl sandbox summary (or GET /sandboxes/summary) shows what’s running, the cost per hour right now, spend this month, and how long your wallet lasts. The dashboard suggests stopping sandboxes that have been idle for 15 minutes. It warns you, and emails you, before the wallet runs out. Preview URL traffic shows up in the sandbox’s Analytics tab.
Next steps
Quickstart
Create a sandbox and run a command from code, the CLI, or curl.
API reference
Every sandbox endpoint, with request and response shapes.
SDKs
The
Sandbox handle in Node.js and Python.CLI
pxxl sandbox commands.
