CodeSandbox SDK vs Fly.io Machines: prices, limits and features.
Fly.io Machines lists the lower price for 2 vCPU and 4 GB: $0.092 / 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. Fly.io Machines are Firecracker microVMs you start through a REST API, in many regions. Fly also sells Sprites, a sandbox for agents.
Pick CodeSandbox SDK if you want
- SDK languages: Python and TypeScript (Fly.io Machines: None: a REST API and the flyctl CLI)
Pick Fly.io Machines if you want
- a lower list price for 2 vCPU and 4 GB: $0.092 / hour against $0.15 / hour
- pause keeps memory: Yes, for Machines with 2 GB or less, which CodeSandbox SDK's pages do not state
- fork and snapshots: Clone copies the config; volume snapshots, which CodeSandbox SDK's pages do not state
- security report: SOC 2 Type 2, which CodeSandbox SDK's pages do not state
Or Groundbox if you want
- a lower list price than both: $0.08 / hour
- CI runners too: yes, on the same key and bill
Where CodeSandbox SDK or Fly.io Machines is ahead of Groundbox: longest session, security report.
Side by side
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 and Groundbox vs Fly.io Machines. Every other comparison is on /compare.
Sources
CodeSandbox SDK
- Together: Code Sandbox (legacy CodeSandbox SDK), checked 2026-11-19
- Together: Code Sandbox, checked 2026-11-19
- Together pricing, checked 2026-11-20
Fly.io Machines
- Fly.io pricing, checked 2026-11-20
- Fly.io docs: pricing, checked 2026-11-19
- Fly.io docs: Machine sizing, checked 2026-11-19
- Fly.io docs: Machines API, checked 2026-11-19
- Fly.io docs: suspend and resume, checked 2026-11-19
- Fly.io docs: Machines overview, checked 2026-11-19
- Fly.io docs: Machines, checked 2026-11-19
- Fly.io security questionnaire, checked 2026-11-19
- Fly.io Sprites
- Fly.io Sprites pricing, checked 2026-11-19