Engineering notes — ExplainersVercel Managed Images for all Sandboxes: what actually changed
What Vercel Managed Images mean for all Sandbox runtimes, how Node-based sandboxes change with VMIs and VCR, and how to keep environments reproducible.
All Vercel Sandbox runtimes now sit on the same image system: Vercel Managed Images, distributed through Vercel Container Registry. For Node sandboxes, that means a universal base image, more storage, and a clear story around nightly updates and pinning.
This post walks through what Vercel actually changed, how it affects Node-based sandboxes (including node22), and how I’d migrate to keep environments predictable when the universal image updates every night.
What Vercel changed for Sandbox runtimes
Vercel’s changelog entry is short but important. The headline is:
"All Vercel Sandbox runtimes now use Vercel Managed Images (VMIs)."
— Vercel
Under that, they spell out three concrete shifts:
- Every Sandbox runtime is now on VMIs. There is no split between old and new image systems.
- Legacy runtimes like
node22now use open-source images from thevercel/sandboxrepo, shipped via Vercel Container Registry (VCR). - Sandboxes created with these images now have 64 GB of storage and use the same infrastructure as other VCR-powered sandboxes.
So for any Node sandbox you spin up, including ones on node22, the underlying container image now comes from the same managed image system and registry. You also get 64 GB of storage inside the sandbox by default.
I’ll stick to what is written and focus on how to stay in control of your environment under this new model.
How Vercel Managed Images and VCR fit together
The core idea is that Vercel is now treating sandbox runtimes as managed container images, with a clear source repository and a registry in front.
Vercel describes it this way:
"Legacy runtimes, such as node22 , now use the open-source images in the vercel/sandbox repository , distributed through Vercel Container Registry (VCR). Sandboxes created with these now come with 64 GB of storage and use the same infrastructure as sandboxes powered by VCR."
— Vercel
Interpreting this for Node sandboxes:
- Image source: the Dockerfiles / image definitions live in the open-source
vercel/sandboxrepository. - Distribution: the built images are pushed to Vercel Container Registry, under the
vercel/sandboxnamespace. - Runtime: when you create a sandbox, Vercel pulls the relevant image from VCR and runs your code in it.
- Storage: the container now has access to 64 GB of storage.
For day-to-day work, you interact with this mostly through the JavaScript Sandbox SDK. The image system is doing the heavy lifting behind that API.
Conceptually it looks like this:
vercel/sandbox (GitHub)
|
v
Vercel build
|
v
VCR: vcr.vercel.com/vercel/sandbox/<image>
|
v
Sandbox runtime (e.g. node22 sandbox)You don’t manage these images directly when using Vercel’s Sandbox product, but the universal image is exposed explicitly, which helps with debugging and local experimentation.
The universal image, nightly releases and digest pinning
Vercel calls out one image in particular: vercel/sandbox/universal.
From the changelog:
- "The universal image is released nightly, and rolling tags such as latest pick up operating system, dependency, and coding agent updates."
- "Sandboxes created with version 3 or later of the JavaScript Sandbox SDK use vercel/sandbox/universal:latest by default."
- "The universal image includes Node.js, Python, coding agents such as Claude Code and Pi, and common utilities."
- "You can pull it at vcr.vercel.com/vercel/sandbox/universal:latest ."
There are four practical pieces here.
1. Nightly releases on :latest
vercel/sandbox/universal:latest is updated every night. That means:
- The OS can change (patch level, security fixes, maybe distro packages).
- Dependencies in the image can change.
- Coding agents like Claude Code and Pi can change or be updated.
Any sandbox using the default image through the JavaScript Sandbox SDK v3+ will pick up these changes automatically over time.
That is good for security patches and agent improvements. It’s risky if your workload depends on specific versions of tools or agents.
2. Digest pinning for reproducibility
To address that, Vercel says:
"Pin an image digest when you need a reproducible environment."
In Docker and OCI terms, that means referencing an image with its content digest instead of a tag. Tags like latest can move, digests do not.
As an illustration, instead of:
FROM vcr.vercel.com/vercel/sandbox/universal:latestyou’d use something like:
FROM vcr.vercel.com/vercel/sandbox/universal@sha256:<digest>That example pattern is mine, not from Vercel’s docs.
For AI-heavy workloads, treating the sandbox image like a dependency and pinning it for critical flows is the only way to get repeatable runs as nightly changes accumulate.
3. Default for JavaScript Sandbox SDK v3+
If you’re on version 3 or later of the JavaScript Sandbox SDK, new sandboxes use vercel/sandbox/universal:latest by default.
That gives you:
- Node.js
- Python
- Coding agents such as Claude Code and Pi
- Common utilities
For AI applications that run tools or analysis in sandboxes, this is a big simplification. You don’t have to assemble a polyglot image yourself; the default image already bundles Node, Python and the coding agents Vercel supports there.
4. You can pull the universal image from VCR
Vercel gives an explicit pull URL:
docker pull vcr.vercel.com/vercel/sandbox/universal:latestTrying it
If you want to inspect the universal image yourself, pull it directly from VCR using the URL above.
From there you can run a shell in the container locally to see exactly which Node and Python versions are installed, or which utilities your sandboxes will have by default.
What this means for Node sandboxes and node22
The queries I see around this change are mostly about Node-specific runtimes and whether anything breaks.
From Vercel’s post we know:
node22is explicitly mentioned as a legacy runtime now backed by thevercel/sandboximages on VCR.- All Sandbox runtimes, so that includes Node-based ones, now run on Vercel Managed Images.
- Sandboxes created from these images now have 64 GB storage and share infrastructure with other VCR-powered sandboxes.
Vercel doesn’t discuss Node flags, environment variables or working directories inside the node22 image here, so you’ll need to validate those details against your own workload.
So, practically, for Node-based AI work using sandboxes:
- Treat the move to VMIs as an infrastructure-level change that could change low-level behavior, even if the runtime name (
node22) stays the same. - Assume filesystem capacity inside the sandbox has increased to 64 GB, which gives you more room for temporary datasets, models, or logs during long-running analysis.
- If you were relying on quirks or undocumented paths from the old sandbox environment, re-validate them against the new container.
If your AI workflow calls out to the coding agents in the universal image (Claude Code, Pi), this consolidation means your Node code, Python tools and agents now share the same image baseline by default when using the JavaScript Sandbox SDK v3+.
For most teams, that simplifies mental load: fewer surprises about which environment a given sandbox is running.
How I’d migrate an existing sandbox workflow
This section is my interpretation of a safe path for AI-heavy Node sandboxes.
I’d plan around three concerns: reproducibility, compatibility and storage.
1. Make the runtime explicit
If your sandbox creation code currently relies on implicit defaults, make those explicit so you know which image you’re on.
In the JavaScript Sandbox SDK, that usually means passing a configuration object when you create a sandbox. Since the announcement doesn’t show the exact API, here’s a generic pattern as an illustration only:
// Pseudocode, not from Vercel docs
const sandbox = await client.createSandbox({
runtime: "node22", // or a universal image-based runtime
image: "vercel/sandbox/universal:latest", // or a pinned digest
});The goal is to make it obvious, in one place, which runtime and image you’re relying on for your AI tools.
2. Decide where you need digest pinning
For workloads where:
- You compare model outputs over time,
- You need exact reproducibility of a code execution for audits,
- Or you’re debugging subtle behavior tied to OS-level tools,
I’d pin the sandbox image digest.
For workloads where you want to automatically pick up language toolchain and agent improvements, staying on :latest is fine as long as you have monitoring and alerting around regressions.
If you mix both, split the sandbox creation paths:
- One code path using pinned digests for critical AI flows.
- One code path using
:latestfor exploratory or interactive tooling.
3. Reconcile with the 64 GB storage change
More storage inside the sandbox sounds unambiguously better, but it can hide inefficient behavior.
For Node-based AI flows that:
- Stream large files into the sandbox,
- Materialize intermediate datasets on disk,
- Or write logs aggressively,
I’d use this change as a prompt to:
- Check how much disk your sandboxes were actually using before.
- Cap per-run storage usage in your own code if your data volumes are unbounded.
If you’re already moving file-like results to a durable store like Vercel Blob (I wrote about using Vercel Blob TTL for automatic file deletion), you can keep your sandbox filesystem as a scratch space and not rely on the 64 GB for anything long term.
4. Validate AI tools in the universal image
Since the universal image contains Node, Python, Claude Code, Pi and common utilities, you can treat it as a shared AI tooling base.
For each agent or tool you depend on:
- Pull the universal image as shown earlier.
- Run a short script inside it to verify the versions and behaviors you care about.
- Capture that in tests or a small verification script to catch unexpected nightly changes.
This is similar to how I think about framework upgrades on Vercel projects. When I wrote about the Vercel Functions request body limit, the key step was to codify assumptions and then check them on the new runtime. Sandboxes are no different.
When I wouldn’t worry much about this change
There are a few cases where I’d accept the defaults and move on:
- Short-lived, low-risk sandboxes, like interactive coding sessions or quick experiments where reproducibility is not a requirement.
- Internal tools or prototypes using sandboxes mainly for convenience, without strict auditing or compliance needs.
- Educational or exploratory AI coding agents, where you actually want students or team members to see new agent features as Vercel rolls them out.
In those contexts, staying on vercel/sandbox/universal:latest with nightly updates is a reasonable trade-off. You get newer tools and agents without extra work, and the 64 GB storage headroom gives more room for mistakes.
If you’re running production workloads or anything that feeds into business decisions, I’d still make the runtime and image choice explicit, and layer some verification on top.
The net effect of Vercel moving all Sandbox runtimes to Managed Images is to bring everything under one predictable image and registry model, with clear defaults through the JavaScript Sandbox SDK v3+. For AI work in Node, that means a richer default toolbox and more storage, but it also means you need to think about nightly image churn and where digest pinning is mandatory. If you want help designing that kind of Vercel-centered runtime story for a Next.js or Node product, I work with teams as a Next.js developer on exactly these infrastructure edges.
Sources
- All Sandbox runtimes now use Vercel Managed Images (Vercel changelog, 2026-11-24)