Modal Sandboxes by Modal Labs
Serverless isolated containers for coding agents and untrusted code, with GPUs available.
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
Pricing
| Free tier | Starter: $30/month of free compute, no monthly fee |
|---|---|
| Cheapest paid plan | $250 a month |
| Usage price | Sandbox CPU $0.00003942 per physical core (2 vCPU) per second; memory $0.00000667 per GiB per second |
| Good to know | Minimum 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 server | Community servers only |
|---|---|
| npm | npm install modal |
| PyPI | pip install modal |
| GitHub | modal-labs/modal-client · 522 stars · last push Oct 9, 2026 |
Alternatives to Modal Sandboxes
| API | Free | Price | SDK downloads / wk | GitHub stars | MCP |
|---|---|---|---|---|---|
| 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 |