Daytona alternative: run the Daytona SDK on Platinum microVMs
A Daytona alternative that runs Daytona SDK code unchanged on KVM microVMs, at lower published rates, in Platinum's cloud or self-hosted.
Last updated
Daytona alternatives for AI code execution include Platinum, E2B, Modal and Vercel Sandbox. Platinum runs your existing Daytona SDK code with no changes. Set two environment variables, and every sandbox becomes its own Cloud Hypervisor microVM on KVM. Run it in Platinum's cloud, or self-host the control plane and the sandbox hosts on machines you own.
Compare Platinum and Daytona
Daytona facts come from Daytona's own pages, checked November 2026. Platinum facts link the Platinum docs page that states them.
| Platinum | Daytona | |
|---|---|---|
| Default sandbox | A microVM with its own kernel, disk and network: one Cloud Hypervisor process per sandbox, on stock KVM (Architecture) | A Linux container. Linux VM, Windows, macOS and GPU sandboxes are separate classes (Daytona sandboxes) |
| Daytona SDK | Runs unchanged through a compatibility layer (Daytona SDK compatibility) | Native |
| Fork a running sandbox | Any sandbox. The fork gets the disk and cold-boots, and the parent keeps running (Snapshots) | Linux VM and Windows sandboxes, with memory state. Not container sandboxes (Daytona sandboxes) |
| Pause and resume | stop and start keep memory and processes where possible (Snapshots) | Linux VM and Windows sandboxes. Not container sandboxes (Daytona sandboxes) |
| Run on your own machines | The whole stack: control plane and sandbox hosts (Self-hosting) | Bring Your Own Compute: your runner nodes under Daytona's control plane, enabled per organization (BYOC) |
| Cold start | Sub-second, create call to running code (status page) | Under 90 ms for container sandboxes (Daytona sandboxes) |
| vCPU | $0.0324 per vCPU-hour (Billing) | $0.0504 per vCPU-hour (Daytona pricing) |
| RAM | $0.0108 per GiB-hour (Billing) | $0.0162 per GiB-hour (Daytona pricing) |
| Disk | $0.000072 per GB-hour (Billing) | $0.000108 per GiB-hour, after the first 5 GiB free (Daytona pricing) |
| Metering | Per second. CPU and RAM while running, disk while running or stopped (Billing) | Per second, pay as you go, with $200 of free compute included (Daytona pricing) |
Compare other Daytona alternatives
Each alternative isolates code differently. Each rival fact links the rival's own page, checked November 2026.
| Alternative | Isolation | SDK | Run on your own machines |
|---|---|---|---|
| Platinum | Cloud Hypervisor microVM per sandbox (Architecture) | Its own SDKs, plus the Daytona SDK unchanged | Whole stack (Self-hosting) |
| E2B | Firecracker-based microVM per sandbox (e2b.dev) | Its own SDK | A self-hostable runtime: E2B Embed runs the whole stack on one node with Docker Compose, Terraform or Kubernetes, and BYOC is also offered (e2b.dev) |
| Modal | Containers isolated with gVisor or microVMs (Modal security) | Its own SDK | None listed on its pricing or security pages |
| Vercel Sandbox | Firecracker microVM with its own filesystem and network (Vercel Sandbox) | Its own SDK | None listed in its sandbox docs |
Pick by isolation first, then by the SDK you already run. Daytona SDK code moves to Platinum with two environment variables. Moving to the others means a port to their SDK. Platinum and E2B both run on your own machines.
Point the Daytona SDK at Platinum
Use an ordinary Platinum API key and Platinum's Daytona endpoint.
export DAYTONA_API_KEY="$PT_TOKEN" # a Platinum API key
export DAYTONA_API_URL=https://api.platinum.dev/api/daytonaKeep your Daytona code as it is. Daytona's snapshot parameter selects a Platinum template, such as pt-base.
import { Daytona } from '@daytona/sdk';
const client = new Daytona();
const sandbox = await client.create({ snapshot: 'pt-base' });
const result = await sandbox.process.executeCommand('echo hello');
await sandbox.fs.uploadFile(Buffer.from('value'), '/tmp/value.txt');
console.log(result.result, String(await sandbox.fs.downloadFile('/tmp/value.txt')));
await client.delete(sandbox);The native Platinum API stays available beside the layer, with the same key.
Know what the layer covers
An unsupported call on the layer's routes returns a typed HTTP 501 error. The volume and snapshot-registry APIs are not routed and return 404. The layer never returns a false success. The full matrix is on Daytona SDK compatibility.
| Area | Supported | Not through the layer |
|---|---|---|
| Lifecycle | Create, get, list, delete, start, stop, pause, archive, resize, auto-stop | Setting labels after create |
| Fork | Supported, disk only: the fork cold-boots | Memory in the fork |
| Images | Daytona snapshot names a Platinum template | Inline builds (buildInfo) and the snapshot registry |
| Commands | Foreground commands and code execution, with argv and envs | Background sessions and PTY: use managed processes |
| Files | List, read, write, upload, bulk transfer, move, permissions, find, search, replace | Git, LSP and GUI automation |
| Network | Preview URLs with a token, egress settings, networkBlockAll at create | — |
| Storage | — | Volumes: use Platinum volumes through the native API |
| Secrets | — | Secrets as environment variables. Platinum secrets never enter the guest |
Plan for the gaps before you switch. Code that streams a long-running session or opens a PTY needs managed processes or the terminal. Code that calls the Daytona volume API needs the native volume calls.
Price a typical agent sandbox
Take 2 vCPU, 4 GiB of RAM and a 10 GB disk, running for one hour. Both sides use their list rates.
| Platinum | Daytona | |
|---|---|---|
| vCPU | 2 × $0.0324 = $0.0648 | 2 × $0.0504 = $0.1008 |
| RAM | 4 × $0.0108 = $0.0432 | 4 × $0.0162 = $0.0648 |
| Disk | 10 × $0.000072 = $0.0007 | 5 billable × $0.000108 = $0.0005 |
| One running hour | about $0.109 | about $0.166 |
Compute stops billing on Platinum when the sandbox stops. A stopped sandbox bills only its disk and its snapshots. Set auto_stop_minutes to cap idle cost (Billing). Daytona's $200 of free compute covers early use, so a small trial can cost less there.
Fork a running sandbox
Call fork on any running Platinum sandbox. It snapshots the disk and boots a new sandbox from it, while the parent keeps running untouched.
import { Platinum } from "@platinum-dev/sdk";
const client = new Platinum({ url: process.env.PT_API_URL, token: process.env.PT_TOKEN });
const sbx = await client.sandboxes.connect("sbx_01K…");
const f = await sbx.fork();
const child = await client.sandboxes.connect(f.id);
await child.waitRunning();The fork carries files, not memory or processes. Each fork reserves the parent's full CPU, RAM and disk. Use it to branch an agent at a decision point, or fan one prepared sandbox into parallel evaluation runs. See Snapshots for clone, restore and backup.
Self-host the whole stack
Self-hosted Platinum runs the same API, SDKs and console on your machines (Self-hosting). To check the Daytona layer on your install, run the steps in Verify a deployment.
| Part | Runs on |
|---|---|
| Control plane | Any linux/amd64 machine with Docker Engine and Compose. It never needs /dev/kvm |
| Sandbox host | Ubuntu 24.04 on bare metal, x86_64 with /dev/kvm (Hardware) |
| Evaluation install | Both on one KVM machine (One machine) |
Daytona's self-run option is different. With Bring Your Own Compute you attach your own runner nodes to a custom region, and Daytona's control plane manages them. Daytona's public GitHub repository says core development moved to a private codebase in June 2026, and the repository gets no further updates (daytonaio/daytona, checked November 2026). Its last public release stays free to use and build on, as is and without support.
When to pick Daytona
- You need Windows or macOS sandboxes. Daytona offers both (Daytona sandboxes), and Platinum documents neither.
- You want GPU sandboxes from a published hourly list, from RTX 4090 to B300 (Daytona pricing).
- Container isolation is enough for your workload, and you want the sub-90 ms starts Daytona lists for container sandboxes.
- Your code depends on Daytona sessions, PTY, git, LSP or computer use through the SDK.
- You want a fork that copies memory state. Daytona's VM forks do, and Platinum's forks cold-boot from disk.
- You want to start on $200 of free compute.
When to pick Platinum
- Every sandbox must be hardware-isolated by default, because it runs untrusted code for many tenants.
- You want to keep your Daytona SDK code and pay lower per-hour rates for CPU and RAM.
- You must run the control plane yourself and keep your Daytona SDK code.
- You want to fork any sandbox, or roll it back to a snapshot, without choosing a VM class first.
Start with the Quickstart, then switch one Daytona workload with the two variables above.