Home / AI agent sandboxes / Modal Sandboxes

Modal Sandboxes

Agent sandboxGPU

Containers for untrusted code on Modal's serverless platform, billed per second on max(request, actual usage).

Verdict (2026-11-14): Modal Sandboxes scores 57/100, #47 of 63 AI agent sandboxes. Strong on free tier, docs and SDKs. Best for: Bursty agent workloads where average CPU and memory use is far below peak, since billing follows actual usage when no request is set.

Skip it if: Sandbox CPU and memory cost 3x Modal's Function list rates.

Prices checked 2026-11-15.

List price per month
$41.88 for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%
Free tier
Starter plan: $0/month with $30 of compute credit every month (CPU, memory, GPU for Functions and Sandboxes).
Isolation
gVisor container runtime, or a VM runtime with its own Linux kernel (selectable per sandbox)
Pause / snapshots
No / Yes

Modal Sandboxes are containers created from the Python, JavaScript or Go SDK that run on either a gVisor runtime or a VM runtime with its own Linux kernel. They are billed per second at Modal's non-preemptible CPU and memory rates (3x the Function list price), charged on whichever is higher of the requested or actually used resources, so an unrequested sandbox pays mostly for what it uses. Sandboxes can attach GPUs (gVisor runtime only), run up to 24 hours, and save state through filesystem, directory and memory snapshots. Plans add a monthly compute credit: $30 on Starter and $100 on the $250/month Team plan.

Best for

  • Bursty agent workloads where average CPU and memory use is far below peak, since billing follows actual usage when no request is set.
  • Sandboxes that need GPUs, from T4 up to B300.
  • Teams already running Python, JS or Go workloads on Modal who want sandboxes on the same account and credit.

Watch out for

  • Sandbox CPU and memory cost 3x Modal's Function list rates.
  • No pause/resume: sandboxes end after at most 24 hours and state must be carried over with snapshots.
  • GPU sandboxes can be preempted and do not support memory snapshots.
  • Region pinning adds a 1.15x to 1.75x price multiplier.

Score breakdown

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

Price9.9/30$41.88 a month; category median $26.22 a month
Free tier10/10Free every month
Isolation11/15sandboxed container (gVisor or similar)
Persistence5/10snapshots
Limits4/1024 h sessions
Docs and SDKs8/103 SDKs or interfaces
External benchmarks9.2/15451 ms median start (ComputeSDK)

Pricing

vCPU
$0.07096 per vCPU-hour
Memory
$0.02401 per GiB-hour
Nvidia B300
$7.10 per hour
Nvidia B200
$6.25 per hour
Nvidia H200 SXM
$4.54 per hour
Storage
$0.09 per GiB-month
Billing
per second
List price per month over timeNo change since 2026-11-13

Full Modal Sandboxes pricing: plans and costs at four workloads →

Where Modal Sandboxes 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.00Modal SandboxesIsorunVercel SandboxMosaic SandboxCreateOS Sandbox
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.

Modal Sandboxes 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

BenchmarkTestResultRankData from
ComputeSDK benchmarksBurst start time (median of 100 at once)451 ms10 of 272026-11-13
ComputeSDK benchmarksRepo clone, install and typecheck (one run)48,147 ms4 of 252026-11-13
StarSling HPC sandbox benchmarksNode.js web tooling (runs per second)15.54 runs/s8 of 122026-09-29
StarSling HPC sandbox benchmarksBetter Auth cold dependency install14.8 s5 of 112026-09-29

All facts

Modal Sandboxes
Categoryagent sandbox, GPU sandbox
Our score57/100
IsolationgVisor container runtime, or a VM runtime with its own Linux kernel (selectable per sandbox)
vCPU per hour$0.07096
Memory per GiB-hour$0.02401
Storage per GiB-month$0.09
Billingper second
Free tierStarter plan: $0/month with $30 of compute credit every month (CPU, memory, GPU for Functions and Sandboxes).
Pause and resumeNo
SnapshotsYes
GPUYes
Custom imagesYes
Network controlsYes
Max session24 hours
Open sourceNo
Self-hostNo
SDKs and interfacesPython, JavaScript/TypeScript, Go
RegionsRuns in Modal's multi-cloud fleet; optional region pinning (us, eu, ap and narrower regions such as us-west, uk, jp) at a 1.15x (broad) or 1.75x (narrow) price multiplier.
Facts checked2026-11-14

Compare Modal Sandboxes

User reviews

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

Sign in to review or upvote

Questions

Is Modal Sandboxes good?

Modal Sandboxes scores 57/100, #47 of 63 AI agent sandboxes. Strong on free tier, docs and SDKs. Best for: Bursty agent workloads where average CPU and memory use is far below peak, since billing follows actual usage when no request is set. Facts checked 2026-11-14.

How much does Modal Sandboxes cost?

$41.88 a month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Free tier: Starter plan: $0/month with $30 of compute credit every month (CPU, memory, GPU for Functions and Sandboxes).

How is Modal Sandboxes isolated?

gVisor container runtime, or a VM runtime with its own Linux kernel (selectable per sandbox).

What are the best Modal Sandboxes alternatives?

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

Sources

CompareTick 2 to 4 providers.