Drop `Bun.serve()` into Vercel Functions without framework wrapping; WebSocket support routes to Fluid compute with per-message billing.
Summary
Eliminates the adapter layer between local Bun development and Vercel deployment—what you test locally deploys unchanged. WebSocket pricing shifts from connection time to CPU time, making real-time apps cheaper to operate at scale.
Why it matters
Eliminates the adapter layer between local Bun development and Vercel deployment—what you test locally deploys unchanged. WebSocket pricing shifts from connection time to CPU time, making real-time apps cheaper to operate at scale.
Implementation verdict
Replaces framework-based function wrappers for Bun projects. Requires setting `"bunVersion": "1.x"` in `vercel.json` and restructuring entrypoints to use `Bun.serve()`. Ready now for new projects; existing Vercel function code needs migration. Worth trying if you're already in the Bun ecosystem.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.