A fresh machine for every task.
Full Linux microVMs with their own kernel. About 2 seconds to create from a warm pool, a held handle runs a command in about 155ms, and nothing shared with anyone else. Paused costs nothing.







One meter, two ways to run.
A container and a full VM are not the same workload, so Sandal ships both on the same microVM substrate and the same per-second meter. Pick concurrency or pick a whole machine, the SDK is identical.
Containers →
Lean microVMs that start and exit in seconds. Fan out dozens at once for agent tool-calls, code-interpreter turns, and CI shards, then tear them straight down. Own kernel, egress rules by domain or CIDR, billed by the second.
Virtual Machines →
Full microVMs with their own kernel that stay warm through a working day and pause to zero between bursts. Resume in about 1-2.5 seconds with your REPL variables and open files intact. Linux today, Windows in preview; macOS VMs on a leased Mac.
Everything inside the box.
Six primitives cover the whole surface: run things, move files, expose ports, branch state, keep data, and control what the guest can reach.
Run it buffered, streamed, or interactive.
exec runs a command and hands back its output and exit code, or a resumable event stream for long jobs. Use a PTY shell (sandal shell) when the process checks isatty(): REPLs, top, anything that reacts to a resize.
Talk to the disk, not to a shell.
Read, write, list and remove paths directly against the sandbox filesystem, no shell in between. Every write is idempotent and fenced on the sandbox revision, so a retry never lands twice.
Any port, one authenticated HTTPS URL.
Expose a listening port and get an HTTPS URL that routes to that sandbox and that port only. Requests carry your API key or a short-lived access token, and the exposure ends with its TTL or the sandbox. Share links are time-bounded (up to 24 h), optionally single-use and revocable.
Branch a machine like you branch a repo.
Snapshot a disk in about 7-11 seconds, or fork it in about 10-15. A fork starts from the parent’s exact disk state with a new ID, new tokens and its own TTL clock. Disk only: running processes do not carry over.
Keep the cache, throw away the machine.
A volume is named storage that outlives any single sandbox, mounted at a path you choose. Point your package store or build cache at one and a cold sandbox stops paying the cold-install tax. Volume snapshots are coming.
Cut the guest off with one field.
Create a sandbox with allowInternet: false and it reaches nothing outside: package installs, exfiltration and callbacks all fail at the network edge. Or allow and deny by domain or CIDR, enforced in about 3 seconds on a running sandbox. Brokered secrets, injected only into HTTPS requests to hosts you allow, are in preview.
Create → Run → Return → Destroy
One call to get a machine, one to do the work, one to take the result out, and one to give it back. A delete wipes the disk.
- 01
Ask for a machine.
One call boots a microVM from a published template, with its own kernel and its own disk.
- 02
Do the work.
Exec commands, attach a PTY, write files, install packages, start a server on any port you like.
- 03
Take the result out.
Read stdout and exit codes, stream logs, pull artifacts off the filesystem, or hand back a preview URL.
- 04
Give it back.
Pause for $0, fork it for the next branch of work, or delete it; a delete wipes its disk.
Six states, and what each one costs.
A sandbox moves through one state machine for its whole life. Here is the table, including the billing column most vendors leave out.
creating → running ⇋ paused → archived → deleted, with stopped as a side exit from running. Full lifecycle reference →
Pause keeps the memory.
pause() freezes exact in-memory state and releases the CPU, so resume() returns in about 1-2.5 seconds with your REPL variables and open file descriptors intact.
Stop tears the VM down.
stop() ends the process and keeps the disk; a later start() reboots with that disk. Neither state is billed.
Cold storage, storage-only billing.
An archived sandbox keeps its disk snapshot with its compute reclaimed. Deleting it deletes the snapshot.
Build the stack once. Fork it after that.
A template is the base filesystem a sandbox boots from. Start on a published catalog template today; custom template builds are coming soon.
Custom templates
Coming soonPublished catalog templates (a full Linux VM and a lean container base) ship with a working toolchain. Custom templates will build from a Dockerfile-like spec, cached at the block level, so a rebuild re-snapshots only the layers that changed. Sizes run from xs (1 vCPU, 1 GiB, 10 GiB disk) to xl (16 vCPU, 32 GiB, 160 GiB). The default template runs without sudo; a root + FUSE template is in preview.
Build once, fork many
A graph op, not a disk copyA dependency install you run 500 times a day is 500 billable installs. Run it once in a parent, fork the result, and you pay for the install once plus a near-constant cost per fork.
Same three lines, three languages.
Create a sandbox, run a command, read the result. TypeScript and Python wrap the same REST API you can hit with curl.
TypeScript
@sandal-dev/sdk · private betaTyped end to end. Every mutation takes an idempotency key and the revision it expects, so retries are safe and races fail loudly instead of clobbering state.
Python
sandal-sdk · private betaThe same surface with snake_case names, async throughout. The REST API underneath takes an Idempotency-Key on every mutation.
Prefer raw HTTP? POST to api.sandal.dev/v1/organizations/{org}/projects/{project}/sandboxes with a bearer key and an Idempotency-Key header. The SDKs are in private beta, not yet on npm or PyPI; get the bundle from hello@sandal.dev. API reference →
Three places a fresh machine pays for itself.
Agent loops
A machine per turn. The model proposes a command, the sandbox runs it, the output goes back into context. Pause between turns and the idle time is free.
Preview environments
One per pull request. Fork a warm parent that already has dependencies installed, check out the branch, expose the dev server. The URL dies with the sandbox.
Code interpreter
Untrusted input, contained. Arbitrary generated code runs against its own kernel, with egress cut off or limited to the hosts you allow. The worst case is a wasted sandbox, not a shared host.
Price your sandboxes.
Billed per second while the machine runs, and $0 while paused. Pick a container fleet or a VM fleet, set the size and the hours, and see it against what the same work costs on the field.
Compare Price
Pricing breakdown
Billed by the second at $0.036/hr for 4 vCPU / 8 GB. Others at their published unit rates for the same shape, wall-time assumed; a paused Sandal machine is not billed.
An agent that pauses between turns pays only for the turns, a 4 vCPU sandbox active 8 hours and paused the other 16 costs about $0.29 for the day.
Built to disappear.
Infrastructure an agent has to wait for is infrastructure the agent will work around. The target is a machine that arrives faster than the model can decide what to do with it.
Firecracker on bare metal.
Sandboxes run as Firecracker microVMs on bare-metal machines we rent whole in Germany, Finland and Luxembourg. Full VMs move to Cloud Hypervisor. Each guest gets its own kernel, so there is no shared kernel to escape into.
Pre-booted, per template.
A size s create usually boots nothing: pools hold pre-booted microVMs, one cohort per template, refilled as they drain. Size m and up boots cold, in about 12-16 seconds. Claiming one hands it a fresh identity, a fresh network fence and fresh credentials.
Disk on demand, memory on pause.
Take a disk snapshot when you want one (about 7-11 seconds) and fork from it (about 10-15). Pause keeps RAM on the same sandbox; memory snapshots and memory forks are not offered.
Assume the guest is hostile root.
The workload is code nobody reviewed, running unattended, at machine speed. Nothing in the design depends on a guest behaving. Forks never inherit the parent’s live credentials, and a delete wipes the disk (its blocks are zeroed before reuse).
A kernel per sandbox, not a namespace.
Your sandbox is a microVM, not a container sharing the host kernel with other tenants. A dedicated kernel removes the cross-tenant escape surface instead of patching it.
Own netns, your egress rules.
Each guest gets its own network namespace and TAP device. Egress is open by default; allow or deny by domain or CIDR, with DNS filtering, or cut it off entirely. Management interfaces never listen where a guest can reach.
Wiped on delete, volumes keyed.
A sandbox’s disk is wiped on delete: its blocks are zeroed before reuse. Persistent volumes are encrypted with their own key, and erasing one destroys that key on the host.
One balance. Every machine you run.
Containers and VMs draw from the same credit pool as your runners (Android devices in preview, iOS simulators on request, Xcode builds coming), billed by the second at one published rate card.
Starter
For a solo build or a first agent in production.
$20 of usage credits
≈ 550 VM-hours or 33,000 CI minutes
- 20 concurrent machines
- Committed in-plan rates on every product
- Linux sandboxes, VMs, runners; Windows in preview
- Per-second billing, paused is free
- Full API, SDKs, CLI & local MCP server
- Unlimited seats
- Community support
Team
Apple silicon on request, and a balance that rolls over.
$100 of usage credits
≈ 2,700 VM-hours or 10,000 Mac build minutes
- 100 concurrent machines
- Everything in Starter, plus:
- macOS VMs & iOS simulators (on request), Xcode builds (coming); Android (preview)
- Unused credits roll over one month
- Usage exports & per-second line items (coming)
- Email support
Business
Higher ceilings for a team leaning on the fleet daily.
$250 of usage credits
≈ 6,900 VM-hours or 25,000 Mac build minutes
- 300 concurrent machines
- Everything in Team, plus:
- Raised concurrency
- Priority support & shared Slack channel
- Single sign-on, SAML / OIDC (coming)
- Volume credit rate
Enterprise
Dedicated capacity, your compliance surface, one invoice.
Committed volume rate
Committed volume rate, negotiated per account
- Reserved bare-metal capacity
- BYOC or self-host the control plane (coming)
- SSO & SCIM (coming), audit events, EU data residency
- Annual invoicing, MSA, DPA
- Support SLA (coming) & solutions engineering
- More regions (coming; EU today)
Every plan spends its credit pool first, then usage keeps flowing and bills per second at your committed in-plan rate, no hard stop mid-run, no forced upgrade. Without a plan you pay the on-demand rate instead. Prices are illustrative pending final list pricing; the per-second billing model is final.
Every machine, every size.
Linux
Priced from the Linux formula: $0.0065 / vCPU-hr + $0.00125 / GB-hr. Any vCPU:RAM combination in between is priced the same way. On-demand is 1.5× the in-plan rate. All usage bills by the second; paused machines are not billed.
Give your AI agents somewhere to run today.
Your agents get their own machines on Linux today, Windows and Android in preview, macOS VMs and iOS simulators on request, and you stop paying for idle.
Private beta · request access