Sitemap

Member-only story

$1,100 and One Week: The Experiment That Broke Build-vs-Buy

What Cloudflare’s AI-rebuilt Next.js reveals about the collapse of integration cost — and when cloning actually makes sense

6 min readFeb 24, 2026

--

Press enter or click to view image in full size

Cloudflare rebuilt Next.js in one week.

Not a subset.

Not a prototype.

A Vite-powered, production-grade runtime compatible with one of the most complex frontend frameworks in existence. They called it Vinext.

It cost $1,100 in AI tokens. And it’s already running on a .gov domain.

By the end of this piece, you’ll have a 4-condition checklist for deciding when AI-cloning an open-source tool is worth it — and a clear map of where this approach will cost you more than building from scratch.

Because build-vs-buy just became a three-option decision. And the third option has a very narrow sweet spot.

What Cloudflare Actually Did

The motivation was straightforward.

Next.js is optimized for Vercel’s infrastructure.

If you want to run it anywhere else — Cloudflare’s edge, AWS Lambda, your own servers — you’re…

--

--

Tanmay Deshpande
Tanmay Deshpande

Written by Tanmay Deshpande

Book author (7 titles) - Weekly deep dive articles on things that matter