网页
综合
更新时间 2026-11-13 16:55:22
Sandbox - Vercel
自动蜘蛛
vercel.com
正文约 2601 字
Dec 2: Intro to Vercel Sandbox
Every sandbox is the same isolated Firecracker microVM with its own filesystem and network. What you run inside it is up to you.
Write the agent’s output to the sandbox filesystem and execute it there. You get the exit code and output back without running any of it on your own infrastructure.
Point a coding agent at a sandbox instead of your laptop. Its edits, package installs, and shell commands all stay inside the microVM.
The base image already includes claude, codex, and opencode, so there is nothing to install inside the sandbox. The agent walks you through its own login the first time you start it.
Builds, test suites, and migrations work the same way. One command gets you a clean machine, so nothing depends on what is installed on your laptop.
Control egress traffic with fine-grained network policies that can be updated at runtime. Credentials brokering injects secrets into outbound requests without exposing them inside the sandbox. Requests Proxying routes selected traffic to your own proxy server for additional security and observability.
Pick a region per sandbox or set a project default for maximum performance and compliance. Vercel Sandbox runs your workload there: near your users, your data, or the rest of your stack. Pro and Enterprise teams can add failover regions, so sandbox creation keeps working even when a region is unavailable.
Capture the complete state of a running sandbox (filesystem and installed packages), then restore it instantly. Share environments with teammates, checkpoint long-running tasks, or skip dependency installation entirely by snapshotting after setup.
Mount a Drive in Sandbox to keep files across runs. Use it for on-disk memory, datasets, models, or dependencies. Generally available on Hobby, Pro, and Enterprise.
Vercel Sandbox runs on Fluid compute, Vercel’s optimized execution model that scales CPU and memory dynamically across millions of executions.
With Active CPU pricing, you’re billed for CPU only when code is actively running, not during idle or wait time, resulting in up to 95% lower cost for workloads with bursty or I/O-bound patterns.
Estimate your monthly Vercel Sandbox costs. Adjust your workload settings and compare pricing across providers.
You can get started with Vercel Sandbox quickly and easily.
Launch a secure, interactive sandbox environment in milliseconds.
Quickly give Vercel Sandbox a try with your AI tool of choice.
Bootstrap a simple Node.js CLI that creates a Vercel sandbox. Use this code:
Include auth setup (vercel login && vercel link) with error handling.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。