Skip to content
sandboxrouting

Upstash Box

upstash, free every month, Container isolation.

5 h every month

About 5 h of a 2 vCPU, 4 GiB sandbox a month, at $0.1/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.

Terms

Free usage
5 CPU-hours
Free limits
10 concurrent, 2 vCPU / 4 GB
Paid after
$0.05/vCPU-h (active CPU only), memory free: $0.10/h for 2 vCPU / 4 GB busy
Free concurrency
10 at once
Adapter's note
5 CPU-hours a month, 10 concurrent boxes, up to 2 vCPU / 4 GB. Developer preview.
Checked
Nov 11, 2026 against upstash.com/docs/box/overall/pricing

The adapter

Upstash Box (developer preview): containers with an agent harness. Free (monthly): 5 CPU hours, 10 concurrent boxes, up to 2 vCPU / 4 GB. The router uses ephemeral boxes, which have a TTL (max 3 days) and support exec and files, but no public URL or pause. Spoken over HTTP, no SDK: REST at https://us-east-1.box.upstash.com with an X-Box-Api-Key header (docs https://upstash.com/docs/box), with the calls the official SDK (npm `@upstash/box` 0.7.10, MIT) makes for `EphemeralBox`. CLI: `@upstash/box-cli`. Runtimes only (node, python, golang, ruby, rust), no arbitrary images.

Keys
UPSTASH_BOX_API_KEY
Connects through
REST us-east-1.box.upstash.com/v2 (no SDK)
Capabilities
Native file listing, Snapshots
Isolation
Container
Operating system
Linux
Longest sandbox
3 d
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
vCPUs billed only while busy; memory every second
Source
src/providers/upstash.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["upstash"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "upstash": {
      "freeTier": {
        "kind": "monthly-hours",
        "hours": 5
      },
      "priority": 10
    }
  }
}