CodeSandbox
Cloud platform to create, share, and run isolated development environments and code sandboxes instantly.
| What is it | Cloud platform to create, share, and run isolated development environments and code sandboxes instantly. |
|---|---|
| Pricing | Freemium — from $170/mo |
| Free tier | Yes |
| Platform | Web Application |
| API | Yes |
| Best for | Providing a secure sandbox for AI agents to execute code, Creating isolated development environments for teams or students |
| Domain registered | 2016 |
Data updated Aug. 1, 2026
What does CodeSandbox do?
CodeSandbox is a cloud-based platform that lets you create and manage isolated development environments, called sandboxes, in seconds. You can use it through a web interface or its APIs to spin up a virtual machine that runs code. This is useful for testing, sharing projects, or providing a secure space for code to run without affecting your local system. It supports many programming languages and frameworks through ready-made templates.
What makes CodeSandbox stand out is its focus on security and scale. Each sandbox runs in complete isolation, which means you can safely execute untrusted code. The platform uses microVMs to start, clone, or restore environments in about two seconds. It also keeps sandbox state with snapshots, so work can resume after inactivity. These features are packaged into an SDK, allowing developers to integrate sandboxes directly into their own applications or AI agents.
The tool is built for developers and teams who need reliable, scalable code execution environments. It's particularly valuable for companies building AI agents that require a safe place to run generated code. Educational platforms can use it to give each student a personal coding environment. Engineering teams can also use it for continuous integration, running tests in disposable sandboxes. It removes the hassle of setting up local environments for every task or user.
Key features
What makes it stand outWho is CodeSandbox for?
Who benefits most from this toolPricing
Free tier available — start without a credit cardBuild
- 5 members
- 20 GB storage
- 40 vm credits monthly
- 1,000 SDK requests hourly
- 10 concurrent vm sandboxes
- 20 new SDK sandboxes hourly
- 5 members
- 40 hours of monthly VM credits
- Unlimited Browser & VM Sandboxes
- CodeSandbox SDK lite
- Private Sandboxes
- VM specs up to 4 vCPUs + 8 GiB RAM
- VS Code extension
Scale
Everything in Build, plus:
- 20 members
- 20 GB more on demand storage
- 160 vm credits monthly
- 10,000 SDK requests hourly
- 250 concurrent vm sandboxes
- 1,000 new SDK sandboxes hourly
- Up to 20 members
- 160 hours of monthly VM credits
- Access to on-demand VM credits priced at $0.15 per hour
- 1,000 new Sandboxes an hour
- 250 concurrent VMs
- 10,000 hourly requests
- CodeSandbox SDK
- More VM tiers
Enterprise
Everything in Scale, plus:
- Unlimited members
- Custom storage
- Custom SDK requests hourly
- Custom concurrent vm sandboxes
- Custom new SDK sandboxes hourly
- Unlimited members
- Up to 50% off bulk VM credit packs
- Create as many Sandboxes as you need
- Bespoke concurrent VMs
- Hourly request limits tailored to your requirements
- VM specs up to 64 vCPUs + 128 GiB RAM
- Dedicated support
- SOC 2 Type II compliance
- SSO
- Your own dedicated cluster
Trust & presence
Gallery
Click any image to enlargeSimilar tools
API for secure Python code execution in AI agents — run untrusted code in isolated sandboxes with file management.
Secure sandbox platform for running untrusted AI code — execute scripts, tests, and agents in isolated micro-VMs with ~100ms startup.
Provides instant, secure virtual machines for AI agents, offering isolated execution environments with persistent storage and networking.
Secure cloud sandbox infrastructure for running AI-generated code and autonomous agents at scale
Open-source, secure cloud sandbox environment for building and running enterprise-grade AI agents.
Secure sandbox infrastructure to run AI-generated code fast and safely.
API demo platform — build interactive sandbox demos and sample apps for developer adoption and sales
Cloud platform providing autonomous AI agents with secure sandbox environments for code execution and data analysis