Sign in

Run hosted Firecracker microVMs for AI agents through an API

Updated

Firecracker microVMs your agent creates, runs commands in, pauses with their memory, forks and deletes through an HTTP API or the CLI, with no hosts, kernels or images of your own to run, billed per second.

On this page4

Prized Sandboxes are hosted Firecracker microVMs made for agents: one call creates one, and the API runs commands in it, moves files, pauses it with its memory, forks it into live copies, and deletes it. Prized runs the hosts, kernels, images and networking; you pay per second for what runs.

You get
IsolationOne microVM per sandbox, with its own kernel; commands run as prized, without sudo
NetworkOutbound internet; nothing reaches a sandbox from the internet but a request to one of its port URLs (with your API key or a token, or on a port you made public; tokens and public ports need a workspace that has paid in) or an SSH connection (prized sandbox ssh or SSH access), and sandboxes have no direct network path to each other
Imagesprized-base-v1 (Ubuntu 24.04, Python 3, Node.js 22, git), prized-agent-v1 (adds Claude Code and Codex), and prized-docker-v1 (adds Docker and Compose, for workspaces that have paid in)
Shapes1 to 32 vCPU, 1 to 128 GB of memory, 10 to 128 GB of disk (2 vCPU and 4 GB at most on the free tier)
PauseMemory, processes and disk kept on the machine it ran on (30 days after last use on the free tier), storage billed only; a resume is usually back in under a second
ForkLive copies, memory and processes included, as many as fit beside the parent
Run time24 hours by default, up to 7 days, extendable; the clock stops while paused
On the free tier60 minutes of running per sandbox, then it is deleted, memory and disk with it (pause it before then to keep it); paying in lifts it to the run times above for new sandboxes

1. Get a key and the CLI

Open Sandboxes to sign up with $30 of free credit and no card, and choose Create API key. Install the CLI, then export the key in a new terminal:

curl -fsSL https://prized.dev/install.sh | sh
export PRIZED_API_KEY=dcp_…

2. Create, run, pause, fork, delete

ID=$(prized sandbox create)
prized sandbox exec $ID -- 'uname -r && python3 --version'
prized sandbox pause $ID --wait
COPIES=($(prized sandbox fork $ID --count 3))
prized sandbox rm $ID "${COPIES[@]}"

create returns once the sandbox answers commands. fork of the paused sandbox starts 3 running copies of it and prints their ids; the parent stays paused (Fork).

3. Or call the HTTP API

Each step above is one request, with the same key as the bearer: POST /api/v1/sandboxes to create, POST /process/execute on the sandbox's toolboxBase to run a command, then /pause, /resume, /fork and DELETE /api/v1/sandboxes/{id}. Every route, field and error code is on Sandbox API, and Use Sandboxes from Python or TypeScript has a helper for each language.

What it costs

A running sandbox bills per second, with no minimum (Billing: Sandboxes).

2 vCPU, 4 GB4 vCPU, 8 GB (the default)
Running, per hour$0.131$0.261
One sandbox for 5 minutes$0.011$0.022

Paused, a sandbox burns no compute, and a workspace's first 20 GB of paused storage are included. On the free credit, sandboxes run within the free tier: 10 at once, 2 vCPU and 4 GB each, 60 minutes of running each. Not there yet: GPUs, templates from your own images, and regions other than Oregon (Not yet); there is no sudo, and Docker needs a workspace that has paid in (Run Docker and Compose in a sandbox).