← Providers
CodeSandbox SDK (Together)
provider: "codesandbox"
Fixed tiers: Pico 2 vCPU / 1 GB $0.0743/h, Nano 2 / 4 $0.1486/h, up to 64 / 128 $4.7552/h; credits $0.01486, billed per started minute; Build free, 10 concurrent; Scale $170/mo incl. 1,100 credits.
List price per hour
| 1 vCPU · 2 GB | $0.149 |
| 2 vCPU · 4 GB | $0.149 |
| 4 vCPU · 8 GB | $0.297 |
| 8 vCPU · 16 GB | $0.594 |
| 16 vCPU · 32 GB | $1.19 |
| 32 vCPU · 128 GB | $4.76 |
- Source
- docs.together.ai, 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 · Pause · Custom image
- Max size
- 64 vCPU · 128 GB
- Routing
- Chosen when it's the cheapest fit, or as a fallback
- Docs
- codesandbox.io
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 CodeSandbox SDK (Together)
Have a CodeSandbox SDK (Together) 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 codesandbox --save --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk bench --provider codesandbox --runs 5 --share --label "your city or cloud region" --by YOUR_GITHUB_USERNAME
npx @sandboxrouter/sdk cost run --provider codesandbox --minutes 10 --by YOUR_GITHUB_USERNAMEReal-account check, step by step
Not run on a real account yet; the adapter is tested against a mock of CodeSandbox SDK (Together)'s API.
setup
npm i @sandboxrouter/sdk @codesandbox/sdk
export CSB_API_KEY=...use CodeSandbox SDK (Together)
import { Router } from "@sandboxrouter/sdk";
const router = new Router();
const sbx = await router.create({}, { provider: "codesandbox" });
await sbx.exec("uname -a", { onStdout: (c) => process.stdout.write(c) });
await sbx.kill();