Compare · kosa8 vs Vercel Sandbox
kosa8 vs Vercel Sandbox
Checked
Both give each sandbox a microVM with its own kernel. Vercel Sandbox runs Firecracker on Vercel's infrastructure in 19 regions, with an egress firewall that can broker credentials [1] [2] [5]. kosa8 runs on your own computer, your servers, an air-gapped site or kosa8 Cloud, and saves memory as well as files, so it can rewind and fork a running machine.
01The short verdict
Choose Vercel Sandbox if
- you deploy on Vercel already and want sandboxes in the same account and bill [1];
- you want 19 managed regions with failover and no hosts to run [3];
- you want to change egress rules on a running sandbox, or forward requests to your own proxy [5];
- your agents wait on models a lot: Active CPU billing does not count I/O wait [10].
Choose kosa8 if
- code must stay on your machine, your servers or an air-gapped site [13];
- you need to save memory and running processes, not only files, and rewind to that point [15];
- you want live copies of a running sandbox to try several approaches at once [14];
- you want a hash-chained audit log of sandbox actions on every plan [19].
02Vercel Sandbox and kosa8, feature by feature
| Feature | Vercel Sandbox | kosa8 |
|---|---|---|
| Isolation | Firecracker microVM per sandbox with a dedicated kernel [2] | A microVM per sandbox with its own Linux kernel: Apple's Virtualization framework on a Mac, Cloud Hypervisor on KVM on x86-64 Linux; kosa8 Cloud runs the same sandboxes on kosa8's hosts [12] |
| Self-host and air-gap | Not documented; sandboxes run on Vercel's infrastructure [2] | Yes: your computer, your own KVM Linux servers, or an air-gapped site with a signed offline licence (Enterprise, quoted) [13] |
| Bring your own cloud (BYOC) | Not documented (Secure Compute offers static egress IPs and peering into your AWS VPC) [6] | Your own KVM Linux servers join your Cloud organization through an outbound tunnel, $0.20 per host-hour, no compute charge [13] |
| Regions | 19 regions, default iad1; failover regions on Pro and Enterprise [3] | kosa8 Cloud: US (Dallas, Texas) and EU (Helsinki). Locally: wherever your machines are [14] |
| Fork a running VM | No live fork: Sandbox.fork() starts from the last saved snapshot and does not capture unsaved changes [7] | Yes: live copies with memory and processes intact (kosa8 fork; on Cloud up to 100 per call). Plans count how many copies run at once [14] [15] |
| Snapshots and rewind | Filesystem and installed packages; creating a snapshot stops the sandbox; kept 30 days after last use by default [4] | Checkpoint and rewind of memory, processes and disk; a sleeping Cloud sandbox keeps a snapshot at $0.08 per GB-month [14] [15] |
| Egress allow-list | Yes: allow-all, deny-all, or lists of allowed domains and allowed or denied CIDRs, changeable while running; credential brokering [5] | Host-enforced allow-list (names, *.domain, IPs, CIDRs) fixed at create, with API keys added by an egress broker outside the VM. kosa8 Cloud has no egress policy setting yet [16] [17] |
| Kill switch or freeze | Not documented beyond stopping one sandbox; a running one can be switched to deny-all [2] [5] | kosa8 sandbox pause --all stops every sandbox's CPUs in place; on Cloud an organization freeze refuses new work, sleeps every sandbox and can suspend keys [17] [18] |
| Audit trail | Vercel audit logs on Enterprise; no sandbox-specific events listed [8] | Signed, hash-chained log anyone can check with kosa8 audit verify; Cloud streams it to Splunk, Datadog or a webhook [17] [19] |
| SSO | SAML on Enterprise, and on Pro with the SAML SSO add-on [9] | kosa8 Cloud: OIDC with Okta, Entra ID or Google Workspace, and it can be required. No SAML or SCIM yet [17] [19] |
| GPU | Not documented; Sandbox.create takes vCPUs only [7] | No. Sandboxes have no GPU today [20] |
| SDK languages | TypeScript (@vercel/sandbox) and Python (vercel-sandbox), plus a CLI [1] | Python, JavaScript and TypeScript, Go, Ruby, Java; plus an HTTP API, a CLI and an MCP server [14] |
| Pricing model | Active CPU $0.128 an hour (I/O wait not billed), memory $0.0212 per GB-hour, $0.60 per million creations, snapshots $0.08 per GB-month (iad1) [10] | Plans from $29 a month for your own machines, each with Cloud credit; Cloud per second at $0.048 per vCPU-hour and $0.0154 per GB-hour [15] |
| Free tier | Hobby includes 5 Active CPU hours, 420 GB-hours of memory and 5,000 creations a month, with 45-minute sessions [10] | Free on your computer after email sign-up (sandboxes, save and undo, dashboard); $30 of Cloud credit once a card is added [15] |
| Security audit status | Its sandbox security page says Vercel's infrastructure holds SOC 2 Type II [6] | SOC 2 in progress (no report yet); no external penetration test yet [21] |
Bracketed numbers point to the sources. "Not documented" means the vendor's own pages did not say on 2026-11-14; it does not mean the feature is missing.
03Where Vercel Sandbox is stronger
- Regions and scale. 19 regions with failover [3], and up to 10,000 concurrent sandboxes on Pro [10]. kosa8 Cloud has two regions and 20 sandboxes per organization by default [15].
- A flexible firewall on Cloud. Vercel's egress policy takes domains and CIDRs, changes without a restart, and brokers credentials [5]. kosa8 enforces allow-lists locally, but kosa8 Cloud has no egress setting yet [17].
- Billing for waiting agents. Active CPU excludes I/O wait such as model calls [10].
- Compliance and ecosystem. SOC 2 Type II infrastructure [6] and the rest of the Vercel platform; kosa8 has no SOC 2 report yet [21].
04Where kosa8 is different
- Memory survives. kosa8 checkpoints save memory, processes and disk; Vercel snapshots save the filesystem and stop the sandbox [4] [14].
- A true live fork.
kosa8 forkcopies a running sandbox as it is now [14]. - Off-cloud options. Your computer, your servers or air-gapped [13].
- Organization freeze. One call on kosa8 Cloud sleeps every sandbox and can suspend every key [17].
05Moving from Vercel Sandbox to kosa8
Vercel's quickstart creates a sandbox and runs a command with arguments [11]. In kosa8 the command and its arguments go in one list.
Vercel Sandbox, from its quickstart:
import { Sandbox } from '@vercel/sandbox'; async function main() { const sandbox = await Sandbox.create(); const result = await sandbox.runCommand('echo', ['Hello from Vercel Sandbox!']); console.log(await result.stdout()); }
The same on kosa8 Cloud (TypeScript, npm install @kosa8/sdk):
import { Kosa8Cloud } from '@kosa8/sdk'; const cloud = new Kosa8Cloud(); // reads KOSA8_API_KEY const box = await cloud.sandboxes.create({ template: 'python' }); const r = await box.exec(['python3', '-c', "print('hello')"]); console.log(r.exitCode, r.stdout); await box.delete();
runCommand(cmd, args)becomesexec([cmd, ...args]);stdoutis a field, not a promise.sandbox.stop()becomesbox.sleep()to keep the disk, orbox.delete()[14].- Vercel's network policy lists map to
--egress-allowon a local sandbox, fixed at create [16]. - Each kosa8 Cloud
execruns in a fresh container on the sandbox's disk: files under/workspacepersist between commands, background processes do not. A buffered exec stops at 90 seconds; sendstream: truefor longer commands [14]. - Templates today are
base(Alpine),python(Python 3.12) andnode(Node.js 22) [14]. - An organization runs up to 20 sandboxes at once on kosa8 Cloud unless you ask for more [15].
06Questions
Are Vercel Sandbox and kosa8 both microVMs?
Yes. Vercel runs each sandbox in its own Firecracker microVM [2]; kosa8 uses Apple's Virtualization framework on a Mac and Cloud Hypervisor on KVM on Linux [12].
Can Vercel Sandbox save memory?
Its snapshot docs describe the filesystem and installed packages, and creating a snapshot stops the sandbox [4]. kosa8 checkpoints include memory and running processes [14].
07Sources, checked on 2026-11-14
Every fact about another product comes from that vendor's own documentation or pricing page, read on 2026-11-14. Where its pages do not say, the table says "not documented" rather than guess. Products change quickly: check the current pages before you decide, and tell us if something here is out of date.
- Vercel docs: Vercel Sandbox
- Vercel docs: Sandbox concepts
- Vercel docs: Sandbox regions
- Vercel docs: Snapshots
- Vercel docs: Sandbox firewall
- Vercel docs: Sandbox security
- Vercel docs: Sandbox SDK reference
- Vercel docs: Audit logs
- Vercel docs: SAML SSO
- Vercel docs: Sandbox pricing
- Vercel docs: Sandbox quickstart
- kosa8: Security, isolation model
- kosa8: Where kosa8 runs
- kosa8 docs: kosa8 Cloud
- kosa8: Pricing
- kosa8 guide: network allow-list
- kosa8 docs: Security Center
- kosa8 docs: Your first sandbox
- kosa8 docs: Governance
- kosa8: FAQ
- kosa8: Trust Center
Give every agent a sealed box.
$30 free credit
Card needed for kosa8 Cloud; no charge until the $30 is used. Free on your own computer after email sign-up.