Home / AI agent sandboxes / CodeSandbox

MicroVM sandboxes with memory snapshots, used through the CodeSandbox SDK or its cloud editor, billed in VM credits.

Verdict (2026-11-14): CodeSandbox scores 69/100, #17 of 63 AI agent sandboxes. Strong on free tier, isolation, persistence. Best for: Products that embed a browser IDE or per-user dev environments.

Skip it if: The free plan caps VMs at 4 vCPU / 8 GiB and 10 concurrent.

Prices checked 2026-11-14.

List price per month
$26.40 for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%
Free tier
Build plan: free, with 400 VM credits each month (unused credits do not roll over) and up to 10 concurrent VMs.
Isolation
MicroVM per VM Sandbox, with memory snapshots for resume and fork
Pause / snapshots
Yes / Yes

CodeSandbox runs VM Sandboxes as microVMs that use memory snapshotting to start, resume and fork in seconds, either from the CodeSandbox SDK or as cloud development environments in its browser editor and VS Code. Runtime is billed in VM credits by machine size, from 5 credits ($0.075) an hour for Pico to 320 credits ($4.80) an hour for XLarge, metered per minute. The free Build plan includes 400 credits a month and 10 concurrent VMs; the Scale plan from $170 a month raises concurrency to 250 VMs and sizes to 16 vCPU. CodeSandbox is part of Together AI.

Best for

  • Products that embed a browser IDE or per-user dev environments
  • Workloads that resume or fork running VMs from memory snapshots
  • Trying an SDK sandbox for free with a monthly credit allowance

Watch out for

  • The free plan caps VMs at 4 vCPU / 8 GiB and 10 concurrent
  • Billing rounds up to whole minutes
  • Prices and included credits differ between the pricing page and the docs
  • Only a JavaScript/TypeScript SDK is documented

Score breakdown

69/100 in AI agent sandboxes, rank 17 of 63. Parts with no data are left out and the rest is rescaled.

Price14.9/30$26.40 a month; category median $26.22 a month
Free tier10/10Free every month
Isolation15/15microVM
Persistence10/10pause and resume and snapshots
Limits6/10session limit not stated, 16 vCPU, 32 GiB
Docs and SDKs5/101 SDKs or interfaces
External benchmarks8.4/15Speed not measured: given the median of the 10 measured providers

Pricing

Fixed size
$0.075 per hour (Pico: 1 core / 2 GB (5 credits per hour))
Storage
No separate rate published
Billing
per minute (rounded up)
List price per month over timeNo change since 2026-11-13

Full CodeSandbox pricing: plans and costs at four workloads →

Where CodeSandbox sits

406080100$1.06$9.40$83List price per month → (log scale)← cheaperAether: 61/100, $75.00Agent37 Cloud: 70/100, $1.06Alibaba Cloud Agent Sandbox: 68/100, $12.57Archil: 74/100, $33.44AWS Bedrock AgentCore Code Interpreter: 60/100, $16.10AWS Lambda MicroVMs: 65/100, $44.39Beam: 45/100, $24.64Blaxel: 63/100, $29.15boat: 71/100, $20.00Cloudflare Dynamic Workers: 48/100, $12.00Cloudflare Sandbox SDK: 56/100, $18.26CodeSandbox: 69/100, $26.40CreateOS Sandbox: 72/100, $20.89Daytona: 64/100, $29.15Depot: 55/100, $83.36DigitalOcean Agent Harness Runtime: 61/100, $50.00E2B: 68/100, $29.15Fly.io Sprites: 69/100, $19.47Freestyle: 61/100, $50.00Hopx: 56/100, $29.15Hyperbrowser: 62/100, $30.00InstaBox: 75/100, $20.00Isorun: 78/100, $19.36kosa8 Cloud: 58/100, $27.74Koyeb Sandboxes: 76/100, $10.14LangSmith Sandboxes: 72/100, $33.26Lizard Sandboxes: 76/100, $19.00Maritime: 59/100, $20.00MIOSA: 75/100, $20.00Modal Sandboxes: 57/100, $41.88Morph Cloud: 67/100, $17.60Mosaic Sandbox: 74/100, $8.80Namespace Devboxes: 62/100, $42.24Northflank: 78/100, $11.73Novita Agent Sandbox: 58/100, $20.53Podflare: 71/100, $28.86Promigence: 55/100, $29.15Railway Sandboxes: 59/100, $56.22Render Sandboxes: 63/100, $26.05Runloop: 62/100, $55.76Superserve: 69/100, $29.15Tenki Sandbox: 67/100, $29.15Tensorlake Sandboxes: 76/100, $17.95Upstash Box: 73/100, $10.56Vercel Sandbox: 76/100, $28.44Workpaper: 67/100, $15.00CodeSandboxIsorunVercel SandboxMosaic SandboxAgent37 Cloud
Score against list price per month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Top left is better; a $0 price sits at the left edge. 46 of 63 providers publish a comparable price.

CodeSandbox alternatives

All 62 alternatives ranked →

Agent sandbox · #1

Isorun

78

$19.36 a month*

  • microVM
  • Free credit
  • Pause and resume
▲ 0
Agent sandbox · #2

Northflank

78

$11.73 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #3

Koyeb Sandboxes

76

$10.14 a month*

  • microVM
  • Pause and resume
  • Snapshots
▲ 0
Agent sandbox · #4

Lizard Sandboxes

76

$19.00 a month*

  • microVM
  • Free credit
  • Pause and resume
▲ 0
Agent sandbox · #5

Tensorlake Sandboxes

76

$17.95 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #6

Vercel Sandbox

76

$28.44 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #7

InstaBox

75

$20.00 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #8

MIOSA

75

$20.00 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0

Public benchmarks

CodeSandbox is not in the public benchmarks we track yet. See all benchmarks.

All facts

CodeSandbox
Categoryagent sandbox, dev box
Our score69/100
IsolationMicroVM per VM Sandbox, with memory snapshots for resume and fork
Fixed size per hour$0.075 (Pico: 1 core / 2 GB (5 credits per hour))
Billingper minute (rounded up)
Free tierBuild plan: free, with 400 VM credits each month (unused credits do not roll over) and up to 10 concurrent VMs.
Pause and resumeYes
SnapshotsYes
Max vCPU16 vCPU
Max memory32 GiB
Open sourceNo
Self-hostNo
SDKs and interfacesJavaScript/TypeScript
RegionsNot stated on the pages checked.
Facts checked2026-11-14

User reviews

No reviews yet. Have you used CodeSandbox? Your review helps other developers choose.

Sign in to review or upvote

Questions

Is CodeSandbox good?

CodeSandbox scores 69/100, #17 of 63 AI agent sandboxes. Strong on free tier, isolation, persistence. Best for: Products that embed a browser IDE or per-user dev environments. Facts checked 2026-11-14.

How much does CodeSandbox cost?

$26.40 a month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Free tier: Build plan: free, with 400 VM credits each month (unused credits do not roll over) and up to 10 concurrent VMs.

How is CodeSandbox isolated?

MicroVM per VM Sandbox, with memory snapshots for resume and fork.

What are the best CodeSandbox alternatives?

In AI agent sandboxes, the top-rated are Isorun (78/100), Northflank (78/100), Koyeb Sandboxes (76/100). CodeSandbox is #17 of 63.

Sources

CompareTick 2 to 4 providers.