{"slug": "vercel-now-supports-the-bun-runtime", "title": "Vercel now supports the Bun Runtime", "summary": "Vercel has added public beta support for the Bun Runtime, allowing developers to run applications natively on Bun by adding `\"bunVersion\": \"1.x\"` to their `vercel.json` configuration. This integration, which follows the earlier addition of `bun install` support in 2023, enables lower resource usage and access to Bun APIs for frameworks like Next.js and Hono. The feature is available to all projects but remains in public beta as the teams gather feedback and expand framework compatibility.", "body_md": "You can now run your applications on the Bun Runtime on Vercel.\nSupport is available today as a public beta for all projects.\nFrom package manager to full runtime support\nIn 2023, bun install\nsupport on Vercel became their most upvoted feature request ever.\nDevelopers wanted Bun, and Vercel delivered. Support for bun install\nwas already added back in 2023.\nToday, that support goes further.\nVercel now has built-in support for the Bun Runtime. This means that you can now run your apps on Bun itself, powered by the same focus on speed and performance.\nYou can enable Bun by adding \"bunVersion\": \"1.x\"\nto your vercel.json\n.\n{\n\"bunVersion\": \"1.x\"\n}\nThe value should be \"1.x\"\n. Vercel manages the minor version.\nOnce set, Vercel detects the configuration, installs Bun if needed, and runs your project natively. This works both locally with vercel dev\nand in production.\nYour Next.js, Hono, or custom API routes will now execute on the Bun Runtime. More framework support is coming soon.\nBuilt for modern JavaScript\nBun combines a JavaScript runtime, bundler, test runner, and package manager into a single fast toolchain. With Bun on Vercel, you can expect:\n- Lower memory and CPU usage. Bun is built in Zig and optimized for efficiency, reducing resource consumption at scale.\n- Access to all Bun APIs. Use\nBun.SQL\n,Bun.S3\n,Bun.file\n,Bun.password.hash\n, or any other Bun API directly in your functions and components. - Access to many Web APIs. Bun supports many Web APIs, and aims for full compatibility with Node.js.\nBun with Next.js\nNext.js works out of the box with the Bun Runtime on Vercel.\nTo use Bun in your build and start commands, add the bun run --bun\n(or the shorter bun --bun\n) syntax:\n{\n\"scripts\": {\n\"dev\": \"bun --bun next dev\",\n\"build\": \"bun --bun next build\",\n\"start\": \"bun --bun next start\"\n}\n}\nNext.js will still use its own bundler (Turbopack or Webpack) to bundle/compile. This command makes sure that the runtime underneath—which is the part that's executing JavaScript, reading files, serving responses, etc.—is Bun.\nThis allows you to call Bun's APIs natively inside Server Functions or React Server Components.\nimport { s3, $, sql } from 'bun'\nexport default async function BlogPage({ params: { slug } }) {\nconst [post] = await sql`\nSELECT title, image_key, content_html\nFROM posts\nWHERE slug = ${slug}\n`\nconst imgUrl = s3.file(post.image_key).presign({ expiresIn: 3600 })\nconst wordCount = await $`echo \"${post.content_html}\" | wc -w`\nreturn ...\n}\nNo adapters, no setup. It just works.\nPublic beta status\nThis is the first public release of the Bun Runtime on Vercel. It’s available to everyone, but remains in public beta while we get more feedback and improve the developer experience even further. We’re collaborating with the Vercel team to ensure a stable, high-quality experience for all users.\nAt Bun, we’re also actively expanding framework compatibility and performance so your projects run seamlessly, whether you’re using Next.js, Tanstack Start, Remix, Hono, you name it.\nWhat’s next\nIt’s Vercel’s mission to make the web faster for developers. Bun shares that mission.\nTogether, we aim to bring a faster JavaScript runtime to the platforms developers already use to ship production apps.\nBun has already been supported on platforms like Railway, Render, and any Dockerized environment. Now, that support extends to Vercel.\nTry it today\nIt's time for the Buntime.\nDeploy your Bun-powered Vercel app today. Add \"bunVersion\": \"1.x\"\nto your vercel.json\nconfiguration, and deploy to Vercel. Your app will build and run on Bun automatically.\n{\n\"bunVersion\": \"1.x\"\n}\nFor support, please visit our docs, or join our Discord.", "url": "https://wpnews.pro/news/vercel-now-supports-the-bun-runtime", "canonical_source": "https://bun.com/blog/vercel-adds-native-bun-support", "published_at": "2025-10-28 15:00:00+00:00", "updated_at": "2026-05-22 20:43:47.646019+00:00", "lang": "en", "topics": ["developer-tools", "cloud-computing", "open-source"], "entities": ["Vercel", "Bun"], "alternates": {"html": "https://wpnews.pro/news/vercel-now-supports-the-bun-runtime", "markdown": "https://wpnews.pro/news/vercel-now-supports-the-bun-runtime.md", "text": "https://wpnews.pro/news/vercel-now-supports-the-bun-runtime.txt", "jsonld": "https://wpnews.pro/news/vercel-now-supports-the-bun-runtime.jsonld"}}