Web Development · head to head
Cloudflare Pages vs Starlight

Cloudflare Pages
Web Development
Git-connected hosting for static sites and full-stack frontends on Cloudflare's network
- From
- Free
- Free plan
- Yes

Starlight
Documentation
Documentation site framework built on Astro that ships no JavaScript to the reader by default
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Cloudflare Pages lists git-connected builds and deploys; only Starlight lists file based routing.
- Where Cloudflare Pages falls short: cloudflare recommends Workers for new projects, so Pages is in maintenance mode.
How do Cloudflare Pages and Starlight differ?
Cloudflare Pages and Starlight differ on pricing model, platforms and category (Web Development against Documentation). Only the attributes on which Cloudflare Pages and Starlight actually diverge.
| Attribute | Cloudflare Pages | Starlight |
|---|---|---|
| Pricing model | Freemium | Open source, no licence fee |
| Platforms | Web | Web, macOS, Windows, Linux |
| Category | Web Development | Documentation |
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 7 only for Starlight. 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 Starlight
- File based routing
- Pagefind search
- Internationalisation
- Component overrides
- Zero client JavaScript
- Expressive Code blocks
- Auto generated sidebar
What is each one used for?
Cloudflare Pages is most often brought in for hosting static sites with unlimited bandwidth. The jobs each tool is most often brought in to do.
Cloudflare Pages
- Hosting static sites with unlimited bandwidthnot Starlight
- Deploying frontend frameworks from GitHubnot Starlight
- Sharing preview links with designersnot Starlight
- Adding light server-side logic with Functionsnot Starlight
- Running documentation or marketing sites cheaplynot Starlight
Starlight
- A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Cloudflare Pages
- A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Cloudflare Pages
- Documentation that must be served from a CDN or an air gapped static host with no search backendnot Cloudflare Pages
- A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Cloudflare Pages
Where do Cloudflare Pages and Starlight 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
Starlight
- There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
- Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
- Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
- There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
- Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade
How much do Cloudflare Pages and Starlight cost?
Cloudflare Pages is free to use; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.
Cloudflare Pages
FreeNo published plan breakdown. See the Cloudflare Pages review.
Starlight
Free- Open sourceFree
- MIT licence
- All features included
- Self hosted on any static host
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 Starlight if
- You need file based routing.
- You want to start without paying.
- You work on Web, macOS, Windows, Linux.
- You also want pagefind search.
Questions people ask
- Is Cloudflare Pages or Starlight better?
- It depends on the job. Cloudflare Pages fits hosting static sites with unlimited bandwidth; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Cloudflare Pages starts at Free and Starlight at Free.
- Which is cheaper, Cloudflare Pages or Starlight?
- Cloudflare Pages starts at Free and Starlight at Free.
- Does Cloudflare Pages or Starlight run on more platforms?
- Cloudflare Pages runs on Web. Starlight runs on Web, macOS, Windows, Linux.
- 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 Starlight is typically brought in for.
- What can Cloudflare Pages do that Starlight cannot?
- Cloudflare Pages covers Git-connected builds and deploys, Direct Upload of prebuilt assets, Pages Functions for server-side code, Preview deployments. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.
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.
SourceStarlight: Can a non technical writer publish a page without help?
No. There is no content management interface. Every change is a commit, a pull request and a build.
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.
SourceStarlight: Do I need to know Astro to use it?
Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.
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.
SourceStarlight: Is search included or do I pay for it?
Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.
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.
SourceStarlight: What happens when Astro releases a major version?
Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.
Starlight: Can I self host with no external services?
Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.
Related pages
More on Cloudflare Pages
Other head to heads
- Cloudflare Pages vs Vercel
- Cloudflare Pages vs Netlify
- Cloudflare Pages vs Bootstrap
- Cloudflare Pages vs MUI
- Cloudflare Pages vs Vue.js
- Cloudflare Pages vs React
- Cloudflare Pages vs Angular
- Cloudflare Pages vs Preact
- Cloudflare Pages vs SolidJS
- Cloudflare Pages vs Lit
- Cloudflare Pages vs Stimulus
- Cloudflare Pages vs Nginx
- Cloudflare Pages vs Radix UI
- Cloudflare Pages vs Rollup
- Cloudflare Pages vs Bolt.new
- Cloudflare Pages vs daisyUI
- Cloudflare Pages vs Hugo
- Cloudflare Pages vs v0 by Vercel
- Cloudflare Pages vs MkDocs
- Cloudflare Pages vs VitePress
- Cloudflare Pages vs Fumadocs
- Cloudflare Pages vs Antora
- Cloudflare Pages vs Mintlify
- Cloudflare Pages vs Docsify
- Cloudflare Pages vs Nextra
- Cloudflare Pages vs Archbee
- Cloudflare Pages vs Scalar
- Cloudflare Pages vs HelpDocs
- Cloudflare Pages vs Confluence
- Cloudflare Pages vs Nuclino
- Cloudflare Pages vs Adobe RoboHelp
- Cloudflare Pages vs Doxygen
- Cloudflare Pages vs Guidde
- Cloudflare Pages vs Tettra
- Cloudflare Pages vs Guru (knowledge platform)
- Cloudflare Pages vs MediaWiki
- Starlight vs Vercel
- Starlight vs Netlify
- Starlight vs Bootstrap
- Starlight vs MUI
- Starlight vs Vue.js
- Starlight vs React
- Starlight vs Angular
- Starlight vs Preact
- Starlight vs SolidJS
- Starlight vs Lit
- Starlight vs Stimulus
- Starlight vs Nginx
- Starlight vs Radix UI
- Starlight vs Rollup
- Starlight vs Bolt.new
- Starlight vs daisyUI
- Starlight vs Hugo
- Starlight vs v0 by Vercel
- Starlight vs MkDocs
- Starlight vs VitePress
- Starlight vs Fumadocs
- Starlight vs Antora
- Starlight vs Mintlify
- Starlight vs Docsify
- Starlight vs Nextra
- Starlight vs Archbee
- Starlight vs Scalar
- Starlight vs HelpDocs
- Starlight vs Confluence
- Starlight vs Nuclino
- Starlight vs Adobe RoboHelp
- Starlight vs Doxygen
- Starlight vs Guidde
- Starlight vs Tettra
- Starlight vs Guru (knowledge platform)
- Starlight vs MediaWiki
