AI5 views

Cloudflare Engineer Recreates 94% of Next.js API Using Claude AI

A Cloudflare software engineer has successfully recreated 94% of the Next.js API in just one week. Using the AI tool Claude, the project aims to decouple the popular framework from the Vercel ecosystem, allowing for easier execution on alternative platforms.

Key Performance Metrics

The experiment resulted in a tool called Vinext, which outperformed Next.js 15 (with Turbopack) in initial tests:

  • Build Speed: 4.4x faster than Next.js.
  • Bundle Size: 56% smaller client-side bundle.
  • Compatibility: 94% of the API successfully replicated.

Availability and Status

The project is currently hosted on GitHub in the cloudflare/vinext repository. While the results are impressive, the code has not yet undergone a formal human review and should be considered experimental.

This development highlights the potential of AI to accelerate software engineering and provides a performance-focused alternative for developers looking for more flexibility outside of Vercel’s infrastructure.