[← Providers](https://www.sandboxrouter.ai/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 at the Small rate; fixed sizes 2/4, 4/8, 8/16, and the pricing page lists $0.20 (4/8) and $0.40 (8/16) per active CPU hour without saying whether that is per core or per box.

## 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 GB | max 8 vCPU |
| 32 vCPU · 128 GB | max 8 vCPU |

Source

[upstash.com](https://upstash.com/pricing/box), 2026-11-17 (an estimate, not a bill)

Billing

CPU only while busy; shown with every core busy

Plan

none needed

## Adapter

Supports

Exec · Files

Max size

8 vCPU · 16 GB

Routing

Chosen when it's the cheapest fit, or as a fallback

Docs

[upstash.com](https://upstash.com/docs/box/overall/ephemeral-box)

## Measured on real accounts

Awaiting results for a real-account check, startup timing, delivered resources, provider usage charges.

### Help verify Upstash Box

Have a Upstash Box account? These commands start real sandboxes and write result files. Provider charges may apply. 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
```

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();
```

sandboxRouter isn't affiliated with Upstash Box. Prices come from its public pricing page and results from our own runs. Something wrong or out of date? [Report a correction](https://github.com/gigialc/sandboxrouter/issues/new?title=Correction%3A%20Upstash%20Box&labels=correction&body=What%27s%20wrong%20on%20https%3A%2F%2Fwww.sandboxrouter.ai%2Fproviders%2Fupstash%2C%20and%20a%20link%20to%20the%20source%3A%0A%0A).
