sandboxrouter
← Providers

Alibaba Cloud Agent Sandbox

provider: "alibaba"

Per second; Default QoS, Hong Kong and regions outside mainland China; disk separately $0.00025308/GiB-h; code-interpreter-v1 template is 2 vCPU / 2 GiB with 10 GiB disk (E2B-compatible API).

List price per hour

1 vCPU · 2 GB$0.036
2 vCPU · 4 GBmax 2 GB memory
4 vCPU · 8 GBmax 2 vCPU
8 vCPU · 16 GBmax 2 vCPU
16 vCPU · 32 GBmax 2 vCPU
32 vCPU · 128 GBmax 2 vCPU
Source
www.alibabacloud.com, 2026-11-05 (an estimate, not a bill)
Billing
the size you ask for, while it runs
Plan
none needed

Adapter

Supports
Exec + streaming · Files · Custom image
Max size
2 vCPU · 2 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 Alibaba Cloud Agent Sandbox

Have a Alibaba Cloud Agent Sandbox 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 alibaba --save --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk bench --provider alibaba --runs 5 --share --label "your city or cloud region" --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk cost run --provider alibaba --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 Alibaba Cloud Agent Sandbox's API.

setup
npm i @sandboxrouter/sdk e2b
export ALIBABA_SANDBOX_API_KEY=...
use Alibaba Cloud Agent Sandbox
import { Router } from "@sandboxrouter/sdk";

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