Self-hosted Apify AI Code Sandbox alternatives
20 self-hosted sandbox providers you can use instead of Apify AI Code Sandbox. StateSet Sandbox has the lowest hourly price, $0.014 for 2 vCPU and 4 GiB. Orgo, Beam Sandboxes and Unikraft Cloud offer GPUs.
Updated
Apify AI Code Sandbox, for reference
20 self-hosted alternatives to Apify AI Code Sandbox
Sorted by hourly price for 2 vCPU · 4 GiB, low to high
Sponsored listing
SponsoredThis slot is open. Contact us to book it.
StateSet Sandbox
Sandboxes for AI agents, one Kubernetes pod each, with gVisor isolation.gVisorLower RAM priceCheckpoints save and restore sandbox state$0.014per hour
$0.060per hour
Vers
Linux computers you can branch, checkpoint, and restore.Full VMCommits and checkpointsStarting credit$0.080per hour
Novita Sandbox
Cloud sandboxes for AI agents to run code and browsers.DesktopLower RAM priceKeeps filesystem and memory. v2 region only$0.117per hour
Collimate
Live-fork microVM sandboxes for RL post-training and coding agents.FirecrackerLower RAM priceDemo key, free with no card$0.128per hour
Everstack
Open-source platform that runs isolated sandboxes for AI agents.DesktopSnapshots and templates$0.133per hour
$0.150per hour
BoxLite Cloud
Hosted microVM boxes for AI agents, with an SDK.MicroVMLower RAM priceDisabled on Cloud$0.158per hour
microsandbox cloud
Hosted microVM sandboxes for AI agents and untrusted code.MicroVMLower RAM priceDisk only, from stopped persistent sandboxes$0.165per hour
Smol Machines
Hosted Linux microVMs with their own kernel, for agents and untrusted code.Bills active CPU onlyMicroVMLower RAM price$0.165per hour
E2B
Open-source sandbox platform that gives AI agents isolated machines.DesktopFirecrackerLower RAM price$0.166per hour
$0.166per hour
$0.166per hour
PandaStack Sandbox
Firecracker microVM sandboxes for AI agents.Bills active CPU onlyFirecrackerLower RAM price$0.173per hour
LangSmith Sandboxes
Isolated sandboxes for running agent-generated code.FirecrackerLower RAM priceFrom Docker images or running sandboxes$0.189per hour
BoxCompute
Linux VM sandboxes for AI agents, hosted in Malaysia.DesktopFull VMNo snapshots, checkpoints or forks in the public API$0.200per hour
Beam Sandboxes
Isolated, secure environments for running untrusted code at scale.GPUContainerLower RAM price$0.227per hour
Not listedper hour
Not listedper hour
Not listedper hour
Side by side
Apify AI Code Sandbox first, then the 20 alternatives
Provider
Isolation
vCPU / hr
GiB / hr
Free tier
Max session
GPU

- Isolation
- Container
- vCPU / hr
- Included
- Free tier
- $5 / mo

- Isolation
- gVisor
- vCPU / hr
- $0.006
- Free tier
- $25 credit

- Isolation
- Full VM
- vCPU / hr
- $0.030
- Free tier
- $5 credit

- Isolation
- Full VM
- vCPU / hr
- $0.040
- Free tier
- Starting credit

- Isolation
- Not listed
- vCPU / hr
- $0.035
- Free tier
- $100 credit

- Isolation
- Firecracker
- vCPU / hr
- $0.040
- Free tier
- Free demo

- Isolation
- Not listed
- vCPU / hr
- $0.067
- Free tier
- $5 credit

- Isolation
- MicroVM
- vCPU / hr
- $0.047
- Free tier
- $30 credit

- Isolation
- MicroVM
- vCPU / hr
- $0.050
- Free tier
- $100 credit

- Isolation
- MicroVM
- vCPU / hr
- $0.050
- Free tier
- Free plan

- Isolation
- MicroVM
- vCPU / hr
- $0.050
- Free tier
- $100 credit

- Isolation
- Firecracker
- vCPU / hr
- $0.050
- Free tier
- $100 credit

- Isolation
- Firecracker
- vCPU / hr
- $0.050
- Free tier
- Free during public preview

- Isolation
- Firecracker
- vCPU / hr
- $0.050
- Free tier
- $5 to start, plus $95 when you add billing

- Isolation
- Firecracker
- vCPU / hr
- $0.054
- Free tier
- $5.40 / month

- Isolation
- Firecracker
- vCPU / hr
- $0.058
- Free tier
- 8 LSU a month

- Isolation
- Full VM
- vCPU / hr
- $0.100
- Free tier
- $5 credit

- Isolation
- Container
- vCPU / hr
- $0.068
- Free tier
- Not listed

- Isolation
- Container
- vCPU / hr
- Not listed
- Free tier
- Not listed

- Isolation
- Container
- vCPU / hr
- Not listed
- Free tier
- None

- Isolation
- Firecracker
- vCPU / hr
- Not listed
- Free tier
- Hobby plan, free forever
Related
Comparisons
Apify AI Code Sandbox vs Agent Sandbox
Apify AI Code Sandbox vs Agent37 Cloud
Apify AI Code Sandbox vs AgentBay
Apify AI Code Sandbox vs Alibaba Cloud Agent Sandbox
Alternatives
All Apify AI Code Sandbox alternatives
Open-source Apify AI Code Sandbox alternatives
Lower-priced Apify AI Code Sandbox alternatives
Agent Sandbox alternatives
More on Apify AI Code Sandbox
Apify AI Code Sandbox profile
Apify AI Code Sandbox pricing
Container sandboxes
Sandboxes with a free tier