Skip to content
sandboxrouting

Keln Sandboxes

keln, paid only, microVM isolation.

$0.166/h

No free usage the router counts. At 2 vCPU and 4 GiB the router ranks it at $0.166/h. It is used only with allowPaid on.

Terms

Price
$0.0504/vCPU-h + $0.0162/GiB-h ($0.166/h for 2 vCPU / 4 GiB)
Notes
prepaid; 3 running until the first top-up, 24 h max
Free concurrency
3 at once
Card
required
Adapter's note
Prepaid balance only, no monthly fee and no free credit. 3 running sandboxes until the first paid top-up, then 20; 24 h per session.
Checked
Nov 21, 2026 against docs.keln.ai/sandboxes/

The adapter

Keln Sandboxes (keln.ai): Linux microVMs from an inference platform, on the same API keys and prepaid balance as its models. $0.0504 per vCPU-hour + $0.0162 per GiB-hour, per second while running; paused and stopped sandboxes are free. No free tier: create and resume need the balance to cover the first 5 minutes (402 insufficient_balance). 3 running sandboxes before the first paid top-up, 20 after; at most 24 h per session. REST: https://sandbox.keln.ai (Bearer sk-keln-…). Docs: docs.keln.ai/sandboxes/ (overview, limits, pricing), docs.keln.ai/api/sandboxes/ (every endpoint and error code), docs.keln.ai/llms.txt. Commands stream as server-sent events (base64 output); a dropped stream is reattached from the last event id. Create and run take an Idempotency-Key. Errors are `{"error": {"type", "code", "message"}}`; deleting a stopped sandbox answers 200.

Keys
KELN_API_KEY
Connects through
REST sandbox.keln.ai/v1 (commands stream as SSE)
Capabilities
Public ports, Pause and resume, Snapshots, Native file listing, Extend a live box
Isolation
microVM
Operating system
Linux
Longest sandbox
1 d
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/keln.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["keln"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "keln": {
      "freeTier": {
        "kind": "none"
      },
      "priority": 10
    }
  }
}