megachangelog
Feature

Simplified file retrieval from Vercel Sandbox environments

The Vercel Sandbox SDK now includes downloadFile() and readFileToBuffer() methods to simplify retrieving files generated in isolated sandbox VMs, eliminating the need for manual stream handling and custom piping.

The now includes two new methods that make file retrieval simple.Vercel Sandbox SDK

When you run code in a , that code can generate files like a CSV report, a processed image, or a PDF invoice. These files are created inside isolated VMs, so they need to be retrieved across a network boundary. Until now, this required manual stream handling with custom piping.Vercel Sandbox

If you want to download a generated report from your sandbox to your local machine, you can use to seamlessly stream the contents.downloadFile()

Both methods handle the underlying stream operations automatically. For example, if your sandbox runs a script that generates a chart as a PNG, you can pull it out with a single call to , no manual stream wiring needed.readFileToBuffer()

Learn more about the or explore the updated .Sandbox SDKdocumentation

Read more

Download a file

Read file contents to buffer

sandboxsdkfile-retrievalapideveloper-experience

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →