Run Cloud

AI sandbox for agents: An isolated machineper task, billed per second.

An AI sandbox is an isolated machine where an agent runs the code it writes. Run Cloud gives every task its own microVM with its own Linux kernel. It starts in well under a second and bills per second: 1 vCPU and 4 GiB cost about $0.021 an hour, around a fifth of E2B or Daytona at the same size. Start with $5 free and no card.

Quick start

Sandbox / sbx-7c1eRunning
EXECFILESSNAPSHOTSPORTS

Quick start

Run your first sandbox.

Create a Run Cloud account. It is free to start and asks for no card. Then drive sandboxes from the CLI, or from code with the TypeScript SDK, which reads an API key from the dashboard in RUN_CLOUD_API_KEY.

Run Cloud / CLIReady
  1. 01npm install -g runcloud && runcloud loginInstall the CLI and sign in
  2. 02runcloud sandbox create --cpu 1 --memory 4096 --jsonPrints the sandbox ID
  3. 03runcloud sandbox exec SANDBOX_ID "uname -a && df -h /"Pipes and && work; a non-zero exit comes back instead of throwing
  4. 04runcloud sandbox rm SANDBOX_IDDestroy it and billing stops
sandbox.tsTypeScript SDK
import { Client } from "@run-cloud/sdk";

const cloud = new Client();
const sandbox = await cloud.sandboxes.create({ cpu: 1, memory: 4096 });
try {
  const result = await cloud.sandboxes.exec(sandbox.id, "uname -a");
  console.log(result.stdout);
} finally {
  await cloud.sandboxes.destroy(sandbox.id);
}
Run a sandbox: full documentation

Isolation

A microVM with its own kernel, not a container

Start

Well under a second

Size

0.125 vCPU and 128 MiB by default, up to 32 vCPUs and 112 GiB

CPU billing

Your reservation, plus CPU used above it at the same rate

Price

About $0.021 an hour for 1 vCPU and 4 GiB, billed per second

Keep state

Pause and resume, filesystem snapshots, persistent sandboxes with a URL and SSH

Use it from

CLI, TypeScript, Python and Go SDKs

To start

$5 of usage with no card, then $15 free every month once you add one

A real machine for every task.

Isolation

Its own kernel, not a shared one.

A container shares the host kernel, so a kernel bug can let code out. A microVM runs its own kernel behind a hypervisor, a stronger boundary for code nobody reviewed, and still boots in under a second.

Keep state

Set up once, restore every run.

Pause and resume a sandbox, snapshot its filesystem and restore it as many times as you like, or keep a persistent sandbox running with its own URL and SSH access.

Coming from E2B

Switch with one import.

The Python SDK has adapters for E2B, Daytona, Modal, Vercel Sandbox, Blaxel and Fly Sprites. They cover creation, lookup, commands, lifecycle and destruction.

migrate.pyPython SDK
pip install runcloud-sdk

# from e2b import Sandbox
from runcloud.compat.e2b import Sandbox

box = Sandbox.create()
print(box.commands.run("python -V").stdout)
box.kill()
Python SDK and compatibility adapters

Pricing

Price for 1 vCPU and 4 GiB, per hour.

Each figure comes from the vendor's published per-second or per-hour rates, read on 2026-11-24, for a sandbox holding 1 vCPU and 4 GiB of memory for an hour.

Sandbox price / 1 vCPU · 4 GiBRead 2026-11-24
ProviderPer hourVs Run CloudIsolationPlan and free usage
Run Cloud$0.0211xMicroVMNone. $5 free with no card, $15 free every month with one source
Cloudflare Sandboxup to $0.126not the same sizeMicroVMFixed sizes: 1 vCPU comes with 6 GiB (standard-2). Workers Paid, $5 a month, with some usage included; disk billed separately source
E2B$0.1155.5xMicroVMHobby is free with $100 of one-time credit; Pro is $150 a month source
Daytona$0.1155.5xContainers by default, VMs optionalNone. $200 of free compute source
Modal Sandboxes$0.1678xgVisor, VMs optionalStarter is free with $30 of credit a month source
Vercel Sandboxup to $0.341not the same sizeMicroVMVercel pairs 2 GB with each vCPU, so 4 GB means 2 vCPUs. Hobby has a free monthly quota and 45-minute sessions; Pro is $20 a month source

Cloudflare and Vercel bill CPU only while it is busy, so an agent that mostly waits pays less there than the full-CPU figures above. On Run Cloud the same pattern costs less too: keep the default 0.125 vCPU reservation, about $0.0015 an hour with 128 MiB, and the sandbox bursts above it when the agent works.

Run Cloud pricing, with sandbox examples

Use cases

What teams use it for.

Run code an agent wrote, with a real kernel boundary between it and your machine.

Give a coding agent a disposable Linux box it can install into and break.

Run builds and tests in parallel, one sandbox per job.

Do an expensive setup once, snapshot it, and restore it for every later run.

Keep a dev server or small service running in a persistent sandbox with its own URL.

Drive a desktop sandbox for computer-use agents: screenshot, click and type.

Know before you startLimits
  • Memory is reserved up front, and a sandbox can burst above its reservation when its host has room. Memory used above the reservation is billed as used. Where enabled for your organization, --memory-limit sets a higher ceiling.
  • Paused and stopped sandboxes still count against your organization limits until you destroy them.
  • Default organization limits are 100 sandboxes and 100 reserved vCPUs at once. Larger fleets ask support to raise them.

FAQ

The practical details.

Testing a mobile app as well? See the iOS simulator for AI agents.

Published 2026-11-24 · Updated 2026-11-26

What is an AI sandbox?

An isolated machine where an AI agent runs the code it writes, installs packages and touches files, without reaching your laptop or your servers. Run Cloud sandboxes are microVMs: each one boots its own Linux kernel, so a bad command stays inside the VM.

Why a microVM instead of a container?

A container shares the host kernel, so a kernel bug can let code out. A microVM runs its own kernel behind a hypervisor, which is a stronger boundary for code nobody reviewed. It still boots in under a second.

How much does a sandbox cost?

You pay per second for the CPU and memory you reserve: $0.00000492 per physical core-second (2 vCPUs) and $0.00000083175 per GiB-second. 1 vCPU and 4 GiB comes to about $0.021 an hour, or about $15 for a month running nonstop. CPU used above the reservation bills at the same rate.

I use E2B, Daytona, Modal or Vercel Sandbox. How hard is it to switch?

The Python SDK ships adapters for E2B, Daytona, Modal, Vercel Sandbox, Blaxel and Fly Sprites. For E2B, replace from e2b import Sandbox with from runcloud.compat.e2b import Sandbox. The adapters cover creation, lookup, commands, lifecycle and destruction.

Can a sandbox keep its state?

Yes. Pause and resume a sandbox, snapshot its filesystem and restore it as many times as you like, or create a persistent sandbox that stays running with its own URL and SSH access.

Can my agent also test a mobile app?

Yes, on the same account and bill. Run Cloud also runs iOS simulators and Android emulators at $0.02 per active minute, which agents drive through the CLI, SDK or MCP server.

Give your agent its own machine.

Create an account, run runcloud sandbox create, and pay per second. $5 of usage is on us, no card needed.