Vercel
Vercel logoVercel · Feature trail

Runtime Options for Vercel Functions

12 posts · Jun 2019 – Oct 2025

What this trail covers

Vercel Functions now support streaming responses by default for all Node.js runtimes, allowing immediate return of results and near real-time log visibility. This change impacts how runtime errors are handled, with headers sent immediately and errors logged upon stream closure. The log experience is enhanced, with individual log statements appearing on separate lines with precise timestamps, rather than being aggregated into a single line after function completion. This also affects Vercel Log Drains. Additionally, Vercel Functions are now powered by Rust, leading to significant performance improvements in cold starts and execution times, with slightly lower costs. The Rust rewrite optimizes environment variable handling, Node.js process spawning, response streaming and encryption, and `waitUntil` API usage.

All Vercel trails