Next.js on Cloudflare Pages
Cloudflare Pages documents a generic path that covers Next.js, rather than a dedicated guide.
React framework with file-based routing, server components and a build step that produces both static and server-rendered output.
What Next.js needs.
Every host claims to run Next.js, so the claim on its own decides nothing. These are the things Next.js actually requires from the platform underneath it, and what Cloudflare Pages publishes about each. Cloudflare Pages documents 2 of the 4.
Max request duration
Not documented
Server components and route handlers run per request. The wall-clock ceiling decides whether a slow upstream API or a model response can finish at all.
Streaming response limit
Not documented
The App Router streams the dynamic parts of a page as they resolve. A host that buffers the whole response first removes the benefit.
Edge network
Supported
Middleware runs on every matched request before the cache is consulted. Where it executes decides how much latency it adds.
Sources (1) →Sources ↓
- The Cloudflare global network ↗
“348 cities”
Read 2026-09-05 · official site
Build minutes
500 builds per month on the Free plan
A large Next.js app prerenders at build time, so the build allowance is a recurring cost rather than a one-off.
Sources (1) →Sources ↓
- Cloudflare Pages limits ↗
“Builds per month on the Free plan: 500”
Read 2026-09-05 · official docs
What Cloudflare Pages documents.
Cloudflare Pages documents a generic path that covers Next.js, rather than a dedicated guide.
Use this guide when you specifically want to deploy a Next.js static export to Cloudflare Pages. For Next.js on Workers, Cloudflare recommends vinext, which also supports static exports. Limited: the Pages guide covers static export only; full-stack Next.js is redirected to Cloudflare Workers.
Sources (1) →Sources ↓
- Static site · Cloudflare Pages docs ↗
“Use this guide when you specifically want to deploy a Next.js static export to Cloudflare Pages. For Next.js on Workers, Cloudflare recommends vinext, which also supports static exports. Limited: the Pages guide covers static export only; full-stack Next.js is redirected to Cloudflare Workers.”
Read 2026-09-05 · official docs
What it costs to run there.
- Entry paid plan
- $5 / month account minimum
- Pricing model
- Metered usage with a $5 monthly account minimum
- Regions
- 348 cities across 100+ countries
Sources (2) →Sources ↓
- Cloudflare Workers and Pages pricing ↗
“The Workers Paid plan includes Workers, Pages Functions, Workers KV, Hyperdrive, and Durable Objects usage for a minimum charge of $5 USD per month for an account.”
Read 2026-09-05 · official docs
- The Cloudflare global network ↗
“348 cities ... 100+ countries”
Read 2026-09-05 · official site
Whether it suits you.
Projects where the entire fixed cost should be a $5 monthly account minimum rather than a per-seat fee, and teams already running on the wider Workers platform. Billing is metered, so cost tracks traffic rather than headcount.
Consider something else if…
Your repository is hosted somewhere other than GitHub or GitLab, or the free plan's 500 builds a month is not enough headroom.
Visit Cloudflare Pages documentation