Next.js 16.5 lets you write route handlers in Go. Should you?

Vercel shipped Next.js 16.5.0 on December 2. The feature getting the attention is experimental: you can put a route.go file in the App Router, sitting next to your TypeScript routes, and Turbopack compiles it into a native executable that answers at that path. Everything else stays where it was. React rendering, Server Actions and your existing TS/JS routes still run on Node.js. To try it you set experimental.goRoutes: true in next.config, use Turbopack (Webpack is not supported) and have Go 1.24 or newer on your PATH. The docs say plainly that it isn't meant for production yet.
There's more in the release. On Vercel's own dashboard benchmark, cold Turbopack compilation is about 4.2x faster than 16.4.6 and uses 38% less memory. Functions marked 'use cache: remote' can now pick up cache entries from an earlier deployment if their code and dependencies haven't changed. A new next upgrade --ci command sets up a GitHub Actions workflow that checks for releases every day and has a coding agent (Codex or Claude Code) open the upgrade PR. Vercel is also testing a Go-based next start server behind --experimental-new-server.
The numbers are real, but they're Vercel's numbers
Vercel says that across 200 requests on one production workload, total active CPU time went from 23.412s with route.ts to 4.546s with route.go. That's roughly 81% less. With the experimental Go server calling a route.go endpoint directly, throughput went from 5,956 to 25,818 requests per second, p99 latency dropped 59% and CPU per request dropped 37%.
I don't doubt those results. I just don't think they say much about your app. Most API routes we see when we build cloud-native apps for enterprise clients spend their lives waiting: on Postgres, on a payment provider, on some internal service that takes 300ms on a good day. Picture a handler that waits 200ms on the database and spends 5ms turning rows into JSON. Rewriting it in Go gets you a share of those 5ms. Your users won't notice.
Where Go would pay off is the handful of routes that actually burn CPU: signing and verifying tokens at high volume, parsing large uploads, image work, anything you'd currently push out to a separate worker. If you have one of those, this feature is worth an afternoon in staging. If you don't, it's a curiosity.
Read the build section of the docs twice
Two details matter more to me than any benchmark.
First, Go handlers are always dynamic. ISR, generateStaticParams and output: 'export' don't apply to them. If you were counting on caching at the framework level, you'll need to handle it yourself or at the CDN.
Second, next build bundles every route.go directory into a single shared Go binary. In production that means one process serves all your Go routes. It also means one broken Go file blocks the whole build, including the Go routes nobody touched.
That second point is about people as much as tooling. From our PHP and Docker work, every repo that picked up a second language ended up with that language owned by one or two people. Everyone else learns to avoid those folders. Now add a build that fails for the whole team when one Go file doesn't compile, plus a Go toolchain that has to be pinned in CI and in every Docker build stage. Be honest about whether your team wants that before the first route.go gets merged.
Mobile clients don't care what language you picked
A lot of the Next.js API routes we deal with are backends for mobile apps. In our native iOS and Android projects, the thing that hurts is never the speed of the backend language. It's the response shape drifting. You rewrite an endpoint, a field that used to be null is now missing, and an app version from eight months ago that a chunk of users never updated starts crashing. We've seen this in healthcare and IoT apps where old clients hang around for years.
So if you port a route from TypeScript to Go, treat it as an API change even if it's supposed to be identical. Snapshot the current responses, including error cases, and diff them against the Go version before it goes anywhere near real devices.
The date that actually matters is December 15
Vercel has announced a security release for Tuesday, December 15: eight High, one Medium and one Low severity issue in Next.js, plus a Medium one in Vercel's Next.js integration. Fixes land on the 16.5.x line, with full advisories published alongside.
If you're still on 16.4 or earlier, that changes the math. Moving to 16.5 is no longer about Go or faster builds. It's about being one small patch away from the fix on the 15th instead of doing a minor-version upgrade under pressure. During our pentesting engagements, the slowest patch rollouts are almost always the ones stuck behind an upgrade nobody had scheduled.
One more security note on Go routes. Every new runtime in the request path is something we test separately, because header handling, body parsing and error output can differ from what your Node routes do. Experimental code also tends to get less outside scrutiny. That's one more reason to keep it out of production for now.
What we'd do this week
- Upgrade a branch to 16.5 now and run your full test suite, so December 15 is a patch bump and not a project.
- Leave
goRoutesoff in production. If you have a CPU-heavy route, try it in staging and measure with your own traffic, not Vercel's. - If you set up
next upgrade --ci, review the agent's PRs like you'd review anyone's. Tests must pass, and nobody turns on auto-merge. - Check your
'use cache: remote'functions for dynamicprocess.envreads. Those fall back to a per-deployment cache key, so you won't get the cross-deployment reuse.
My overall take: Go route handlers are an interesting experiment, and I'm curious where Vercel takes the Go server. But the practical win in 16.5 for most teams is boring. Faster cold builds and a clean path to the security patches. You can see how we usually handle framework upgrades on client projects in our portfolio, and more about what we build on the development side.
If a mixed Next.js codebase with a security deadline sounds familiar, let's talk.