Switch
Switching to kosa8
Checked
You do not have to replace anything. The easiest way to try kosa8 is as a second provider: change one import in one service, keep your current provider for everything else, and switch back by changing the import back.
01Pick where you are coming from
From E2B
Change one import, or keep the E2B SDK and change three variables. Tested with E2B SDK 2.64.0.
read →From Daytona
Daytona went closed source on 2026-06-11. Change one import; the calls that do not map are listed.
read →From Modal
Change one import for modal.Sandbox code. Functions and GPUs stay on Modal.
read →verifiers
verifiers dropped its Modal and E2B runtimes on 2026-10-19. kosa8's plugin, and what it does not declare yet.
read →02Read this before you switch
- State between commands. In the shims each command runs in a fresh container on the sandbox's disk, and only
/workspacepersists. On E2B, Daytona and Modal one machine lives across commands, socd, exported variables and background daemons survive there and do not here. This is the difference most likely to break code that expects a drop-in. - 90 seconds. A plain buffered command stops at 90 s. Give it output callbacks or a longer timeout and it streams instead.
- No stdin. Write input to a file in
/workspace. - Nothing is faked. A call kosa8 cannot do raises
kosa8.compat.Unsupportedwith the method name and what to use instead. Each guide lists every one.
03Be the second provider first
Most teams that move do it because of a concrete limit: a concurrency cap, an incident, a removed runtime. Start with the calls that work, keep the original SDK for the ones that raise Unsupported, and move more only if kosa8 earns it. The comparison pages say where each provider is the better choice.
04What it costs
Start free: the Starter tier needs no card, with $10 of one-time usage, 2 sandboxes running, up to 2 vCPU, 60-minute sessions, for 14 days. Paid plans from $29 a month include sandbox-hours; usage above the plan is metered per second up to a spend cap you set, on by default at $50. Pricing.
Run your own code on it first.
No card for the Starter tier. Paid plans from $29 a month, with a spend cap on by default.