Skip to content
Agents tracked: 302 Downloads (7d): 239M down 5.7% GitHub stars: 6.4M VS Code installs: 151M Releases (7d): 342 Agent status: 2 with issues Updated Oct 9, 2026

Modal Sandboxes by Modal Labs

Serverless isolated containers for coding agents and untrusted code, with GPUs available.

Code sandboxes

Price
Free plan
paid plans from $250/mo
Free tier
Yes
Starter: $30/month of free compute, no monthly fee
SDK downloads
11.5M
npm modal · PyPI modal
Status
—

Pricing

Free tierStarter: $30/month of free compute, no monthly fee
Cheapest paid plan$250 a month
Usage priceSandbox CPU $0.00003942 per physical core (2 vCPU) per second; memory $0.00000667 per GiB per second
Good to knowMinimum 0.125 cores per container. Team plan $250/month + compute includes $100/month credits. Since 2026-09-01, Shared Endpoint tokens are billed from the first request even on Starter. No vendor MCP server found; third-party ones exist.

From the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy.

Use it from an agent

MCP serverCommunity servers only
npmnpm install modal
PyPIpip install modal
GitHubmodal-labs/modal-client · 522 stars · last push Oct 9, 2026

Alternatives to Modal Sandboxes

All code sandboxes

APIFreePrice SDK downloads / wkGitHub starsMCP
Vercel Sandbox
Ephemeral Linux microVMs on Vercel for running untrusted or AI-generated code.
Hobby: 5 active-CPU hours, 420 GB-hours... Free plan · paid from $20/mo 6.3M 210 MCP
E2B
Secure cloud sandboxes (microVMs) where agents run code, start in under a second.
Hobby: $100 one-time usage credit, sessions... Free plan · paid from $150/mo 3.4M 14.3K MCP
Daytona
Fast-starting sandboxes (CPU, GPU, Windows) for running AI-generated code, billed per second.
$200 in free compute, no credit card Free plan
then vCPU $0.0504/hour; memory $0.0162 per GiB-hour; storage...
2.3M 71.6K MCP
CodeSandbox SDK
Programmatic microVM sandboxes with snapshot/fork, for running agent and user code.
Build plan: free, 10 concurrent VMs... Free plan · paid from $170/mo 119K 112
Riza
Code Interpreter API that runs untrusted Python, JavaScript, TypeScript, Ruby and PHP in WebAssembly isolation.
Hobby: up to 100,000 requests/month,... Free plan · paid from $250/mo 3,874 5 MCP
Is Modal Sandboxes right for you? Ask AgentGid →