Skip to content
KE

Keln Sandboxes

Active

Isolated Linux microVM sandboxes for AI agents on Keln's model platform, created over a REST API or a hosted MCP server and paid from the same prepaid balance.

Visit website
CategoriesAI Agent SandboxMicroVMCode ExecutionTypeCommercial SaaSContainmentHardware VMRating4.2 / 5
Boot rank
Vendor claim
Self-reported figure, not ranked against measured cold starts
Idle billing
Usage-metered
137 listings meter active runtime
State kept on pause
Memory + processes retained
Resume: Usually within a second; a slower resume returns 202 with state starting and requests wait

Overview

Keln Sandboxes extends a model-inference platform into code execution, and the selling point is one account rather than one more vendor: the sandbox API at sandbox.keln.ai takes the same API key and prepaid balance as Keln's model requests, and a hosted MCP server at mcp.keln.ai/mcp lets Claude, ChatGPT, Cursor, Codex and VS Code create sandboxes without an integration. Each sandbox is a microVM, starts from a base template with Python, Node.js, git, curl and a C toolchain, and can be paused with memory and processes intact or saved to a disk image that new sandboxes start from. Networking is a per-sandbox policy of allow and deny entries that can be tightened while the sandbox runs, and preview ports are private unless made public. The documented limits are concrete: 1 to 4 vCPUs, up to 16 GiB of memory, a 24-hour maximum lifetime, 20 running sandboxes, and 100 paused ones for 30 days. What is missing is equally concrete. No SDK or CLI is documented, no region list is given, and images capture any credentials written to disk, which the docs warn about. Treat it as a well-documented hosted sandbox for agent loops that already run on Keln.

Key capabilities

  • One microVM per sandbox with its own kernel
  • REST API at sandbox.keln.ai with streamed command output
  • Hosted MCP server with no package to install
  • Pause and resume with memory, processes and files preserved
  • Save a sandbox's disk as an image and start new sandboxes from it
  • Per-sandbox network policy with allow and deny entries
  • Private preview ports with per-sandbox tokens
  • Billed per second from the same balance as Keln model requests

keln-sandbox.sh

# Create a sandbox, run a command and pause it
SANDBOX=$(curl -s https://sandbox.keln.ai/v1/sandboxes \
  -H "Authorization: Bearer $KELN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"timeout_s": 600}' | jq -r .id)

curl https://sandbox.keln.ai/v1/sandboxes/$SANDBOX/commands \
  -H "Authorization: Bearer $KELN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"argv": ["python", "-c", "print(6 * 7)"]}'

curl -X POST https://sandbox.keln.ai/v1/sandboxes/$SANDBOX/pause \
  -H "Authorization: Bearer $KELN_API_KEY"

Similar alternatives

Technical specifications

Runtime architecture
One microVM per sandbox with its own kernel; Keln does not name the hypervisor
Cold-start boot time
Usually ready within a few seconds (vendor claim)
Max vCPU
4 vCPU (1 to 4, set per sandbox)
Max memory
Up to 16,384 MiB total, with 1,024 to 8,192 MiB per vCPU
Storage model
10,240 MiB disk by default; saved images are billed at $0.08 per GB-month
Network isolation
Outbound access is on by default and can be turned off or restricted to a list of domains, IPv4 addresses and CIDRs, with deny rules taking precedence over allow. Port 25 is always blocked, and the policy can be changed while the sandbox runs and survives pause and resume. Preview ports are private by default and need the sandbox's port token unless made public.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
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
Supported
Pause / auto-sleep
Supported
MCP protocol server
Supported
REST API & SDKs
Not supported
Idle billing
Usage-metered
State kept on pause
Memory + processes retained
Resume latency
Usually within a second; a slower resume returns 202 with state starting and requests wait
Session limit
24 hours from creation or the last resume. The default timeout is 300 seconds and can be extended; paused sandboxes are kept for 30 days and are not billed.

Pricing model

Official Verified

Rate read 23 Nov 2026.

Pricing tiers
Pay as you go
Summary

$0.0504 per vCPU-hour and $0.0162 per GiB-hour, billed per second only while a sandbox is running; starting and paused time are free, and saved images cost $0.08 per GB-month. There is no monthly fee: sandboxes draw on the same prepaid balance as Keln model requests. The default 2 vCPU / 2 GiB sandbox is $0.133 per hour and a 2 vCPU / 4 GiB one $0.166. Your balance must cover the first five minutes when creating or resuming a sandbox.

Billing unitper second of running vCPU and memory, from a prepaid balance
View official pricing page

Related architecture guides