<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud" -->

---
title: The Pulse: Cloudflare rewrites Next.js as AI rewrites...
description: Cloudflare built 'vinext', a rewrite of Next.js using Vite instead of Turbopack, accomplished by a single engineer in one week using ~$1,100 in AI tokens via...
canonical: https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source | daily.dev
og:description: Cloudflare built 'vinext', a rewrite of Next.js using Vite instead of Turbopack, accomplished by a single engineer in one week using ~$1,100 in AI tokens via...
og:url: https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud
og:image: https://api.daily.dev/og/posts/2nEdVfoUd.png
og:image:alt: The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source

**[The Pragmatic Engineer](https://daily.dev/sources/pragmaticengineer)** · 20 min read · 1 upvotes · 0 comments

## Summary

Cloudflare built 'vinext', a rewrite of Next.js using Vite instead of Turbopack, accomplished by a single engineer in one week using ~$1,100 in AI tokens via OpenCode and Claude Opus 4.5. The rewrite covers 94% of Next.js's API at ~67k lines vs the original's ~194k. While Cloudflare claims production readiness, Vercel's CEO points out security issues and that the only 'production' deployment is a low-traffic beta government site. The broader implication is that AI has reduced the cost of rewriting well-tested open source software by ~100x, threatening the moats of commercial open source companies like Vercel that rely on proprietary build outputs to lock in deployment platforms. The analysis explores defensive strategies for commercial OSS (private test suites, larger closed-source cores, community building, infrastructure moats) and notes that Cloudflare also shipped an AI migration agent to help users move existing Next.js projects to vinext.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.pragmaticengineer.com/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source/>

## Similar posts on daily.dev

- [How we rebuilt Next.js with AI in one week](https://daily.dev/posts/how-we-rebuilt-next-js-with-ai-in-one-week-2wzfed63i) · Cloudflare · 134 upvotes · 1 comments
- [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
- [How Cloudflare rebuilt Next.js in a weekend](https://daily.dev/posts/how-cloudflare-rebuilt-next-js-in-a-weekend-o2byqiage) · LeadDev · 14 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#cloudflare](https://daily.dev/tags/cloudflare), [#nextjs](https://daily.dev/tags/nextjs), [#open-source](https://daily.dev/tags/open-source), [#vercel](https://daily.dev/tags/vercel)

[View this post on daily.dev](https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source","url":"https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud"},"datePublished":"2026-03-05T18:05:16.161Z","dateModified":"2026-03-15T03:39:26.617Z","description":"Cloudflare built 'vinext', a rewrite of Next.js using Vite instead of Turbopack, accomplished by a single engineer in one week using ~$1,100 in AI tokens via...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"The Pragmatic Engineer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Pragmatic Engineer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/b3ccb8a149434269bda040722d941474","url":"https://daily.dev/sources/pragmaticengineer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-pulse-cloudflare-rewrites-next-js-as-ai-rewrites-commercial-open-source-2nedvfoud","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,cloudflare,nextjs,open-source,vercel","timeRequired":"PT20M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Pragmatic Engineer","item":"https://daily.dev/sources/pragmaticengineer"},{"@type":"ListItem","position":3,"name":"The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source"}]}
```

