A Cloudflare engineer rebuilt Next.js from scratch in one week using AI, reimplementing 94% of its API and spending $1,100 on Claude tokens
Uses Vite and Claude to sidestep Vercel lock-in — A Cloudflare engineer says he has implemented 94 percent of the Next.js API by directing Anthropic's Claude …
The Register Tim Anderson
Related Coverage
- How we rebuilt Next.js with AI in one week Cloudflare · Steve Faulkner
- Vinext - The Next.js API surface, reimplemented on Vite Hacker News
- How we rebuilt Next.js with AI in one week Lobsters
- I will say I found this whole post generally kinda galling, and that was before I hit the line that they've been trialing this work with the so-called “National Design Studio.” https://blog.cloudflare.com/ vinext/ This is...the opposite of a flex, and for several reasons. @beep@follow.ethanmarcotte.com · Ethan Marcotte
- Cloudflare Experiment Ports Most of Next.js API in ‘One Week’ With AI Slashdot · Msmash
- The Pulse: Cloudflare rewrites Next.js as AI rewrites commercial open source The Pragmatic Engineer · Gergely Orosz
Discussion
-
@dok2001
Dane Knecht
on x
It's Next.js Liberation Day. The #1 request we kept hearing: help us run Next fast and secure, without the lock-in and the costs. So we did it. We kept the amazing DX of @nextjs, without the bespoke tooling, built on @vite. We're working with other providers to make deployment
-
@carnage4life
Dare Obasanjo
on bluesky
A senior engineer at Cloudflare rebuilt 94% of Next.js with Claude Code in a week and spent about $1,100 in tokens. This touches on some recurring themes in my recent posts; super ICs, token costs and using the latest models. — They said this wouldn't have been possible just a…
-
r/vibecoding
r
on reddit
CloudFlare built a NextJS replacement in one week using AI
-
r/nextjs
r
on reddit
How cloudflare rebuilt Next.js with AI in one week
-
@dok2001
Dane Knecht
on x
This isn't really a Next.js story. It's an AI story. AI accelerates what @Cloudflare ships and what customers can do on our platform. We're an infrastructure company and we're going to be the best place for humans and AI to deploy. Infrastructure companies win this transition.
-
@braydenwilmoth
Brayden
on x
NextJS cost $1,100 for a developer and AI to rebuild and it's 4.4x faster & 57% smaller.
-
@wesbos
Wes Bos
on x
cloudflare ported Next.js to vite in a week for $1,100 I don't believe it, but excited to try. It's a drop-in replacement, let me know how it works on your app.
-
@youyuxi
Evan You
on x
For the record this is not the thing I've been working on 😂 But very, VERY cool regardless
-
@webmaster
Jason
on x
This is the most compelling AI rewrite story I've seen to date. Next.js, but rebuilt with Vite 1 engineer 800 @opencode sessions $1,100 in Claude tokens via API 4x faster builds 57% smaller bundles [image]
-
@joshmanders
Josh
on x
Sadly, I think next.js would have faired better had it stopped trying to make turbopack a reality and just collabbed with vite.
-
@initjean
@initjean
on x
> a few days ago a Cloudflare engineer posted this > yesterday they announced they rebuilt Next.js using AI > now open source projects are removing their public test suites brand new world i guess [image]
-
@ryancarniato
Ryan Carniato
on x
Conceptually this is more interesting I think than the actual result. Next adds new features, and then this follows suit. Likely to eventually diverge. Call it Next call it Framework X I don't think it matters much. This is a concrete example of two things going on with AI.
-
@steipete
Peter Steinberger
on x
“We honestly didn't think it would work. But it's 2026, and the cost of building software has completely changed.”
-
@eastdakota
Matthew Prince
on x
Let's build better!
-
@caelin_sutch
@caelin_sutch
on x
We deployed this for https://cio.gov/ and has significantly improved core rendering stats: FCP: 396ms (vinext) vs 504ms (live) Eager JS: 85KB / 3 files vs 384KB / 16 files Who could have guessed gov sites could be running cutting edge software
-
@skeptrune
Nick Khami
on x
how it feels to use vinext [image]
-
@cramforce
Malte Ubl
on x
Wow, @tldraw is moving their tests to a closed source repo to prevent a Slop Fork https://github.com/...
-
@gergelyorosz
Gergely Orosz
on x
Feels like Cloudflare also cannot resist the temptation of growth hacking. Their launch post states that vinext has been deployed to prod, and later in the post, they backpedal to admit it's not production-ready. Disappointingly disingenuous from Cloudflare [image]
-
@icesolst
@icesolst
on x
He's crashing out because they're getting around vendor lock-in for the shit framework he started Vercel is such a clown company Migrate to Cloudflare [image]
-
@_ashleypeacock
Ashley Peacock
on x
My other takeaway from Cloudflare rewriting Next.js in Vite is that it was possible largely due to Next.js' comprehensive test suite, so for job security, it's best us software engineers band together and agree no more writing tests
-
@rauchg
Guillermo Rauch
on x
https://vercel.com/...
-
@zackary_chapple
Zack Chapple
on x
Cloudflare: Huge tech post about their re-write Next to work with Vite, using AI, which gives crazy easy onboarding path for Next users to move to Cloudflare. Vercel: shares migrate guide with zero benefits on why you'd actually want to vercel outside of “vendor lockin”
-
@mxstbr
Max Stoiber
on x
This is insane. Next.js rebuilt based on Vite, and it only took one week and $1,100 in tokens?!?! Code really doesn't matter anymore. Crazy.
-
@cloudflare
@cloudflare
on x
We rebuilt Next.js in a week. No, really. The team ported the framework to run natively on Workers to prove what's possible with edge-first architecture. Dive into the technical hurdles we solved to eliminate Node.js dependencies. https://blog.cloudflare.com/ vinext/
-
@eastdakota
Matthew Prince
on x
What legacy web software should we rebuild on @Cloudflare Workers next to make faster and more secure? Post your requests! At $1,100 and a week's work each, we've got time and budget to do a bunch...
-
@rauchg
Guillermo Rauch
on x
We've identified, responsibly disclosed, and confirmed 2 critical, 2 high, 2 medium, 1 low security vulnerabilities in Cloudflare's vibe-coded framework Vinext. We believe the security of the internet is the highest priority, especially in the age of AI. Vibe coding is a useful
-
@gergelyorosz
Gergely Orosz
on x
I cannot stop thinking about the implications that Cloudflare / Vinext has on commercial open source, and in general, the cost of migrations, rewrites, and maintenance. One engineer, with AI, proved to be ~100x as efficient as before. This will have plenty of ripple effects
-
@dillon_mulroy
Dillon Mulroy
on x
you are not, but you can now nextjs powered by vite https://blog.cloudflare.com/ vinext/
-
@naderlikeladder
Nader Khalil
on x
Startup beef has progressed from writing passive aggressive blog posts to fully rebuilding a competitors project in a week
-
@rauchg
Guillermo Rauch
on x
Due to how these bug bounty programs work, we're getting paid for the discoveries by Cloudflare / Matthew. Please reply with interesting AI and cybersecurity research teams or open source projects we should donate the funds to!
-
@thekitze
@thekitze
on x
wow so it's really like next js
-
@lyalindotcom
Dmitry Lyalin
on x
Not on my bingo card, but also a reminder that code is no longer a moat.