flockvmModal

flockvm vs Modal

Both run agent code in an isolated environment, billed per second. Modal wins on GPUs, scale, SDKs and paying for what the agent uses; flockvm on a VM with no 24-hour cap that pauses with its memory, on a host in France, at a lower rate for a reserved size.

Last updated Prices checked on

A month of agents, 8 h a day on 22 weekdays

5 agents

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

  • flockvm = agents × 8 h a day × 22 weekdays × $0.016 an hour, at least $18 (plan)
  • Modal, reserved = agents × 8 h a day × 22 weekdays × $0.23796 an hour
  • Modal, no reservation = agents × 8 h a day × 22 weekdays × $0.0207405 an hour
flockvm small with its $18 plan. Modal with 2 vCPU / 4 GiB reserved, and with no reservation: that one is the minimum, the bill rises with what the agents really use. Before Modal's $30 monthly Starter credit; prices of 1 November 2026, flockvm's may change.
an hour for 2 vCPU / 4 GB, against $0.23796 reserved on Modal
flockvm
$0.016
a month for one agent always on, against $173.71
flockvm
$18
containers at once on Modal's Team plan
Modal
5,000
GPUs at once on Modal's free Starter plan; flockvm has none
Modal
10

At a glance

flockvm and Modal at a glance

flockvm and Modal at a glance
IsolationStrength: Firecracker microVM, own kernelPartial: gVisor, or a VM with its own kernel
Session lengthStrength: No capGap: 5 min default, 24 h maximum
PauseStrength: Keeps memory; the same VM resumesGap: No pause; alpha memory snapshots end it
ForkGap: NoPartial: From filesystem snapshots; memory in alpha
At onceGap: 15 small, 7 default, 3 large or 1 xlarge in FranceStrength: 100 on Starter, 5,000 on Team
GPUsGap: NoneStrength: From an Nvidia T4 to a B300
BillingPartial: Full VM size, every second it runsStrength: What the sandbox uses, above the request
RegionsPartial: FranceStrength: US, EEA, Asia-Pacific and more; 1.15× to 1.75× pinned
SSHStrength: Built inPartial: A TCP tunnel to an SSH server you run
Network trafficStrength: Not metered, for nowPartial: 1 TiB included, then $0.04 per GiB
SDK and CLIPartial: REST API, CLI, MCP server; no SDKStrength: Python, JavaScript, Go; modal CLI
ComplianceGap: No certificationStrength: SOC 2 Type II; HIPAA on Enterprise

flockvm and Modal Sandboxes both run untrusted agent code in an isolated environment, billed per second. flockvm fits one coding agent that lives for days in a Firecracker VM you reach over SSH, on a host in France, and pauses with its memory intact; Modal fits teams that need GPUs, hundreds or thousands of sandboxes at once, and a Python, JavaScript or Go SDK to drive them. Both run sandboxes the day you sign up: Modal on free monthly credits, flockvm on a 7-day trial that needs a card.

flockvm wrote this page. Every fact about Modal links to Modal's own docs or pricing page, read on 1 November 2026. Modal ships features quickly, so check the linked pages before you decide.

Where flockvm stands out

A VM that is not capped at 24 hours

A Modal Sandbox has a default lifetime of 5 minutes and accepts a timeout of up to 24 hours. Past that, Modal's advice is to save the filesystem with a snapshot and restore it into a new sandbox. A flockvm VM has no lifetime cap: it runs until you stop or pause it. A coding agent that keeps a dev server, a database and a shell history alive for a week stays in the same VM.

Pause keeps the memory, and the VM stays the same VM

flockvm pauses a VM by writing a Firecracker snapshot of its memory and device state, then resumes it with the same processes, the same IP and the same disk. Paused VMs cost nothing for now. Modal's equivalent, memory snapshots, is marked alpha: taking one currently terminates the sandbox, the snapshot expires after 7 days and cannot be extended, open TCP connections are closed, and the restored sandbox cannot pin its region. How a memory snapshot works, and what a disk-only copy loses, is explained in /learn/firecracker-snapshot-restore.

Reserved-size VMs at a lower hourly rate

flockvm's current rates (flockvm.com, 1 November 2026, subject to change; see /#pricing) are $0.016 per hour for a small VM with 2 vCPU and 4 GB of RAM. On Modal, Sandboxes are billed at "non-preemptible rates of 3x list price": $0.00003942 per physical core per second (one core is 2 vCPU) and $0.00000667 per GiB per second. Requesting the same 2 vCPU and 4 GiB on Modal comes to $0.23796 per hour (formula in the workload section). The gap narrows a lot if you let Modal bill only what the sandbox uses, as explained below.

Price per hour

2 vCPU / 4 GB, reserved
flockvm small, Modal's 0.125-core floor
flockvm's current rates; Modal's Sandbox rates, no region pinned. The floor rises with what the sandbox uses

Where Modal stands out

GPUs next to the sandbox

Modal Sandboxes can attach GPUs, from an Nvidia T4 at $0.000164 per second to a B300 at $0.001972 per second, with the gVisor runtime. Unlike CPU Sandboxes, GPU Sandboxes can be preempted. flockvm has no GPU. If your agent trains, fine-tunes or serves a model inside its sandbox, Modal is the one of the two that can do it.

Scale and an SDK, today

The free Starter plan allows 100 containers and 10 GPUs at once; the Team plan ($250 a month plus compute) allows 5,000 containers and 50 GPUs. Modal publishes SDKs for Python, JavaScript and Go, documents warm pools, outbound network allowlists, and a beta that injects secrets into outbound HTTPS requests from outside the sandbox. flockvm runs at most 15 small VMs at once today on its host in France (or 7 default, 3 large or 1 xlarge), all customers together, has a REST API, a CLI and an MCP server but no SDK, no fork, no warm pool, and copies secrets into the VM. Modal is open to sign-up with $30 of monthly credits on Starter; flockvm sign-ups are open too, with no free credits but a 7-day free trial, card required (25 hours of VM time, 2 VMs at once, small and default sizes).

You pay for what the agent actually uses

Modal charges max(request, actual) for CPU and memory. Without a request, a sandbox has a floor of 0.125 core and 128 MiB and bursts above it when the host has spare capacity, so an agent that spends most of its time waiting on the LLM pays only for the CPU time and memory it really uses. flockvm bills the full size of the VM for every second it runs. Modal also lists SOC 2 for all plans, HIPAA for Enterprise customers, and regions across the US, the EEA, Asia-Pacific and more; flockvm has no certification and one live region, in France.

What are flockvm and Modal?

flockvm is built by a French company. It runs one Firecracker microVM per coding agent (Claude Code, Codex and others), each with its own Linux kernel, reachable over SSH. More on the isolation model: /firecracker-sandbox.

  • Isolation: Firecracker microVM (v1.17.0), its own guest kernel; Docker works inside.
  • Sizes: small 2 vCPU / 4 GB / 50 GB disk; default 4 vCPU / 8 GB / 50 GB; large 8 vCPU / 16 GB / 110 GB; xlarge 16 vCPU / 32 GB / 250 GB.
  • Regions: France, on one OVHcloud bare-metal server, is live; Amsterdam, Ashburn, Chicago and San Jose are planned. The website runs on Vercel and DNS on Cloudflare, both US companies (/subprocessors).
  • Pricing: current rates per second: small $0.016/h, default $0.032/h, large $0.064/h, xlarge $0.18/h. The home page lists an $18-a-month plan that comes back as VM time, with a prepaid wallet past it. Paused and stopped VMs cost nothing, and network traffic is not metered, for now.
  • Open source: no.
  • Compliance: no certification yet.
  • Limits: 2 VMs at once and 25 hours of VM time during the 7-day trial; at most 15 small VMs (or 7 default, 3 large or 1 xlarge) at once on the host in France, all customers together; no fork, no warm pool, no SDK, no public status page.

Modal Sandboxes are part of Modal, a serverless compute platform run by Modal Labs, Inc., a Delaware corporation. Modal describes Sandboxes as isolated environments for coding agents, RL rollouts and untrusted code, created and controlled from code.

  • Isolation: two runtimes, chosen per sandbox; left unset, Modal picks one. gVisor is Google's container runtime; the VM runtime gives the sandbox its own Linux kernel and is needed for Docker, FUSE or nested cgroups. VM Sandboxes reached general availability on 1 October 2026, on a runtime built from Cloud Hypervisor. GPU sandboxes need gVisor.
  • Sizes: requested in physical cores and MiB, from a 0.125-core, 128 MiB default; a soft CPU limit 16 cores above the request; disk of 512 GiB (the default quota on gVisor, a fixed root filesystem on the VM runtime), which Sandboxes cannot increase.
  • Regions: broad us, eu (EEA) and ap, plus narrow regions such as eu-west, uk, jp. Choosing a region raises the price by a factor of 1.15 (broad) or 1.75 (narrow).
  • Pricing: per second, 3× list for Sandboxes; GPUs at standard rates. Network egress is billed since 1 October 2026: 1 TiB included on Starter, then $0.04 per GiB.
  • Open source: the client SDK is Apache-2.0; the runtime is not public.
  • Compliance: SOC 2 Type II, a DPA for GDPR, HIPAA on Enterprise.
  • Limits: 24-hour maximum lifetime; memory snapshots alpha (they end the sandbox, expire after 7 days, no GPU); a payment method is required.

Which workloads fit each one?

Monthly costs, computed from the public prices of 1 November 2026. flockvm uses its current rates, which may change. Modal uses the Sandbox rates with no region pinned and before its $30 monthly Starter credit.

Workload flockvm Modal Sandboxes Who wins and why
5 Claude Code agents, 8 h a day, 22 weekdays $14.08 of usage, so $18 with the plan $209.40 with 2 vCPU / 4 GiB reserved; from $18.25 with no reservation flockvm on price at reserved size. With no reservation, Modal starts at $18.25, inside its $30 Starter credit, and rises with what the agents use.
A burst of 20 agents for 1 h, every weekday Can't run it today: at most 15 small VMs at once on the host in France $104.70 Modal: it schedules 20 sandboxes at once on the free plan.
One agent always on, 24/7 (730 h) $11.68 of usage, so $18 with the plan $173.71, as a new 24 h sandbox each day, chained through snapshots flockvm: one VM keeps running; on Modal each day ends the sandbox.
100 code runs of 1 min a day, 30 days $0.80 of usage, so $18 with the plan $1.04 at the default request Modal: $1.04, inside its $30 Starter credit, against flockvm's $18 minimum; its SDK is built for this, and flockvm has a REST API and a CLI but no SDK.
Evals: 60 sandboxes in parallel for 1 h, 4 times a month Can't run it today: at most 15 small VMs at once on the host in France $57.11 Modal: scale is its strength.
An interactive session, 10 h a day on 22 weekdays, paused at night $3.52 of usage, so $18 with the plan; pauses free $52.35 running time; overnight state through alpha memory snapshots (storage price not published) flockvm: pause and resume of the same VM is a core feature, not an alpha.
An agent that needs a GPU, 1 h of Nvidia L4 a weekday Can't run it today: no GPU $22.82 Modal.

How the numbers are computed:

  • flockvm: VM-hours × $0.016 (small, 2 vCPU / 4 GB). 5 × 8 × 22 = 880 h → $14.08. 730 h → $11.68. 100 × 1 min × 30 = 50 h → $0.80. 10 × 22 = 220 h → $3.52. flockvm's 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.
  • Modal, reserved 2 vCPU / 4 GiB: 1 core × $0.00003942 × 3,600 = $0.141912/h, plus 4 GiB × $0.00000667 × 3,600 = $0.096048/h, so $0.23796 per sandbox-hour. 880 h → $209.40; 20 × 1 × 22 = 440 h → $104.70; 730 h → $173.71; 60 × 1 × 4 = 240 h → $57.11; 220 h → $52.35.
  • Modal, no reservation: the floor is 0.125 core and 0.125 GiB: 0.125 × $0.141912 + 0.125 × $0.024012 = $0.0207405/h. 880 h → $18.25; 50 h → $1.04. That is the minimum: the bill rises with what the agent really uses each second.
  • Modal GPU row: L4 $0.000222 × 3,600 = $0.7992/h, plus $0.23796/h of CPU and memory, × 22 h → $22.82. That counts CPU and memory at the 3× Sandbox rate; Modal's docs say GPU Sandboxes can be preempted but do not say which rate then applies, so at list rates ($0.079128/h for 1 core and 4 GiB) the row would be $19.32.
  • Not included: Modal's $30 Starter credit, Modal egress beyond 1 TiB ($0.04/GiB), Modal's 1.15× multiplier if you pin the eu region (the first row becomes $240.82 reserved). flockvm does not meter network traffic for now.

Monthly bill per workload

5 agents, 8 h a weekday
A burst of 20 agents, 1 h a weekday
1 agent always on
100 one-minute runs a day, Modal default
Evals: 60 in parallel, 1 h, 4 times a month
1 session, 10 h a weekday, paused at night
1 h of an Nvidia L4 GPU a weekday
flockvm's $18 plan applied; Modal at 2 vCPU / 4 GB reserved, before its $30 credit

Plans and limits

Plans and limits
flockvmModal
Entry planPartial: $18 a month, comes back as VM timeStrength: Starter: free, $30 of credit a month
Paid planStrength: Prepaid wallet past the $18Partial: Team: $250 a month plus compute
At onceGap: 15 small VMs in FranceStrength: 100 containers and 10 GPUs; Team 5,000 and 50
Sandbox rateStrength: From $0.016 an hour, current ratesGap: 3× Modal's list price
PausedStrength: Free, for nowPartial: No pause; snapshot storage price not published
Modal's pricing page and docs, flockvm's home page, 1 November 2026

How do the features compare?

Feature flockvm Modal Sandboxes
Isolation Firecracker microVM, own kernel gVisor or VM with its own kernel (Cloud Hypervisor); Modal picks if unset
Start About 1 s from boot to sshd, on our host "Sub-second cold-starts" (Modal's claim, VM Sandboxes launch post); not compared
Pause and resume Yes, with memory; same VM resumes No pause; alpha memory snapshot ends the sandbox, restores a clone within 7 days
Fork No Filesystem snapshots start many sandboxes; memory snapshots restore clones (alpha)
Session length No cap 5 min default, 24 h maximum
Sizes 2/4/8/16 vCPU, 4/8/16/32 GB 0.125 core upward, bursting; GPUs from T4 to B300
Regions France live; 4 planned US, EEA, Asia-Pacific, UK, Canada and more; 1.15× to 1.75× when pinned
SSH Yes, built in Through a TCP tunnel to an SSH server you run
Egress Not metered for now 1 TiB included (Starter), then $0.04/GiB
Secrets Copied into the VM Environment variables; injection from outside the sandbox in beta
SDK / CLI REST API, flockvm CLI and MCP server; no SDK Python, JavaScript, Go; modal CLI
Open source No Client SDK (Apache-2.0)
Compliance None yet SOC 2 Type II report; HIPAA for Enterprise
Price model Per second, by VM size, current rates Per second, max(request, actual), 3× list for Sandboxes

FAQ

What is a good Modal Sandbox alternative for coding agents?

It depends on what you need from Modal. If you need GPUs, stay on Modal. If you want a long-lived VM per agent that pauses with its memory, flockvm is built for that, in France for now. If you want forks with memory and a large SDK ecosystem, see flockvm vs E2B and the wider list in /compare/e2b-alternatives. If you are moving off Runloop, Modal is one of the platforms Runloop wrote a transition guide for, with Tensorlake and Freestyle; Runloop alternatives covers the move.

How much does a Modal Sandbox cost?

$0.00003942 per physical core per second and $0.00000667 per GiB per second, which is 3× Modal's list price. A sandbox with 1 core (2 vCPU) and 4 GiB reserved costs $0.23796 an hour; an unreserved one starts at $0.0207 an hour and rises with usage. GPUs, region pinning and egress are extra.

What is the Modal Sandbox timeout?

5 minutes by default, up to 24 hours with the timeout parameter. An idle_timeout can end it earlier. For longer work, Modal suggests filesystem snapshots, and its beta exit snapshots save the filesystem automatically when a sandbox ends.

Can I run Claude Code in a Modal Sandbox?

Yes: a Modal Sandbox runs any command you give it, and the VM runtime also runs Docker. Each session is still capped at 24 hours. To run several agents side by side on any platform, see /learn/run-claude-code-agents-in-parallel.

Does Modal use gVisor or microVMs?

Both. A sandbox runs on gVisor or in a VM, and Modal picks one when you leave runtime unset. Since 1 October 2026, runtime="vm" runs the sandbox in a VM that boots a separate Linux kernel. GPU sandboxes are gVisor only.

Do Modal snapshots keep memory?

Memory snapshots do, in alpha: they copy memory and filesystem, but terminate the source sandbox and expire after 7 days. Filesystem and directory snapshots keep files only, for 30 days by default.

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.