Cloudflare Releases Experimental Next.js Alternative Built With AI Assistance
Briefly

Cloudflare Releases Experimental Next.js Alternative Built With AI Assistance
"Cloudflare recently released vinext, an experimental reimplementation of Next.js built on Vite rather than Turbopack. The project was developed by one engineer over roughly one week, using AI, at a cost of $1,100 in API tokens. In addition, the company positions it as a drop-in replacement for Next.js optimized for Cloudflare Workers, though it explicitly labels the project experimental and untested at scale."
"On a 33-route test app, production builds finished in 1.67 seconds using Vite 8's Rolldown bundler versus 7.38 seconds for Next.js 16 with Turbopack. That's 4.4x faster. Client bundles also shrank from 168.9 KB to 72.9 KB gzipped, a 57% reduction. But Cloudflare warns these numbers are 'directional, not definitive' since they're based on one test fixture, not real-world production apps."
"The Cloudflare engineer who led development, Steve Faulkner, describes the workflow in the blog post: spending the initial hours with Claude in OpenCode to define the architecture, then iterating through tasks in which AI wrote implementations and tests. When tests passed, code merged. When they failed, AI received error output and iterated. Over 800 AI sessions produced most of the code, but every line passes quality gates: 1,700+ Vitest tests, 380 Playwright E2E tests ported from Next.js's own test suite, TypeScript checking, and linting."
Cloudflare introduced vinext, an experimental reimplementation of Next.js built on Vite instead of Turbopack. A single engineer developed the project in approximately one week using AI assistance, costing $1,100 in API tokens. The project serves as a drop-in replacement optimized for Cloudflare Workers. Early benchmarks show significant performance improvements: production builds complete in 1.67 seconds compared to 7.38 seconds for Next.js 16, and client bundles reduced from 168.9 KB to 72.9 KB gzipped. The development process involved over 800 AI sessions, with comprehensive testing including 1,700+ Vitest tests and 380 Playwright E2E tests. vinext implements Next.js APIs as a Vite plugin, making approximately 95% of the codebase platform-agnostic.
Read at InfoQ
Unable to calculate read time
[
|
]