Modal vs Freestyle

Modal runs sandboxes under gVisor or a VM runtime inside a large AI compute platform, with GPUs and regions around the world, and each sandbox lasts at most 24 hours. Freestyle gives each agent a full KVM virtual machine with Docker and systemd that can pause with its memory, fork while running and wake on the next request.

The companies and products

Modal

Modal is a serverless cloud for AI work: inference, training, batch jobs and sandboxed code, all driven from Python, TypeScript or Go code.

Modal Sandboxes are containers you create from code, run commands in, and then terminate. By default they run under gVisor, a user-space kernel from Google. Since October 2026 you can also pick a VM runtime with its own Linux kernel for Docker and FUSE (Battleships tracks that as a separate card, Modal VM Sandboxes). Your code can save a sandbox's disk as a filesystem snapshot and start new sandboxes from it. It suits teams that already run models on Modal and want scalable code execution next to their GPUs.

Freestyle

Freestyle sells full Linux virtual machines for AI agents, built for long running, complex tasks.

Each Freestyle VM is a KVM virtual machine with its own kernel, booted from a base snapshot. The default Ubuntu image has systemd, Docker and coding agent CLIs preinstalled. VMs can be paused with their memory, snapshotted while running, forked and woken by the next request. Every VM starts behind a default-deny firewall. You drive it from a TypeScript SDK, a CLI or an API.

Which use cases each one fits

For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “15th cheapest of 336” means 14 of the other 335 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadModal: price rankFreestyle: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Software factories need Docker and a disk that lasts. Freestyle's VMs have both and rank 20th here. On Modal you pick the VM runtime and snapshot the filesystem between sessions; Modal VM ranks 7th at $633 a month. boat ranks 8th at $634, with a desktop built in.
106th of 365, with limits
$633 a month
31st cheapest of 365
$3,311 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An always-on agent hits Modal's 24-hour sandbox limit, so your code snapshots the filesystem and starts a new sandbox each day. Freestyle VMs run all month and rank 26th. boat ranks 5th: turn auto-stop off on a paid plan (default 1 hour).
61st of 361, with limits
$1,574 a month
49th cheapest of 361
$4,195 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Both fit huge numbers of short code runs. Modal ranks 11th here and Freestyle 38th, ahead of boat, whose start limits bite.
15th cheapest of 336
$140 a month
46th cheapest of 336
$482 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
All three fit sandboxes for your users. boat ranks 2nd at about $209 a month, Modal 15th at about $671 and Freestyle 21st. Freestyle wakes a paused user VM on its next request.
18th cheapest of 349
$671 a month
26th cheapest of 349
$1,358 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
Modal is built for big bursts of short sandboxes and ranks 6th for RL rollouts. Freestyle ranks 78th as a compromise.
6th cheapest of 349
$11,982 a month
116th of 349, with limits
$6,600 a month
39th of 349, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
62nd cheapest of 359
$889 a month
68th cheapest of 359
$1,046 a month
10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
CI jobs that build Docker images need Modal's VM runtime, and Freestyle's docs send sustained high-CPU work elsewhere. boat ranks 2nd here at $86 a month, with Docker in every sandbox.
110th cheapest of 374
$1,112 a month
169th of 374, with limits
$625 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
129th of 371, with limits
$9.07 a month
102nd cheapest of 371
$151 a month
19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Neither ships a desktop, but both publish a way. Modal's official example installs Xvfb, Chromium and noVNC in a VM sandbox, and Freestyle's guides install GNOME or headed Chromium with noVNC. Modal ranks 6th, boat 8th with its desktop built in, and Freestyle 26th.
45th cheapest of 367
$153 a month
51st cheapest of 367
$940 a month
7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
57th of 356, with limits
$121 a month
99th of 356, with limits
$482 a month
7th cheapest of 356
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
98th cheapest of 343
$252 a month
110th cheapest of 343
$482 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
171st of 327, with limits
$5,957 a month
183rd of 327, with limits
$6,560 a month
73rd of 327, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
289th of 351, with limits
$464 a month
28th cheapest of 351
$482 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Modal rents GPUs from T4 to B300 next to its sandboxes. Freestyle offers GPUs only as private Enterprise sandboxes, and boat has none.
18th cheapest of 102
$1,116 a month
Not ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureModalFreestyleboat
IsolationgVisor by default; VM runtime with its own kernel (runtime="vm")Full KVM VM with its own kernel; Freestyle says it oversubscribes hostsFull VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)15.48 runs/s on the VM runtime, 12.60 on gVisor10.22 runs/s, 14th of 1528.06 runs/s, 2nd of 15, on a Ryzen 9 9950X host
Docker and nested virtualizationDocker with the VM runtime; nested virtualization on the VM runtime, Enterprise plan only, as an experimental optionYes; Docker runs from boot, full KVM supportYes, in every sandbox, with /dev/kvm for Android emulators and VMs
Longest session24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandboxNo provider cap; runs until you pause it or a timeout you setAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Pause and resumeNo paused state; filesystem and directory snapshots (30 days by default, or no expiry) or experimental memory snapshots (7 days) restore files or processes into a new sandboxPause saves memory and disk; the same processes resumeDisk saved every minute and at each stop; no compute charge while stopped; resume boots the machine again
ForkOne filesystem snapshot boots many identical sandboxesClone a running VM without pausing it, with memory and diskFork a running sandbox from its last 1-minute disk snapshot, without stopping it
Wake on requestNoYes; a paused VM resumes on the next traffic that reaches itNo; a stopped sandbox is started by API
GPUsT4 to B300, on the gVisor runtime; 10 at once on Starter, 50 on TeamPrivate GPU sandboxes on Enterprise onlyNone
Biggest machineYou request CPU and memory per sandbox; 512 GiB disk by defaultUp to 32 vCPU / 64 GiB on Pro, 64 / 128 with Enterprise custom limitsUp to 16 vCPU / 32 GB with 251 GB disk, on the $100 plan and above
Desktop, browser and computer useNo built-in desktop; Modal's official example installs Xvfb, Chromium, x11vnc and noVNC in a VM sandboxOfficial guides install GNOME or Xvfb, VNC and Chromium; no first-party screenshot-and-click API1920x1080, 60 fps desktop, Chrome and computer tools built in
Coding agentsYou install a harness in the image (official OpenCode example)claude, codex, opencode and openclaw preinstalled, run through exec or a terminalSeven agents preinstalled, with an API to prompt, steer and follow them from outside
Keeping API keys out of the sandboxSecrets are environment variables, or you run your own proxy in a sidecar (beta example)Credentials injected at the edge for HTTPS, Postgres and S3Optional AI credentials proxy ($1 a day plus $1 per 1,000 requests) for supported AI providers and custom HTTPS APIs; other secrets enter the sandbox
Outbound rulesBlock all, IP-range allowlist, domain allowlist (beta)Default-deny firewall with allow rules by IP, VM, VPC or exact domainOpen internet, no provider-side allowlist
RegionsUS, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75xNot publishedGermany, Finland and France; no region choice, no US or Asia region
Every feature Battleships tracks (43)
FeatureModalFreestyleboat
Full VM (own kernel)No documented wayYesYes
Docker insideNo documented wayYesYes
Nested virtualizationNo documented wayYesYes
RootYesYesYes
SystemdNo documented wayYesYes
Desktop GUIWith your own setupWith your own setupYes
BrowserWith your own setupWith your own setupYes
Computer-use APIWith your own setupWith your own setupYes
SSHWith your own setupYesYes
Persistent diskWith your own setupYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesYesYes
Live fork (no pause)Not publishedYesYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsWith your own setupYesYes
Agent harness APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUYesYesNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)Not publishedNo documented wayYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesNot publishedNo documented way
HIPAAYesNot publishedNo documented way
EU data residencyYesNot publishedNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Modal12.60 runs/s
Freestyle10.22 runs/s
boat28.06 runs/s

StarSling's run of 3 October 2026 (run 37073680030) ran the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, median of 5 sandboxes. boat did 28.06 runs/s, second of 15. Modal's VM runtime did 15.48 and its default gVisor runtime 12.60. Freestyle did 10.22, 14th of 15. So Modal's VM runtime did about 1.5 times Freestyle's work in that run. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. Start time is separate: with 100 starts at once at each provider's default size, ComputeSDK measured a median of 796 ms for Modal and 2.0 s for Freestyle (2026-11-06). boat is not in that test.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Modal measured on: Sandbox (gVisor), request = size, any region. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioModal, a monthFreestyle, a monthboat, a month
One coding agent, workdays
4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days
$0 · Starter$27 · Free$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$109 · Starter · with limits$159 · Free$26 · $20/mo
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
$1,480 · Starter · with limits$2,139 · Pro$317 · $20/mo × 3 seats
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
$579 · Team$581 · Pro$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$1,911 · Team · with limits$1,305 · Pro · with limits$8,800 · $2000/mo · with limits

Modal: Modal bills by the second for whichever is higher, the CPU and memory you request or what you use, and an idle sandbox pays until it is terminated. Modal prices CPU per physical core, and one core equals 2 vCPU, so a 4 vCPU / 8 GiB sandbox is $0.476 an hour at a full request. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76 an hour. Starter is free with $30 of monthly credit, Team is $250 a month with $100 of credit, and pinning a region multiplies the price by 1.15x to 1.75x.

Freestyle: Freestyle bills per second for the vCPU ($0.04032 per hour), RAM ($0.0129 per GiB-hour) and disk allocated to a VM, busy or idle, after monthly allowances of 200 vCPU-hours, 400 GiB-hours of RAM and 60,000 GiB-hours of storage. On Free the allowances are hard stops and no card is needed. Hobby and Pro have a $50 or $500 monthly minimum that counts as usage, and a paused VM bills only for storage.

Freestyle: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; each extra start costs $0.03 to $0.07.

Limits in those scenarios

On Modal a sandbox lives at most 24 hours, so one always-on agent needs your code to snapshot the filesystem and start a new sandbox each day, and the 50-agent fleet needs the VM runtime for Docker. Freestyle fits those scenarios, but it has no idle timeout by default, so a VM bills until you pause it, and Pro allows 400 VMs at once. None of the three fits 1,000 short jobs at once as priced: Freestyle Pro caps at 400, Modal's tier uses shared vCPUs, and boat's $2,000 plan includes 90 starts a minute and 2,400 a day, bills extra starts at $0.03 to $0.07, and refuses starts above 3 times the included rate per minute.

ScenarioModalFreestyleboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stops
  • Starter: sessions capped at 24 h
None for this scenarioNone for this scenario
50 agents in parallel
  • missing Docker inside
None for this scenarioNone for this scenario
Sandboxes for your usersNone for this scenarioNone for this scenarioNone for this scenario
1,000 short jobs at once
  • shared vCPUs on this tier (Modal sells dedicated cores separately as “Sandbox (gVisor), request = size, any region”): heavy, sustained CPU use can be slowed by other tenants
  • Pro: max 400 concurrent
  • shared vCPUs on this tier”): heavy, sustained CPU use can be slowed by other tenants
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use Modal when

your sandboxes need GPUs, must run in many regions, or are huge bursts of short jobs that finish well inside 24 hours.

  • GPUs on the same platform. Useful if your agent trains or runs models: Modal rents GPUs from T4 to B300 right next to its sandboxes.
  • Regions around the world. Modal runs in the US, EU and Asia-Pacific and can pin a sandbox to a region. Freestyle does not publish its regions.
  • Very large bursts of short jobs. Useful for RL rollouts and code runs: Modal allows 5,000 containers on Team and builds images from any registry.

Use Freestyle when

each agent or user needs its own full VM that sleeps between requests and resumes with its memory, behind a default-deny firewall, or when you want a free plan with no card.

  • A full VM with no 24-hour limit. Each Freestyle VM has its own kernel, Docker and systemd, and runs as long as you want.
  • Memory pause, live fork and wake on request. Useful for VMs that sleep between requests: they resume the same processes and wake on the next incoming traffic.
  • Network controls and bigger machines. Every VM starts behind a default-deny firewall, and Pro VMs go up to 32 vCPU / 64 GiB.

Where boat fits

If your agents work for hours on installs, builds, tests and web apps, look at boat as well. Every boat sandbox is a full VM with Docker and /dev/kvm, with a desktop, a browser and coding agents ready to drive from outside. Its disk is saved every minute and at each stop, and a stopped sandbox has no compute charge.

More CPU work per hour in one public run

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB gave boat 28.06 runs/s, Modal's VM runtime 15.48, Modal's gVisor runtime 12.60 and Freestyle 10.22. That boat sandbox ran on a Ryzen 9 9950X host; boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions.

A desktop and a browser, ready

Modal and Freestyle both publish ways to install a display, VNC and Chromium, and you build the screenshot and click layer. boat has a 60 fps desktop, Chrome and computer tools in every sandbox.

Agents you drive from outside

On Modal you install the agent CLIs yourself, and keys sit in environment variables unless you run a sidecar proxy. On Freestyle you parse CLI output from exec. boat has an API to prompt and steer agents inside, plus an optional paid credentials proxy.

Use boat when your agents do CPU-heavy work for hours: builds, tests, Docker, emulators, a desktop and a browser, with an API to drive the agents inside from outside. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs Modal and boat vs Freestyle.

boat's own limits
  • Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
  • Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
  • A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
  • Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
  • boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
  • Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
  • Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
  • Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source

Questions people ask

Is Modal cheaper than Freestyle?

It depends on the job. For one agent on workdays Modal is $0 inside its $30 monthly credit, against $27 on Freestyle; on Modal your code keeps files between days with a filesystem snapshot. For sandboxes for your users Modal is about $579 and Freestyle $581. For one agent running all month Freestyle is $159; Modal is about $109 but ends the sandbox every 24 hours. boat costs $20, $200 and $26 for those three.

Which is faster, Modal or Freestyle?

In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, Modal's VM runtime did 15.48 runs/s, its gVisor runtime 12.60 and Freestyle 10.22. boat did 28.06 in the same run. For start time with 100 at once, ComputeSDK measured 796 ms for Modal and 2.0 s for Freestyle (2026-11-06).

Can Modal and Freestyle run Docker?

Freestyle runs Docker in every VM from boot. Modal runs Docker with its VM runtime, chosen with runtime="vm"; the default gVisor runtime does not document it. boat runs Docker in every sandbox.

How long can a Modal sandbox or a Freestyle VM run?

A Modal sandbox has a default timeout of 5 minutes and a maximum of 24 hours; for longer work, Modal recommends a filesystem snapshot and a new sandbox. Freestyle sets no maximum: a VM runs until you pause, stop or delete it, or until a timeout you set. boat auto-stop defaults to 1 hour; on a paid plan you can turn it off, and then there is no session cap.

Does Freestyle have GPUs like Modal?

Only as private GPU sandboxes on the Enterprise plan. Modal rents GPUs from T4 to B300 on its normal plans, on the gVisor runtime. boat has no GPUs.

Can either one pause a sandbox and resume it later?

Freestyle pauses a VM with its memory, resumes the same processes, and can wake it on the next request. Modal has no paused state, but filesystem and directory snapshots (30 days by default, or no expiry) and experimental memory snapshots (7 days) restore files or processes into a new sandbox. boat saves the disk every minute and at each stop, and resuming boots the machine again.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons