[← Providers](https://www.sandboxrouter.ai/providers)

# CCodeSandbox 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](https://docs.together.ai/docs/together-code-sandbox-legacy), 2026-11-05 (an estimate, not a bill)

Billing

the size you ask for, while it runs

Plan

none needed

## Adapter

Supports

Exec · 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](https://codesandbox.io/docs/sdk)

## Measured on real accounts

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

### Help verify CodeSandbox SDK (Together)

Have a CodeSandbox SDK (Together) 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 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_USERNAME
```

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

sandboxRouter isn't affiliated with CodeSandbox SDK (Together). 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%20CodeSandbox%20SDK%20(Together)&labels=correction&body=What%27s%20wrong%20on%20https%3A%2F%2Fwww.sandboxrouter.ai%2Fproviders%2Fcodesandbox%2C%20and%20a%20link%20to%20the%20source%3A%0A%0A).
