# CodeSandbox SDK vs Northflank: prices, limits and features.

**Northflank lists the lower price for 2 vCPU and 4 GB: $0.067 / hour against $0.15 / hour.** Here is where they differ, from each one's own pages, plus a third option if neither fits.

## The short answer

The CodeSandbox SDK runs microVM sandboxes. Together AI now offers it as Together Code Sandbox and calls the old SDK legacy. Northflank is a cloud platform whose sandboxes run untrusted code in microVMs, on Northflank's cloud or in your own cloud account.

### Pick CodeSandbox SDK if you want

Nothing in the table below puts CodeSandbox SDK ahead of Northflank.

### Pick Northflank if you want

- a lower list price for 2 vCPU and 4 GB: $0.067 / hour against $0.15 / hour
- self-host: Yes, in your own AWS, GCP or Azure account, which CodeSandbox SDK's pages do not state
- GPUs: Yes, L4 to B200, which CodeSandbox SDK's pages do not state
- largest size: 288 vCPU (CodeSandbox SDK: 16 cores)
- security report: SOC 2 Type II, HIPAA, ISO 27001, which CodeSandbox SDK's pages do not state

### Or Groundbox if you want

Groundbox is not ahead of both on any row below.

Where CodeSandbox SDK or Northflank is ahead of Groundbox: list price, longest session, self-host, GPUs, largest size, security report.

## Side by side

| Feature | CodeSandbox SDK | Northflank | Groundbox |
| --- | --- | --- | --- |
| Price, 2 vCPU · 4 GB | [$0.15 / hour](https://www.together.ai/pricing) | [$0.067 / hour](https://northflank.com/pricing) | $0.08 / hour |
| Pause keeps memory | Not published | [No: pause keeps volumes and ends processes](https://northflank.com/docs/v1/application/sandboxes/configure-and-manage-sandboxes) | Yes, memory and disk |
| CI runners too | [No: the pricing page lists Code Sandbox and Code Interpreter only](https://www.together.ai/pricing) | Not published | Yes, on the same key and bill |
| Isolation | [microVM](https://docs.together.ai/docs/together-code-sandbox-legacy.md) | [microVM on Cloud Hypervisor](https://northflank.com/product/sandboxes) | Firecracker VM |
| Fork and snapshots | Not published | Not published | Fork a running sandbox; save points |
| Longest session | [Runs until stopped, unless a ttl is set](https://docs.together.ai/docs/together-code-sandbox.md) | [No limit: runs until deleted](https://northflank.com/product/sandboxes) | 720 hours, renewable |
| Self-host | Not published | [Yes, in your own AWS, GCP or Azure account](https://northflank.com/docs/v1/application/sandboxes/sandboxes-in-your-own-cloud) | No |
| GPUs | Not published | [Yes, L4 to B200](https://northflank.com/pricing) | Not offered |
| Largest size | [16 cores](https://docs.together.ai/docs/together-code-sandbox.md) | [288 vCPU](https://northflank.com/product/sandboxes) | 16 vCPU |
| SDK languages | [Python and TypeScript](https://docs.together.ai/docs/together-code-sandbox.md) | [JavaScript and Python](https://northflank.com/docs) | TypeScript and Python |
| Security report | Not published | [SOC 2 Type II, HIPAA, ISO 27001](https://northflank.com/pricing) | No SOC 2 report |
| Free to start | [Legacy SDK: a free Build plan](https://docs.together.ai/docs/together-code-sandbox-legacy.md) | [$20 a month of resources, no card](https://northflank.com/pricing) | $5 of usage, no card |
| Plans | [Legacy SDK: Build (free) and Scale plans; the new SDK is sold through Together's sales team](https://docs.together.ai/docs/together-code-sandbox-legacy.md) | [A free Sandbox plan with up to $20 a month of resources, then pay as you go](https://northflank.com/pricing) | Free: everything, with $5 of usage. $20 / month: $20 of usage included, then pay as you go |
| CPU | [$0.0446 per vCPU-hour (Together)](https://www.together.ai/pricing) | [$0.01667 per vCPU-hour](https://northflank.com/pricing) | $0.04 per vCPU-hour, a dedicated core |
| Memory | [$0.0149 per GiB-hour (Together)](https://www.together.ai/pricing) | [$0.00833 per GB-hour, billed apart from CPU](https://northflank.com/pricing) | Included, up to 4 GB per vCPU |
| Billing | [Legacy SDK: VM credits at $0.01486 each, rounded up to the minute](https://docs.together.ai/docs/together-code-sandbox-legacy.md) | [Per second, with no seat fees](https://northflank.com/pricing) | Per second, no minimum |
| Sizes | [New SDK: 0.1 to 16 cores, 1 to 8 GB per CPU](https://docs.together.ai/docs/together-code-sandbox.md) | [Up to 288 vCPU and 2 TB of memory](https://northflank.com/product/sandboxes) | 1 to 16 vCPU, up to 4 GB per vCPU |
| Sandboxes at once | [Legacy SDK: 10 on Build, 250 on Scale](https://docs.together.ai/docs/together-code-sandbox-legacy.md) | Not published | 20 once a card is on file |
| Egress controls | Not published | [Rules by domain and IP range; secrets added on the way out](https://northflank.com/product/sandboxes) | An allowlist of hosts per sandbox |

a rust mark means that side is ahead · each value links to its source · checked 2026-11-20

Each against Groundbox: [Groundbox vs CodeSandbox SDK](https://groundbox.dev/compare/codesandbox) and [Groundbox vs Northflank](https://groundbox.dev/compare/northflank). Every other comparison is on [/compare](https://groundbox.dev/compare).

## Sources

### CodeSandbox SDK

- [Together: Code Sandbox (legacy CodeSandbox SDK)](https://docs.together.ai/docs/together-code-sandbox-legacy.md), checked 2026-11-19
- [Together: Code Sandbox](https://docs.together.ai/docs/together-code-sandbox.md), checked 2026-11-19
- [Together pricing](https://www.together.ai/pricing), checked 2026-11-20

### Northflank

- [Northflank pricing](https://northflank.com/pricing), checked 2026-11-20
- [Northflank: sandboxes](https://northflank.com/product/sandboxes), checked 2026-11-20
- [Northflank docs](https://northflank.com/docs), checked 2026-11-20
- [Northflank docs: sandboxes on Northflank's cloud](https://northflank.com/docs/v1/application/sandboxes/sandboxes-on-northflank-cloud), checked 2026-11-20
- [Northflank docs: sandboxes in your own cloud](https://northflank.com/docs/v1/application/sandboxes/sandboxes-in-your-own-cloud), checked 2026-11-20
- [Northflank docs: configure and manage sandboxes](https://northflank.com/docs/v1/application/sandboxes/configure-and-manage-sandboxes), checked 2026-11-20

## Try the third option free.

[Start free, no card](https://groundbox.dev/signup)[Groundbox vs CodeSandbox SDK](https://groundbox.dev/compare/codesandbox)
