Softwr

Web Development · head to head

Cloudflare Pages vs Headscale

Cloudflare Pages logo

Cloudflare Pages

Web Development

Git-connected hosting for static sites and full-stack frontends on Cloudflare's network

From
Free
Free plan
Yes
Headscale logo

Headscale

Networking

Open source reimplementation of the Tailscale coordination server for a single organisation

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Cloudflare Pages lists git-connected builds and deploys; only Headscale lists access control policies.
  • Where Cloudflare Pages falls short: cloudflare recommends Workers for new projects, so Pages is in maintenance mode.
  • Where Headscale falls short: it is deliberately single tenant, so a managed service provider cannot use one deployment to serve several customer networks.

How do Cloudflare Pages and Headscale differ?

Cloudflare Pages and Headscale differ on pricing model, platforms (Web against Linux, Self-hosted) and category (Web Development against Networking). Only the attributes on which Cloudflare Pages and Headscale actually diverge.

Attributes where Cloudflare Pages and Headscale differ
AttributeCloudflare PagesHeadscale
Pricing modelFreemiumOpen source, no licence fee
PlatformsWebLinux, Self-hosted
CategoryWeb DevelopmentNetworking

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for Cloudflare Pages and 6 only for Headscale. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cloudflare Pages

  • Git-connected builds and deploys
  • Direct Upload of prebuilt assets
  • Pages Functions for server-side code
  • Preview deployments
  • Instant rollbacks
  • Custom domains
  • Unlimited sites, seats, requests and bandwidth
  • Framework guides for Next.js and others

Only in Headscale

  • Self hosted control server
  • Access control policies
  • User separation
  • Pre-authentication keys
  • Subnet routers and exit nodes
  • Own or shared DERP

What is each one used for?

Cloudflare Pages is most often brought in for hosting static sites with unlimited bandwidth; Headscale for running a mesh network where no third party may hold the device registry. The jobs each tool is most often brought in to do.

Cloudflare Pages

  • Hosting static sites with unlimited bandwidthnot Headscale
  • Deploying frontend frameworks from GitHubnot Headscale
  • Sharing preview links with designersnot Headscale
  • Adding light server-side logic with Functionsnot Headscale
  • Running documentation or marketing sites cheaplynot Headscale

Headscale

  • Running a mesh network where no third party may hold the device registrynot Cloudflare Pages
  • A homelab or personal fleet where paying per user for a hosted control plane is not worth itnot Cloudflare Pages
  • Air gapped or restricted environments that cannot reach an external coordination servicenot Cloudflare Pages
  • Keeping the Tailscale client experience while removing the vendor from the trust pathnot Cloudflare Pages

Where do Cloudflare Pages and Headscale fall short?

Cloudflare Pages's most cited limit: cloudflare recommends Workers for new projects, so Pages is in maintenance mode. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cloudflare Pages

  • Cloudflare recommends Workers for new projects, so Pages is in maintenance mode
  • Free plan caps at 500 builds a month and 20,000 files
  • A single asset is limited to 25 MiB per file
  • Deployments older than 30 days are deleted unless recent

Headscale

  • The clients are proprietary software maintained by a company with no obligation to Headscale, so a client update can change protocol behaviour and break your control server until volunteers catch up
  • Features that live on the vendor side, including the admin console, Funnel and app connectors, do not exist here and cannot be added, so feature comparisons against Tailscale are misleading
  • There is no official web interface, so day to day administration is a command line tool or one of several unofficial front ends of varying quality and maintenance
  • It is deliberately single tenant, so a managed service provider cannot use one deployment to serve several customer networks
  • Upgrades have required database migrations and policy format changes between releases, and with no support contract a failed migration on the control server is your problem alone

How much do Cloudflare Pages and Headscale cost?

Cloudflare Pages is free to use; Headscale is free to use. Plan by plan below, from each vendor's own pricing page.

Cloudflare Pages

Free

No published plan breakdown. See the Cloudflare Pages review.

Headscale

Free
  • HeadscaleFree
    • Full functionality, no node limit
    • Official Tailscale clients on every platform
    • No vendor account required

Which should you pick?

Choose Cloudflare Pages if

  • You need git-connected builds and deploys.
  • You want to start without paying.
  • You also want direct upload of prebuilt assets.

Choose Headscale if

  • You need self hosted control server.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want access control policies.

Questions people ask

Is Cloudflare Pages or Headscale better?
It depends on the job. Cloudflare Pages fits hosting static sites with unlimited bandwidth; Headscale fits running a mesh network where no third party may hold the device registry. Cloudflare Pages starts at Free and Headscale at Free.
Which is cheaper, Cloudflare Pages or Headscale?
Cloudflare Pages starts at Free and Headscale at Free.
Does Cloudflare Pages or Headscale run on more platforms?
Cloudflare Pages runs on Web. Headscale runs on Linux, Self-hosted.
Can I use Cloudflare Pages for free?
Both have a free tier, so you can try either at no cost before committing.
What is Cloudflare Pages best used for?
Cloudflare Pages is most often used for hosting static sites with unlimited bandwidth, deploying frontend frameworks from github, sharing preview links with designers, adding light server-side logic with functions. Of those, hosting static sites with unlimited bandwidth and deploying frontend frameworks from github are not what Headscale is typically brought in for.
What can Cloudflare Pages do that Headscale cannot?
Cloudflare Pages covers Git-connected builds and deploys, Direct Upload of prebuilt assets, Pages Functions for server-side code, Preview deployments. Headscale covers Self hosted control server, Access control policies, User separation, Pre-authentication keys.

Answered from the vendors’ own pages

Cloudflare Pages: Is Cloudflare Pages free?

Yes, there is a Free plan with 500 builds a month, and the vendor says all plans include unlimited sites, seats, requests and bandwidth.

Source
Headscale: Is Headscale made by Tailscale?

No. It is an independent community project. Tailscale acknowledges it but does not support it, and the clients it relies on are the vendor ones.

Cloudflare Pages: Should I start a new project on Pages?

Cloudflare's documentation says new static sites and full-stack apps should start with Cloudflare Workers.

Source
Headscale: What do I lose compared with the hosted service?

The admin console, the vendor relay network unless you use the public DERP servers, and hosted only features such as Funnel and app connectors.

Cloudflare Pages: What are the file limits?

Sites can contain up to 20,000 files on the Free plan, and a single asset can be up to 25 MiB.

Source
Headscale: Can I still use the public relay servers?

Yes, the default configuration can use them, though many self hosters run their own DERP to remove that dependency.

Cloudflare Pages: How do I deploy to Pages?

Connect a Git provider, upload prebuilt assets with Direct Upload, or use the C3 command line tool.

Source
Headscale: Is it suitable for a company network?

For a technical team, yes. There is no vendor to escalate to, so it needs someone on staff who is willing to own the control server.

Share

Related pages

Other head to heads