v2.4 -- Snapshot & Fork is live

Execute anything,
anywhere, instantly

Terralith provisions isolated microVM sandboxes in 127ms. Run untrusted code, build CI pipelines, or deploy AI agents without managing infrastructure.

Trusted by engineering teams at

VercelSupabaseResendCal.comRaycast
terralith run
>
sandbox ready ยท 127ms cold start

Global Sandbox Network

us-east-1
12ms
eu-west-2
18ms
ap-south-1
24ms
sa-east-1
31ms
0Sandboxes Running
0msAvg Cold Start
0Languages Supported
0.00%Uptime (30d)

Infrastructure

Built for code that runs once and code that never stops

From ephemeral CI jobs to persistent development environments, Terralith adapts to how you work.

127ms Cold Starts

From zero to executing code in under 150 milliseconds. No pre-warming, no idle charges. Your sandbox materializes on demand.

34 Edge Locations

Execute closer to your users. Terralith provisions sandboxes in the nearest region automatically.

Hardware Isolation

Each sandbox runs in its own microVM with dedicated kernel. No container escapes, no shared memory.

38 Runtimes

Node.js, Python, Rust, Go, Ruby, WASM -- and 32 more. Bring your toolchain; we handle the infrastructure.

Ephemeral by Default

Sandboxes self-destruct after execution. No lingering state, no data leaks. Opt into persistence when you need it.

Snapshot & Fork

Freeze any sandbox mid-execution. Fork it into parallel branches. Debug, experiment, or A/B test your infrastructure.

import { Terralith } from "@terralith/sdk";

const sandbox = await Terralith.create({
  runtime: "node-22",
  region: "auto",
  memory: "512mb",
});

const result = await sandbox.exec(`
  const response = await fetch("https://api.example.com/data");
  const json = await response.json();
  return json.items.filter(i => i.score > 0.8);
`);

console.log(result); // [{ id: "k9x2", score: 0.91 }, ...]
await sandbox.destroy();

Developer Experience

Three lines to a running sandbox

The Terralith SDK wraps the entire lifecycle -- create, execute, and destroy -- in a fluent API that feels like calling a local function. Available for Node.js, Python, Rust, Go, and Ruby.

  • Type-safe results with generics
  • Streaming stdout/stderr in real-time
  • Filesystem mounts and network policies
  • Built-in retry and circuit-breaker logic
View SDK Reference

Pricing

Pay for compute, not complexity

No hidden fees. No egress charges. Scale from zero to thousands of concurrent sandboxes with predictable costs.

Starter

Free

For individual developers prototyping and experimenting.

  • 500 sandbox hours / month
  • 8 runtimes
  • 256MB memory
  • Community support
  • 5-minute max execution
Start Building

Pro

$29/mo

For teams shipping production workloads at scale.

  • Unlimited sandbox hours
  • All 38 runtimes
  • 4GB memory
  • Priority support
  • 60-minute max execution
  • Snapshot & Fork
  • Custom networking
Start Free Trial

Your first sandbox is 127ms away

No credit card required. Start with 500 free sandbox hours every month. Scale when you are ready.

Get Started Free