Bun runtime on Vercel Functions
Vercel Functions adds Bun as a public beta runtime option alongside Node.js, with internal tests showing 28% lower latency in CPU-bound Next.js workloads.
We now support as a , available in Public Beta. You can choose between Node.js and Bun for your project, configuring runtime behavior based on workload. We're working closely with the Bun team to bring this capability to production.Bunruntime option for Vercel Functions This flexibility allows you to choose what works best for your use case. Use Node.js for maximum compatibility or switch to Bun for compute-intensive applications that benefit from faster execution.
Through internal testing, we've found that Bun reduced average latency by 28% in CPU-bound Next.js rendering workloads compared to Node.js. These gains come from Bun's runtime architecture, built in Zig with optimized I/O and scheduling that reduce overhead in JavaScript execution and data handling. Read more
- vercel.comBun runtime on Vercel Functionsprimary