kosa8 / Compare

Compare · kosa8 vs Modal

kosa8 vs Modal Sandboxes

Checked

Modal Sandboxes run on gVisor by default, or in a VM with its own kernel, on Modal's cloud, with GPUs and many regions [1]. kosa8 runs a microVM per sandbox on your own computer, your own servers, an air-gapped site or kosa8 Cloud, and can save, rewind and fork a running machine. If you need GPUs in a sandbox, Modal has them and kosa8 does not.

01The short verdict

Choose Modal if

  • your sandboxes need GPUs: Modal bills them per second from T4 to B300 [2];
  • you want Modal's regions, down to country level, without running hosts [4];
  • you already run inference or batch jobs on Modal and want sandboxes beside them, from Python, JavaScript or Go [1];
  • you need a published SOC 2 Type II report today [3].

Choose kosa8 if

  • code may not leave your machine, your servers or an air-gapped site;
  • you want to fork a running sandbox into live copies, memory and processes included, without stopping it [10];
  • you want to rewind a whole machine after an agent breaks it [11];
  • you want API keys added outside the VM by an egress broker, and an audit log anyone can verify [8].

02Modal and kosa8, feature by feature

FeatureModalkosa8
IsolationgVisor by default, or a VM runtime with its own Linux kernel; GPU sandboxes need gVisor [1] [3]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 [8]
Self-host and air-gapNot documentedYes: your computer, your own KVM Linux servers, or an air-gapped site with a signed offline licence (Enterprise, quoted) [9]
Bring your own cloud (BYOC)Not documented (the pricing page mentions buying through the AWS and GCP marketplaces) [2]Your own KVM Linux servers join your Cloud organization through an outbound tunnel, $0.20 per host-hour, no compute charge [9]
RegionsBroad regions us, eu, ap and narrower ones down to country level; choosing a region costs 1.15x to 1.75x [4]kosa8 Cloud: US (Dallas, Texas) and EU (Helsinki). Locally: wherever your machines are [10]
Fork a running VMNo live fork; a memory snapshot restores an exact clone, but taking one terminates the sandbox [5]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 [10] [11]
Snapshots and rewindFilesystem and directory snapshots (30 days by default) and memory snapshots in alpha that expire after 7 days [5]Checkpoint and rewind of memory, processes and disk; a sleeping Cloud sandbox keeps a snapshot at $0.08 per GB-month [10] [11]
Egress allow-listYes: block_network, a CIDR allow-list, and a domain allow-list in beta for TLS on port 443 [6]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 [12] [13]
Kill switch or freezeNot documented beyond terminating a sandbox [1]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 [13] [14]
Audit trailAudit logs on the Enterprise plan [2] [3]Signed, hash-chained log anyone can check with kosa8 audit verify; Cloud streams it to Splunk, Datadog or a webhook [13] [15]
SSOSAML SSO on the Enterprise plan [7]kosa8 Cloud: OIDC with Okta, Entra ID or Google Workspace, and it can be required. No SAML or SCIM yet [13] [15]
GPUYes, per-second rates from T4 to B300 [1] [2]No. Sandboxes have no GPU today [16]
SDK languagesPython, JavaScript and Go [1]Python, JavaScript and TypeScript, Go, Ruby, Java; plus an HTTP API, a CLI and an MCP server [10]
Pricing modelStarter $0 a month, Team $250 a month, Enterprise custom, plus compute per second: $0.00003942 per physical core-second (1 core = 2 vCPU), $0.00000667 per GiB-second [2]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 [11]
Free tier$30 a month of credit on Starter, $100 on Team [2]Free on your computer after email sign-up (sandboxes, save and undo, dashboard); $30 of Cloud credit once a card is added [11]
Security audit statusIts security page points to a SOC 2 Type II report in its Trust Center; HIPAA on Enterprise [3]SOC 2 in progress (no report yet); no external penetration test yet [17]

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 Modal is stronger

  • GPUs. Modal sandboxes can have GPUs; kosa8 sandboxes have none today [1] [16].
  • Regions and managed scale. Many regions, chosen per sandbox, with no hosts to run [4]. kosa8 Cloud has two regions [10].
  • Compliance paperwork. Modal points to a SOC 2 Type II report and offers HIPAA on Enterprise [3]; kosa8 has no SOC 2 report yet [17].
  • A wider platform. Sandboxes sit next to Modal's functions, inference and batch jobs, and its egress controls take both CIDRs and domains [6].

04Where kosa8 is different

  • Runs where you need it. The same sandbox runs on a Mac, a Linux box, Windows through WSL2, your own servers or air-gapped [9].
  • Live fork and rewind. kosa8 saves memory, processes and disk and forks a running sandbox without stopping it [10].
  • Keys stay out. An egress broker on the host adds the real API key on the way out; the sandbox sees a placeholder [17].
  • Verifiable audit on every plan. The hash-chained log is checked with one command, not an Enterprise add-on [15].

05Moving from Modal to kosa8

Modal's quickstart looks up an app, creates a sandbox, runs a command and terminates it [1]. kosa8 Cloud has the same shape; the main change is the client and that exec takes a list.

Modal, from its Sandboxes guide:

python
sb_app = modal.App.lookup("my-app", create_if_missing=True)
sb = modal.Sandbox.create(app=sb_app)

p = sb.exec("python", "-c", "print('hello')", timeout=3)
print(p.stdout.read())

sb.terminate()

The same on kosa8 Cloud (Python, pip install kosa8):

python
from kosa8 import Kosa8Cloud

cloud = Kosa8Cloud()  # reads KOSA8_API_KEY
box = cloud.sandboxes.create(template="python", sleep_after_s=600)
r = box.exec(["python3", "-c", "print('hello')"])
print(r.exit_code, r.stdout)
box.delete()
  • Sandbox.create(app=...) becomes cloud.sandboxes.create(template=...); there is no app object.
  • sb.terminate() becomes box.delete(), or box.sleep() to keep the disk for $0.08 per GB-month [11].
  • Modal's block_network=True maps to --egress deny on a local sandbox; a CIDR or domain allow-list maps to --egress-allow [12]. kosa8 Cloud has no egress setting yet [13].
  • GPU workloads have no kosa8 equivalent; keep those on Modal.
  • Each kosa8 Cloud exec runs in a fresh container on the sandbox's disk: files under /workspace persist between commands, background processes do not. A buffered exec stops at 90 seconds; send stream: true for longer commands [10].
  • Templates today are base (Alpine), python (Python 3.12) and node (Node.js 22) [10].
  • An organization runs up to 20 sandboxes at once on kosa8 Cloud unless you ask for more [11].

06Questions

Is Modal a microVM sandbox?

Modal sandboxes use gVisor by default, an application kernel in user space, and offer a VM runtime with its own Linux kernel; GPU sandboxes need gVisor [1]. kosa8 always uses a microVM with its own kernel [8].

Can I run Modal Sandboxes on my own servers?

Modal's docs do not describe a self-hosted or air-gapped option. kosa8 runs on your own computer, your KVM Linux servers or an air-gapped site [9].

Does kosa8 have GPUs like Modal?

No. kosa8 sandboxes have no GPU today; local models run on the host [16]. For GPU sandboxes, Modal is the better fit.

Which is cheaper, Modal or kosa8?

It depends on the workload. Modal bills per physical core-second and GiB-second plus a plan fee [2]; kosa8 Cloud bills $0.048 per vCPU-hour and $0.0154 per GB-hour per second, and plans cover your own machines [11]. Price your own mix with both pages.

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.

  1. Modal docs: Sandboxes
  2. Modal: Pricing
  3. Modal docs: Security and privacy
  4. Modal docs: Region selection
  5. Modal docs: Sandbox snapshots
  6. Modal docs: Sandbox networking
  7. Modal docs: SAML SSO
  8. kosa8: Security, isolation model
  9. kosa8: Where kosa8 runs
  10. kosa8 docs: kosa8 Cloud
  11. kosa8: Pricing
  12. kosa8 guide: network allow-list
  13. kosa8 docs: Security Center
  14. kosa8 docs: Your first sandbox
  15. kosa8 docs: Governance
  16. kosa8: FAQ
  17. 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.

Give $30, get $30Refer →