How we rebuilt Next.js with AI in one week

blog.cloudflare.com
February 24, 2026
15 min read
68/100
Summary
An engineer and an AI model rebuilt the Next.js framework, resulting in vinext, a drop-in replacement built on Vite that deploys to Cloudflare Workers with a single command. Early benchmarks show vinext builds production apps up to 4x faster and produces client bundles up to 57% smaller.
Key Takeaways
- Vinext is a new front-end framework built from scratch using Vite, designed as a drop-in replacement for Next.js, and can be deployed to Cloudflare Workers with a single command.
- Early benchmarks show that vinext builds production apps up to 4x faster and produces client bundles up to 57% smaller compared to Next.js.
- The development of vinext cost approximately $1,100 in tokens and is already being used by customers in production.
- Vinext reimplements the Next.js API surface directly on Vite, avoiding the complexities of adapting Next.js's bespoke tooling.
Coverage & discussions
Hacker News Β· blog.cloudflare.com
Community discussions
Historical count: 5 Β· 5 saved in sample Β· Historical sample
Analysis ready
Community Sentiment
Positives
- The rapid development of Next.js with AI for just $1100 in tokens showcases the potential for cost-effective innovation in software development.
- This development signifies a shift in how we view coding, emphasizing that code should serve as a tool rather than a product, which could democratize access to technology.
- The Cloudflare team's focus on improving performance addresses long-standing community demands, potentially enhancing user satisfaction and engagement.
Concerns
- Concerns about the Next.js team's focus on niche features at the expense of the broader community highlight potential misalignment with user needs.
- The presence of remote code execution vulnerabilities in Next.js raises significant safety and security concerns regarding the AI-enhanced version.
Related Articles

VoidZero Is Joining Cloudflare
Jun 4, 2026

A field guide to the modern front end for developers who hand-wrote HTML
Jun 29, 2026

Fastest Front End Tooling for Humans and AI
Feb 18, 2026

Eight years of wanting, three months of building with AI
Apr 5, 2026

Why Software Factories Fail (or: harness engineering is not enough)
Jul 23, 2026