flockvm vs CodeSandbox SDK

Both run each sandbox in a Firecracker microVM that resumes with its memory. flockvm suits a few long agent sessions over plain SSH, in France, at a lower hourly rate; the CodeSandbox SDK suits products that create sandboxes from code, fork them in seconds and run 10 to 250 at once.

Last updated Prices checked on

A month of VM hours at 2 vCPU / 4 GB

880 hours

An estimate, per month, from the page's numbers:

  • flockvm = hours × $0.016 an hour, at least $18 (plan)
  • CodeSandbox SDK = (hours − 160 included) × $0.15 an hour, plus $170 (Scale)
Compute only: flockvm small with its $18 plan, CodeSandbox Nano on Scale. flockvm runs at most 15 small VMs at once today; CodeSandbox above 15 agents at once. A month inside Build's 400 free credits costs $0 on CodeSandbox; past them it needs Scale. Pricing pages of 1 November 2026; flockvm's rates may change.
an hour for 2 vCPU / 4 GB, against $0.15 on Nano
flockvm
$0.016
a month for one agent always on, against $255.50 on Scale
flockvm
$18
VMs at once on CodeSandbox's Scale plan
CodeSandbox SDK
250
to start a sandbox from a memory snapshot
CodeSandbox SDK
1–3 s

At a glance

flockvm and the CodeSandbox SDK at a glance

flockvm and the CodeSandbox SDK at a glance
IsolationStrength: Firecracker microVM, own kernelStrength: Firecracker VM, Dev Containers inside
PauseStrength: With memory; kept until you resumePartial: With memory; may be archived after 7 days
ForkGap: Not yetStrength: From templates; up to 5 live forks
Resize while runningGap: No: create another sizeStrength: Up a tier, without reboot
At onceGap: 15 small, 7 default, 3 large or 1 xlarge in FranceStrength: 10 on Build and Pro, 250 on Scale
Largest sizePartial: 16 vCPU / 32 GB, one at a timeStrength: 16 / 32 on Pro and Scale, 64 / 128 Enterprise
DiskStrength: 50, 110 or 250 GBPartial: 20 GB per VM, more on demand from Pro
AccessStrength: Plain SSHStrength: SDK, terminals, browser, preview URLs
WhereStrength: FrancePartial: Regions not listed
SDK and CLIPartial: REST API, CLI, MCP server; no SDKStrength: TypeScript SDK and CLI, MIT
ComplianceGap: No certificationStrength: SOC 2 Type II
Sign-upStrength: Self-serve, 7-day trial, card requiredStrength: Self-serve account, free plan

flockvm and the CodeSandbox SDK both run each sandbox in a Firecracker microVM that can be resumed with its memory, and both bill only while a VM runs. flockvm suits a few long agent sessions you reach over plain SSH, on a host in France, at a lower hourly rate; the CodeSandbox SDK, which Together AI now sells as its legacy Code Sandbox offering, suits products that create many sandboxes from code, fork them from templates in seconds and need 10 to 250 at once.

flockvm wrote this page. Every CodeSandbox and Together AI fact below comes from their own docs, pricing pages, blog posts and repositories, read on 1 November 2026, and the CodeSandbox SDK wins several rows of the tables.

Where flockvm stands out

A VM you SSH into, not an SDK session

A flockvm VM boots to sshd in about a second, and you work in it with ssh, scp, tmux or an editor's remote mode. The default Agent image ships Claude Code, Codex, opencode, Gemini CLI and Cursor Agent on Ubuntu 26.04, with root and Docker. Environments put your variables, secret files and up to 10 cloned GitHub repositories into each new VM on its first boot.

The CodeSandbox SDK is driven from code: you create a sandbox with sdk.sandboxes.create(), then run commands, open terminals and read files through the SDK's client, or connect a browser session to it. The SDK docs describe no SSH access; SSH appears only in CodeSandbox's VS Code extension, for its own editor.

Lower hourly rates, with memory kept while paused

At 2 vCPU and 4 GB, flockvm's current rates (flockvm.com, 1 November 2026, which may change) are $0.016 an hour for small, billed per second. CodeSandbox's matching Nano VM (2 cores, 4 GB) uses 10 credits an hour, which its pricing page lists at $0.15 an hour, billed per started minute. At 4 vCPU and 8 GB it is $0.032 against $0.30 (Micro), and at 8 vCPU and 16 GB $0.064 against $0.60 (Small, from the Pro plan). Paused and stopped flockvm VMs cost nothing for now, and network traffic is not metered for now.

A paused flockvm VM keeps its memory snapshot until you resume or delete it. A hibernated CodeSandbox sandbox is kept on disk "for up to 7 days"; after that, or "if disk space is limited", it may be archived, and a resume from the archive takes 20 to 60 seconds and runs the setup tasks again.

Price per hour, at matching sizes

2 vCPU / 4 GB · small, Nano
4 vCPU / 8 GB · default, Micro
8 vCPU / 16 GB · large, Small
flockvm's current rates, billed per second; CodeSandbox's pricing page, billed per started minute. 1 November 2026.

A host in France

Every flockvm VM runs in France, on an OVHcloud bare-metal server (OVHcloud is a French company); the disk, the memory while it runs and the memory snapshot while it is paused stay on that host. API requests pass through a small relay machine at Scaleway in Paris, another French company, which stores no state. The website runs on Vercel and DNS on Cloudflare, both US companies, as listed on /subprocessors. CodeSandbox, based in Amsterdam, is owned by Together Computer, Inc., a Delaware corporation; the SDK docs say sandboxes run on its "clusters" but list no regions.

Where the CodeSandbox SDK stands out

Fork and clone from a memory snapshot

A CodeSandbox template is "a memory and filesystem snapshot", so a sandbox created from it starts as a continuation: a dev server that was running in the template is running in the new sandbox. Creating from a template or a hibernated sandbox takes 1 to 3 seconds by the docs; Together's product page claims "VM cloning in under 1 second" and "500ms snapshot resumes (P95)" (Together's figures). A running sandbox can also be forked while it runs, a "Live Fork" that the docs limit to 5. flockvm has no fork and no reusable snapshot today.

Scale, sizes and a self-serve plan

The free Build plan allows 10 concurrent VMs and 5 members, Pro the same 10 VMs and 20 members, Scale (from $170 a month per workspace, with "160 hours of monthly VM credits") 250 VMs and 20 members, and Enterprise a custom number of VMs and unlimited members. Sizes go from Pico (1 core, 2 GB) to XLarge (64 cores, 128 GB) on Enterprise; Pro and Scale stop at 16 cores and 32 GB, Build at 4 and 8. A running sandbox can move up a tier "without reboot". flockvm runs at most 15 small VMs at once today, or one xlarge of 16 vCPU and 32 GB: its one host, in France, schedules 30 vCPU across all its VMs (limits).

Built for products, with SOC 2

The SDK gives you preview URLs for ports, private hosts behind tokens, browser sessions that reconnect after hibernation, Dev Containers and a git-versioned filesystem. Its FAQ states that CodeSandbox and its VMs are SOC 2 Type II compliant. The SDK source is on GitHub, MIT-licensed according to its package. flockvm has no SDK and no certification; it has a REST API, a flockvm CLI and an MCP server.

What are flockvm and the CodeSandbox SDK?

flockvm

flockvm runs coding agents such as Claude Code and Codex in parallel, one Firecracker microVM per agent, with its own kernel. You sign up with Google, GitHub or an email link, and a new organization starts with a 7-day free trial: card required, nothing charged for 7 days, cancel anytime.

  • Isolation: Firecracker microVM, Ubuntu 26.04, root, Docker and systemd inside.
  • Sizes: small 2 vCPU / 4 GB / 50 GB disk, default 4 / 8 / 50, large 8 / 16 / 110, xlarge 16 / 32 / 250.
  • Lifecycle: pause and resume with memory, same processes, IP and SSH port; stop keeps the disk. No fork.
  • Regions: France, on one OVHcloud bare-metal server, live; Amsterdam, Ashburn, Chicago and San Jose planned.
  • Pricing: per second at the current rates above; an $18 plan per organization per month, paid upfront by card, that comes back entirely as VM and CI time and expires at the end of the period; past it, a prepaid wallet. No free credits; a 7-day free trial, card required (25 hours of VM time, 2 VMs at once, small and default sizes).
  • Team: organizations with members; an audit log on Enterprise organizations.
  • Open source, compliance: no public code, no certification such as SOC 2.
  • Limits: 15 small, 7 default, 3 large or 1 xlarge VMs at once on the host in France, all customers together; secrets are written into the VM; no SDK (there is a REST API, a CLI and an MCP server).

The CodeSandbox SDK (Together Code Sandbox)

Together AI acquired CodeSandbox on 12 December 2024 and launched "Together Code Sandbox" on top of it in May 2025. Today Together's docs list two offerings: the legacy one "built on @codesandbox/sdk", self-serve through a CodeSandbox account and "called the CodeSandbox SDK" on codesandbox.io; and its successor, the together-sandbox SDK and CLI, which builds sandboxes from Docker-image snapshots and needs your organization to be enabled through Together's sales team. The facts below are about the legacy CodeSandbox SDK unless marked.

  • Isolation: "Every Sandbox is backed by a Firecracker VM"; environments are customized with Docker and Dev Containers.
  • Sizes: Pico 1 core / 2 GB up to XLarge 64 cores / 128 GB, by plan: up to 4 cores / 8 GB on Build, 16 / 32 on Pro and Scale, 64 / 128 on Enterprise; 20 GB of storage per VM, more on demand from Pro. together-sandbox defaults to 1 vCPU and 2 GiB, from 0.1 to 16 cores.
  • Lifecycle: hibernation with a memory snapshot, after an inactivity timeout or on an SDK call; resume in 0.5 to 2 seconds from memory, 5 to 20 from disk, 20 to 60 from the archive.
  • Pricing: VMs from 5 credits an hour (Pico, $0.075) to 320 (XLarge, $4.80) on the pricing page, billed per started minute. Build free with 5 members and 10 concurrent VMs; Pro with 20 members and the same 10 VMs; Scale from $170 a month per workspace with "160 hours of monthly VM credits", more at $0.15 an hour, and 250 concurrent VMs; Enterprise custom, with up to 50% off bulk credit packs. CodeSandbox's docs give a free workspace 400 credits a month and freeze its VMs when they run out. Together's own price list shows Code Sandbox at $0.0446 per vCPU-hour plus $0.0149 per GiB-hour.
  • Regions: not listed.
  • Open source: @codesandbox/sdk and together-sandbox are MIT; the platform cannot be self-hosted. The last @codesandbox/sdk release is v2.4.2, of 4 December 2025.
  • Compliance: SOC 2 Type II, per the SDK FAQ.
  • Limits: by plan, concurrent VMs, new sandboxes per hour and API requests per hour: 10, 20 and 1,000 on Build and Pro; 250, 1,000 and 10,000 on Scale; custom on Enterprise. Session length is unlimited on every plan.

Which workloads fit each one?

Prices: flockvm small (2 vCPU, 4 GB) at the current rate of $0.016/h; CodeSandbox Nano (2 cores, 4 GB) at 10 credits, $0.15/h on its pricing page ($0.015 a credit), the legacy SDK's self-serve price; Scale's "160 hours of monthly VM credits" counted as 160 Nano hours (1,600 credits). A month is 22 weekdays or 730 hours. Compute only.

Workload flockvm (calc.) CodeSandbox SDK (calc.) Who wins and why
5 Claude Code agents, 8 h a weekday $14.08 of usage, so $18 $278 on Scale ($132 of usage) flockvm on price; CodeSandbox above 15 agents at once.
A 1-hour burst of 20 agents, once a month Can't run it today: at most 15 small VMs at once on the host in France $170 on Scale, or $0 on Build in two waves of 10 CodeSandbox, which starts all 20 from one template.
One agent always on, 24/7 $11.68 of usage, so $18 $255.50 on Scale ($109.50 of usage) flockvm on price. On CodeSandbox, raise the hibernation timeout so the agent is not suspended.
100 code runs of 1 minute a day, 30 days $0.80 of usage, so $18 $0 on Build with Pico (250 of its 400 credits); $170 on Scale with Nano CodeSandbox: an SDK call per run and nothing to pay at this volume, if Pico's 1 core and 2 GB are enough, each run stays within its minute (61 s bills as 2 minutes, 500 credits) and the runs are spread out (Build creates 20 new sandboxes an hour).
Evals: 50 parallel runs of 2 h, 4 times a month Can't run it today: at most 15 small VMs at once on the host in France $206 on Scale CodeSandbox. Above 10 at once you need Scale.
One interactive session, 10 h a weekday, paused the rest $3.52 of usage, so $18 $179 on Scale ($33 of usage) flockvm on price, and its paused snapshot does not expire; CodeSandbox if you want hibernation to happen on its own after a timeout.

The arithmetic. Nano uses 10 credits an hour, $0.15 an hour, so $0.015 a credit. 5 × 8 h × 22 = 880 h × $0.016 = $14.08, and 8,800 credits: 880 × $0.15 = $132, or on Scale $170 + (8,800 − 1,600) × $0.015 = $170 + $108 = $278. 20 × 1 h = 200 credits, inside Scale's 1,600, so $170; on Build, two waves of 10 for an hour each also use 200 credits, inside its 400. 730 × $0.016 = $11.68; 730 h = 7,300 credits, $109.50, or $170 + 5,700 × $0.015 = $255.50. 100 × 1 min × 30 = 50 h, so 50 × $0.016 = $0.80; on Pico, 50 × 5 = 250 credits; on Nano, 500 credits, more than Build's 400, so Scale at $170. 50 × 2 h × 4 = 400 h = 4,000 credits, $170 + 2,400 × $0.015 = $206. 10 h × 22 = 220 h, so 220 × $0.016 = $3.52; 2,200 credits = $33, or $170 + 600 × $0.015 = $179.

Usage past Build's 400 free credits needs Scale: CodeSandbox's docs freeze a free workspace's VMs once its credits run out. The flockvm plan is $18 a month and every dollar comes back as VM time, so a month with less than $18 of usage costs $18; usage past it is paid from a prepaid wallet. CodeSandbox bills per started minute, so a run of 1 minute and a few seconds counts as 2 minutes. CodeSandbox's pages disagree on two figures. The pricing page counts Scale's allowance as "160 hours of monthly VM credits" without naming the VM, and prices Nano at $0.15 an hour; the SDK docs say 1,100 credits (110 Nano hours) and $0.01486 a credit. We follow the pricing page and count 160 Nano hours; on the docs' 1,100 credits, each Scale total above $170 would be $7.50 higher.

Monthly bill per workload

5 agents, 8 h a weekday
20 agents at once for 1 h
1 agent always on, 24/7
100 one-minute runs a day · Pico on Build
Evals: 50 runs of 2 h, 4 times
1 interactive session, 10 h a weekday
CodeSandbox on Scale ($170 a month, 160 Nano hours) past Build's free credits; flockvm's $18 plan applied

Plans and what they include

Plans and what they include
flockvmCodeSandbox SDK
Free planGap: NoneStrength: Build: 400 credits, 10 VMs, 5 members
Paid planStrength: $18, comes back as VM timePartial: Scale from $170: 160 VM hours, 250 VMs
Past the planPartial: Prepaid walletPartial: $0.15 a Nano hour
2 vCPU / 4 GBStrength: $0.016 an hourGap: $0.15 an hour (Nano)
Billing stepStrength: Per secondPartial: Per started minute
New sandboxes an hourNot covered herePartial: 20 on Build and Pro, 1,000 on Scale
Paused or stoppedStrength: Free, for nowStrength: Not billed while hibernated
CodeSandbox's pricing page and docs, flockvm's home page, 1 November 2026

How do the features compare?

Feature flockvm CodeSandbox SDK
Isolation Firecracker microVM, own kernel Firecracker VM, with Docker and Dev Containers inside
Start About 1 s from boot to sshd 1–3 s from a template; "2.7 second cold-starts (P95)" (Together's figure)
Pause and resume With memory, on request; snapshot kept until resume Hibernation with memory, on a timeout or on request; may be archived after 7 days
Fork No From templates and hibernated sandboxes; up to 5 live forks of a running one
Resize a running VM No: create another size Yes, up a tier, without reboot
Sizes 2/4, 4/8, 8/16, 16/32 vCPU/GB, 50, 110 or 250 GB disk 1 core / 2 GB up to 16 / 32 on Pro and Scale, 64 / 128 on Enterprise; 20 GB storage
Concurrency 15 small at once on the host in France today, all customers together 10 (Build, Pro), 250 (Scale), custom (Enterprise)
Access SSH SDK, terminals, browser sessions, preview URLs
Regions France; others planned Not listed
SDK / CLI REST API, flockvm CLI and MCP server; no SDK TypeScript SDK and CLI; together-sandbox in Python, TypeScript and a CLI
Open source No SDKs under MIT; platform not self-hostable
Compliance None SOC 2 Type II
Price Current rate: $0.016/h small, per second $0.15/h Nano, per started minute; Scale from $170/month
Sign-up Self-serve; 7-day free trial (card required, 25 h), then the $18 plan Self-serve CodeSandbox account; together-sandbox through sales

For other SDK-first sandboxes, flockvm vs Daytona and flockvm vs E2B cover the two most cited ones, and E2B vs Daytona compares them with each other; E2B's fork also keeps memory. How a Firecracker memory snapshot works, and what resuming one costs, is on /learn/firecracker-snapshot-restore.

FAQ

Is CodeSandbox part of Together AI?

Yes. Together AI announced on 12 December 2024 that it had acquired CodeSandbox, launched in 2017 and based in Amsterdam. Together's docs say CodeSandbox is "a Together company" and that its products are "migrating to the Together platform".

What is Together Code Sandbox?

Together's name for sandboxes on CodeSandbox's infrastructure. Its docs point new integrations to the together-sandbox SDK and CLI, enabled through sales, and keep the CodeSandbox SDK as the "legacy" offering for existing users. On codesandbox.io it is still called the CodeSandbox SDK.

How much does the CodeSandbox SDK cost?

VMs from 5 credits an hour (Pico, $0.075 an hour) to 320 (XLarge, $4.80), billed per started minute, on CodeSandbox's pricing page of 1 November 2026. The Build plan is free with 10 concurrent VMs; Scale starts at $170 a month per workspace, with "160 hours of monthly VM credits", more at $0.15 an hour, and 250 concurrent VMs.

Does the CodeSandbox SDK use microVMs?

Yes. Its docs say every sandbox "is backed by a Firecracker VM", the same virtual machine monitor as flockvm, and that hibernation writes a memory snapshot.

What is a good CodeSandbox SDK alternative?

For fork from a memory snapshot through an SDK, E2B; see E2B alternatives for more, sorted by reason. For a few long agent sessions over SSH on a host in France, flockvm, while 15 small VMs at once on that host are enough.

Run your agents in their own microVMs

flockvm gives each coding agent a Firecracker microVM that pauses with its memory and resumes, billed per second. France is live, and you can start with a 7-day free trial.

Start your 7-day free trial

Card required. Nothing charged for 7 days.