sandboxrouter
← Providers

Upstash Box

provider: "upstash"

Billed per active CPU core-hour only (memory and idle time free); estimate assumes every core of the box busy; fixed sizes 2/4, 4/8, 8/16.

List price per hour

1 vCPU · 2 GB$0.200
2 vCPU · 4 GB$0.200
4 vCPU · 8 GB$0.400
8 vCPU · 16 GB$0.800
16 vCPU · 32 GBmax 8 vCPU
32 vCPU · 128 GBmax 8 vCPU
Source
upstash.com, 2026-11-04 (an estimate, not a bill)
Billing
CPU only while busy; shown with every core busy
Plan
none needed

Adapter

Supports
Exec + streaming · Files
Max size
8 vCPU · 16 GB
Routing
Chosen when it's the cheapest fit, or as a fallback

Measured on real accounts

Real-account check
not run yet
tested against a mock of its API only
Cold start
not measured
no benchmark run yet
Succeeded
not measured
no benchmark run yet
Size you get
not measured
no cost run yet
Billed vs list price
not measured
no cost run yet

Help verify Upstash Box

Have a Upstash Box account? These run real sandboxes on it, for a few cents at most, and write result files that fill in the blanks above. Results never include your keys. Run them in a clone of the repo and open a pull request with the files: CI checks every file for keys and impossible numbers, and a maintainer reviews each one before it shows here.

terminal
npx @sandboxrouter/sdk check --provider upstash --save --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk bench --provider upstash --runs 5 --share --label "your city or cloud region" --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk cost run --provider upstash --minutes 10 --by YOUR_GITHUB_USERNAME

Real-account check, step by step

Not run on a real account yet; the adapter is tested against a mock of Upstash Box's API.

setup
npm i @sandboxrouter/sdk
export UPSTASH_BOX_API_KEY=...
use Upstash Box
import { Router } from "@sandboxrouter/sdk";

const router = new Router();
const sbx = await router.create({}, { provider: "upstash" });
await sbx.exec("uname -a", { onStdout: (c) => process.stdout.write(c) });
await sbx.kill();