Playground Console
42+ languages supported

Remote Code Execution API

Execute code in 42+ languages via a simple REST API. Interactive sessions, persistent services with HTTPS, snapshots, and async job polling - perfect for LLM tool use.

Execution Modes

Execute
Fire and forget
Run code once, get stdout/stderr immediately. No state persists between calls.
Session
Interactive shell
Persistent container with shell access. Install packages, run REPLs, freeze/unfreeze.
Service
Web app hosting
Deploy apps with custom domains. Auto-SSL, wake-on-request, deep freeze.
Snapshot
Clone and restore
Save container state, clone to new sessions or services, restore anytime.

Integration Quickstart ⚡

Add unsandbox superpowers to your existing app in 3 steps

1
Download
curl -O https://git.unturf.com/engineering/unturf/un-inception/-/raw/main/un.py
2
Set API Keys Purchase a key. 🔐
export UNSANDBOX_PUBLIC_KEY="unsb-pk-xxxx-xxxx-xxxx-xxxx" export UNSANDBOX_SECRET_KEY="unsb-sk-xxxxx-xxxxx-xxxxx-xxxxx"
3
Hello World
# In your Python app: from un import execute_code result = execute_code("python", "print('Hello from unsandbox!')") print(result["stdout"]) # Hello from unsandbox!

Why unsandbox?

Freeze / Unfreeze
Pause containers when idle, wake them instantly on demand. Pay only for active compute time.
Auto-SSL
Automatic Let's Encrypt certificates for services. Custom domains with zero configuration.
Deep Freeze
Services hibernate when keys expire. Wake them years later - data preserved indefinitely.
Zero Trust
Network isolation by default. Containers can't reach the internet unless explicitly allowed.

Security First

Every execution runs in an isolated LXC container with strict resource limits. Choose your network policy based on trust level.

zerotrust No network access (default)
semitrusted Internet via egress proxy
zerotrust sandbox
$ curl https://evil.com
curl: (6) Could not resolve host: evil.com
$ python -c "print('isolated!')"
isolated!
$

Use Cases

AI Code Assistants
Let your AI write and test code in real sandboxed environments. Verify solutions work before showing users.
Python JavaScript +40 more
Demo Apps
Share prototypes with real URLs. Custom domains, auto-SSL, and wake-on-request for zero idle cost.
Streamlit Flask FastAPI
Remote Development
Interactive shells with 30+ REPLs. Install packages, run tests, snapshot and restore state.
tmux REPLs SSH

Web Console

Manage sessions, services, and snapshots from your browser

Sessions
Services
Snapshots
API Keys
Active Sessions + New
dev-python-3 2m ago running
test-nodejs 1h ago frozen
data-analysis 5m ago running
Open Console →

Resources

API Docs
Complete endpoint documentation with code samples in 42+ languages.
View Docs
CLI Tool
Command-line client for sessions, services, and executions.
Get CLI
Blog
Deep Unfreeze: Services that sleep for decades, then wake up when anyone pays.
Read Blog

Simple Pricing

Development
$7 /mo
1 vCPU, 2GB RAM
Production
$91 /mo
4 concurrent, 91 RPM
View Full Pricing