Apify AI Code Sandbox logo

Apify AI Code Sandbox

Apify Actor that runs AI-generated code in an isolated container, with MCP, REST API and shell access.

Apify AI Code Sandbox runs each sandbox in a container. It costs $0.20 per GiB-hour of memory, with CPU included. New accounts get a $5 of usage every month.

Updated

Included
vCPU per hour
$0.20
RAM per GiB-hour
No limit
Max session
Not listed
Largest sandbox

Apify AI Code Sandbox specifications

List prices and limits for Apify AI Code Sandbox

vCPU per hour
Included
RAM per GiB-hour
$0.20
Storage
Disk in the run is part of the compute price. The workspace backup goes to a key-value store at $1 per 1,000 GB-hours, plus reads and writes. Data transfer out $0.20 per GB
Billing
Memory only
Free tier
$5 of usage every month
Paid plan from
$19 / monthStarter plan, with $19 of usage every month
Max session
No limitSet the run timeout to 0 for no limit. Each HTTP request has a 5-minute limit
Idle stop
After 15 minutesDefault of 900 seconds. Can be changed or turned off
Sandbox size
Not listed
Default size
1 vCPU · 4 GiB
Concurrent sandboxes
Up to 2565 on Free, 32 on Starter, 128 on Scale, 256 on Business. Extra concurrent runs are an add-on at $5 each
Storage
Disk is 2 times the run memory. Files are backed up and restored after a container migration
Isolation
Container
GPU
Not listed
Snapshots
Not listed
Pause and resume
Not listed
Desktop
Not listed
Regions
1AWS us-east-1
SDKs
Python, JavaScript / TypeScript
Integrations
MCP, Claude Code
License
Not listed
Self-hosting
Not listed
BYOC
Not listed
Compliance
SOC 2 Type II (Report on request in the Trust Center), GDPR

Apify AI Code Sandbox plans

Free

$0per month
Usage
$5 every month
Compute unit
$0.2
Largest run
16 GB RAM
Memory of all runs
16 GB
Concurrent runs
5

Starter

$19per month, plus usage
Usage
$19 every month
Compute unit
$0.2
Largest run
32 GB RAM
Memory of all runs
64 GB
Concurrent runs
32

Scale

$199per month, plus usage
Usage
$199 every month
Compute unit
$0.16
Memory of all runs
256 GB
Concurrent runs
128

Business

$999per month, plus usage
Usage
$999 every month
Compute unit
$0.13
Memory of all runs
512 GB
Concurrent runs
256

Enterprise

Custom

Hourly cost

Apify AI Code Sandbox next to other providers

One sandbox with 2 vCPU and 4 GiB of RAM for one hour, at list price.

Agent37 Cloud
x
Hugging Face Sandboxes
x
Krova Cloud
x
Zipbox
x
StateSet Sandbox
x
Lizard Sandboxes
x
boat
x
Apify AI Code Sandbox
x

Compute only. Storage and network are not included.

Open the calculator

Compare Apify AI Code Sandbox

Alternatives to Apify AI Code Sandbox

Recent changes

Related

More pages that include Apify AI Code Sandbox