AI code-execution sandbox

Vercel Sandbox

Vercel Sandbox is a Firecracker-based, JavaScript/TypeScript-native sandbox that is persistent by default, billed on active CPU plus a per-creation fee.

Last verified 2026-07-26

Vercel Sandbox brings secure code execution into the Vercel platform for AI apps. Firecracker isolation, JS/TS-native, persistent by default, single-region. Session caps are 45 minutes on Hobby and 24 hours on Pro/Enterprise.

Key specs

IsolationFirecracker microVM
Cold start400ms
Price / vCPU-hr$0.128
Pricing modelActive CPU + per-creation fee
GPUNo
Session limit45min (Hobby) / 24h (Pro)
PersistencePersistent by default
LanguagesJavaScript/TypeScript (native), Python
MCP support
IntegrationsOpenAI Agents SDK, Vercel AI SDK
DeploymentManaged (Vercel platform)
Free tierIncluded allowance on Hobby
Active CPU$0.128/vCPU-hr
Creations$0.60 / 1M

Strengths

  • Tight Vercel/AI SDK integration
  • Firecracker isolation
  • Persistent by default

Trade-offs

  • Single region
  • Creation fee ($0.60/1M)
  • Short Hobby session cap

Best for: Teams already on Vercel building JS/TS AI apps.

Head-to-head

Alternatives to Vercel Sandbox

Sources: Vercel Sandbox docs ↗

Get pricing for Vercel Sandbox

Tell us what you're building. We'll route you to the right sandbox teams for pricing and a demo — no spam.