OpenRelay Sandboxes
BetaAccess-gated cloud API for isolated virtual machines that start in milliseconds, with command execution, file transfer, exposed HTTPS ports, interactive terminals and pause/resume, metered by vCPU-hour and GiB-hour.
- Metered unit
- per vCPU-hour and per GiB-hour, billed by the second
- Pay as you go
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Memory + processes retained
- Resume: Not published; pause writes a snapshot of memory and disk, and resume restores the sandbox's files and processes on the same host
Overview
OpenRelay is primarily a GPU and inference network, and Sandboxes is the CPU half of the same platform: an API that creates isolated VMs from a template, runs commands, streams NDJSON output, moves files, opens a WebSocket terminal, exposes HTTP ports under sandbox.openrelay.inc and pauses or resumes the machine. The data model is E2B-shaped without claiming compatibility: a template fixes the machine and a base image, a sandbox starts as a copy of that template's snapshot, and the create call can cap CPU and memory below the template but never above it. Pause saves memory and disk to the host and stops the VM, and resume brings back files and processes on the same host. The caveats are load-bearing. Sandbox access is enabled per organization, so every sandbox endpoint returns 404 until access is granted, and file access, ports, terminals, pause/resume and group creates need their own enablement. The vCPU and GiB-hour rates are published, but the pricing page says sandbox compute is not currently billed and will be billed later. The network policy API is partially enforced: host egress, DNS and bandwidth controls are documented as not yet available. And the isolation mechanism behind the word virtual machine is not published, so the catalog records it as undocumented rather than assuming Firecracker.
Key capabilities
- Isolated VMs created from templates with command execution and streaming output
- Reattach to a running exec by execId, with a 1 MiB replay buffer
- File read, write, list and directory streaming over the API
- Expose a sandbox port as a public or signed HTTPS URL
- Interactive terminal over a WebSocket
- Pause and resume with files and processes preserved on the same host
- Idempotency keys and sandbox groups for batch workloads
- Templates with your own init commands, fixed machine size and snapshots
orlCLI and MCP server exposing the API as tools
openrelay.sh
export OPENRELAY_API_KEY="or_your_api_key"
# Create a sandbox from the python template and run a command
curl https://api.openrelay.inc/v1/sandboxes \
-H "Authorization: Bearer $OPENRELAY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"template": "python", "run": {"cmd": "python -c \"print(6 * 7)\""}}'
# Or drive it from the CLI and MCP server
orl sandbox create --template python
orl mcp serve # expose the API as MCP toolsSimilar alternatives
Technical specifications
- Runtime architecture
- Each sandbox is documented as an isolated virtual machine, restored from its template's snapshot and started in milliseconds; the hypervisor and boot model are not published
- Runtime notes
- Files a sandbox writes are kept in its memory: / and /tmp each hold up to half of memoryMiB
- CPU and memory are cgroup limits on the sandbox, and a sandbox that passes its memory limit is stopped with exitCause oom
- Cold-start boot time
- Not published beyond the documentation's statement that sandboxes start in milliseconds
- Max vCPU
- 1 to 64 vCPUs in a template; the built-in python template is 2 vCPUs, and a create can cap a sandbox lower but not raise it
- Max memory
- 128 MiB to 16,384 MiB in a template, 2,048 MiB by default; a create can cap lower but not raise it
- Storage model
- Files live in the sandbox's memory, with / and /tmp each holding up to half of memoryMiB
- Network isolation
- An organization-level sandbox network policy exists, with per-member and per-API-key layers beneath it, but the documentation states that host egress, DNS and bandwidth enforcement is not yet available: creates requiring an unsupported restriction return 503 NETWORK_POLICY_UNSUPPORTED and only the organization layer's preview source restrictions are enforced. Exposed ports answer on their own host under sandbox.openrelay.inc, either publicly or, when signed previews are enabled, through a signed URL valid for up to an hour and never past the sandbox's expiry.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Unknown
- Instant forking
- Not supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Not supported
- Pause / auto-sleep
- Supported
- MCP protocol server
- Supported
- REST API & SDKs
- Not supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Memory + processes retained
- Resume latency
- Not published; pause writes a snapshot of memory and disk, and resume restores the sandbox's files and processes on the same host
- Session limit
- timeoutSeconds defaults to 300 seconds and cannot exceed 86,400; the timeout keeps counting while the sandbox is paused
Pricing model
Official VerifiedRate read 21 Nov 2026.
CPU is $0.0594 per vCPU-hour and memory $0.0198 per GiB-hour, metered by the second with no monthly platform fee, a minimum request of 0.25 vCPU and 128 MiB, and no compute charge while a sandbox is paused to disk. On 2026-11-21 the sandbox pricing page stated that sandbox compute is not currently billed and that the published rates apply when compute billing begins; model inference, if used, bills separately. Creates and resumes also need an available balance of at least $0.50.