---
title: "How we rebuilt Next.js with AI in one week"
url: https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i
source_url: https://blog.cloudflare.com/vinext/
type: article
source: "Cloudflare"
published: 2026-02-24T20:44:06.945Z
updated: 2026-02-24T20:44:34.495Z
tags: ["react", "nextjs", "cloudflare", "vite", "ai-assisted-development"]
reading_time: 15
upvotes: 131
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How we rebuilt Next.js with AI in one week

**[Cloudflare](https://daily.dev/sources/cloudflare)** · 15 min read · 131 upvotes · 1 comments

## Summary

Cloudflare engineers rebuilt Next.js from scratch on top of Vite in under a week using AI (Claude via OpenCode), producing an open-source drop-in replacement called vinext. It builds production apps up to 4.4x faster with Vite 8/Rolldown and produces client bundles 57% smaller than Next.js 16. vinext deploys directly to Cloudflare Workers with a single command, supports both App Router and Pages Router, includes ISR via KV, and covers 94% of the Next.js 16 API surface backed by 1,700+ Vitest tests and 380 Playwright E2E tests. A novel 'Traffic-aware Pre-Rendering' (TPR) feature uses Cloudflare zone analytics to pre-render only the pages that actually receive traffic, avoiding the linear build-time scaling problem of large Next.js sites. The project cost roughly $1,100 in Claude API tokens and raises broader questions about which software abstractions exist for human cognitive limits versus genuine architectural necessity.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.cloudflare.com/vinext/>

## Community discussion

Top comments from developers on daily.dev.

**@colbyhunter** · 12 upvotes

> The more we disconnect the language from humans, the more likely we will lose control.

## Similar posts on daily.dev

- [Cloudflare Releases Experimental Next.js Alternative Built With AI Assistance](https://daily.dev/posts/cloudflare-releases-experimental-next-js-alternative-built-with-ai-assistance-xuvmgv5mh) · InfoQ · 1 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#nextjs](https://daily.dev/tags/nextjs), [#cloudflare](https://daily.dev/tags/cloudflare), [#vite](https://daily.dev/tags/vite), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development)

[View this post on daily.dev](https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i)
