PLATINUM DOCS

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.

Compare other Daytona alternatives

Each alternative isolates code differently. Each rival fact links the rival's own page, checked November 2026.

AlternativeIsolationSDKRun on your own machines
PlatinumCloud Hypervisor microVM per sandbox (Architecture)Its own SDKs, plus the Daytona SDK unchangedWhole stack (Self-hosting)
E2BFirecracker-based microVM per sandbox (e2b.dev)Its own SDKA 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)
ModalContainers isolated with gVisor or microVMs (Modal security)Its own SDKNone listed on its pricing or security pages
Vercel SandboxFirecracker microVM with its own filesystem and network (Vercel Sandbox)Its own SDKNone 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/daytona

Keep 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.

AreaSupportedNot through the layer
LifecycleCreate, get, list, delete, start, stop, pause, archive, resize, auto-stopSetting labels after create
ForkSupported, disk only: the fork cold-bootsMemory in the fork
ImagesDaytona snapshot names a Platinum templateInline builds (buildInfo) and the snapshot registry
CommandsForeground commands and code execution, with argv and envsBackground sessions and PTY: use managed processes
FilesList, read, write, upload, bulk transfer, move, permissions, find, search, replaceGit, LSP and GUI automation
NetworkPreview 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.

PlatinumDaytona
vCPU2 × $0.0324 = $0.06482 × $0.0504 = $0.1008
RAM4 × $0.0108 = $0.04324 × $0.0162 = $0.0648
Disk10 × $0.000072 = $0.00075 billable × $0.000108 = $0.0005
One running hourabout $0.109about $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.

PartRuns on
Control planeAny linux/amd64 machine with Docker Engine and Compose. It never needs /dev/kvm
Sandbox hostUbuntu 24.04 on bare metal, x86_64 with /dev/kvm (Hardware)
Evaluation installBoth 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.