Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

Code sandboxes for AI agents

12 APIs compared on price, free tier, MCP support and real usage. Prices from the vendors' pricing pages, checked Oct 9, 2026.

Most installed SDK
12.7M downloads a week
Free to start
11 of 12
Modal Sandboxes, Vercel Sandbox, E2B
Official MCP server
4 of 12
plug straight into Claude Code, Cursor and others
APIFreePrice SDK downloads / wkGitHub starsMCP
Modal Sandboxes
Serverless isolated containers for coding agents and untrusted code, with GPUs available.
Starter: $30/month of free compute, no monthly fee Free plan · paid from $250/mo 12.7M 539 MCP (community)
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 8.1M 228 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 6.1M 15K 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 …
2.4M 17 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 70.7K 116
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 23.6K 5 MCP
Judge0
Run untrusted code in 60+ languages in a sandbox via a REST API, self-hosted or cloud.
Basic cloud plan: 50 submissions per day at no cost Free plan 38 4,519 MCP (community)
Piston
Self-host a high-performance engine that executes code in many languages via an HTTP API.
Open source not published — 2,845
JDoodle
Execute code in 114 languages and frameworks in a browser-based IDE.
1,000 code executions per day, 15 AI credits daily Free plan · paid from $4/mo — —
Sololearn Playground
Online learning platform with code playground and AI tutor for practicing programming.
Free forever with all course content,... Free plan · paid from $5.83/mo — —
OpenFaaS
Serverless function deployment and execution platform for Kubernetes.
Free (open source) Free plan · paid from $1250/mo — —
Ona
Agents handle tasks securely to completion in ephemeral, policy-enforced environments.
— from $20/mo — —

Other categories

Web search APIs Scraping and crawling Browser automation (cloud) Memory for agents Vector databases LLM gateways and routers Email sending Voice (speech-to-text, text-to-speech) Payments for agents Blockchain RPC and node providers DEX swap and liquidity APIs Crypto market and on-chain data 3D model generation Image generation APIs Sound effects and music generation Video generation APIs Model hosting and inference Embeddings and rerank Document parsing and OCR LLM observability and evals Error tracking and analytics Databases and backends Auth and user accounts File storage and media CDN Hosting and deployment SMS, chat and notifications Integrations and automation Business apps with APIs Maps and location Wallets, tokens and NFTs Stock and financial data Game backends and multiplayer Speech-to-text and transcription