Your Preview Deployments: How They Work And What They Cost

How your preview deployments work on Vercel, Netlify, Cloudflare Pages and Render: branch vs pull request links, search indexing, passwords and real costs.
The OxyPages Team · · 7 min read
You've got a redesign on a branch, and a client who needs to see it before it goes live. Screenshots won't do, because they want to click around on their phone. Sending them to the real site isn't an option either.
That's the job a preview does. Push the branch, and the host builds a second, live copy of the site at its own address while production stays exactly as it was.
Most framework hosts now build your preview deployments automatically, and on the surface they all look alike. The differences sit underneath: which pushes create one, whether search engines can find it, who can open the link, how long it lives, and what it costs. Those differences are where the surprises come from, like a client's half-finished redesign turning up in Google, or a $20 line on an invoice for a password.
This post walks through each one, host by host, with every vendor detail taken from the vendor's own docs on 8 November 2026. If you build in your own GitHub runner rather than on the host, a GitHub Actions deploy for any static build covers that route, and you'd have to build previews yourself.
TL;DR: A preview deployment is a live copy of one change at its own URL, built from a branch or a pull request without touching production. Vercel, Netlify, Cloudflare Pages and Render all build them and all send an X-Robots-Tag: noindex header, but noindex keeps a page out of search results, not away from people. Locking a preview is where the costs differ: Vercel's password protection is $20 a month per project on Pro, Netlify's starts at Pro, Cloudflare can limit previews to your Cloudflare account with an Access policy, and Render's pull request previews of a free static site are free. Netlify previews cost no credits, and Cloudflare Pages puts no cap on active previews.
What Is A Preview Deployment?
A preview deployment is a full, working build of one version of your site, published at its own address so people can review it before it reaches production. It's built the same way as production, from the same code, so what you see is what you'd ship.
Previews come in three shapes, and most hosts give you more than one:
- Pull request previews. Open a pull request and the host builds it, then posts the link on the pull request. Each new push to that branch updates the same preview.
- Branch previews. Every push to a non-production branch gets built, with a stable address that always shows the newest commit on that branch.
- Per-deployment links. Every single build also gets its own permanent address that never changes, which is handy for comparing two versions side by side.
- Production. Not a preview, but worth naming: only merges to your production branch, usually
main, reach the real domain.
The pull request link is the one most people mean. It turns a code review into "click this and tell me what you think", which is a much easier ask of a client or a designer.
How Each Host Builds Your Preview Deployments
Every host here builds previews from a connected Git repository. They differ on what triggers a build and what the address looks like.
| Host | What creates a preview | Address shape | Cost of the preview itself |
|---|---|---|---|
| Vercel | Every push to a non-production branch, every pull request | A branch URL and a commit URL | Hobby: included. Pro: build time billed per minute |
| Netlify | Every pull request; branch deploys if you switch them on | deploy-preview-42--yoursite.netlify.app | 0 credits |
| Cloudflare Pages | Every pull request, and pushes to new branches | A hash URL plus a branch alias | No charge listed; no cap on active previews |
| Render (static site) | Pull requests, manual by default or automatic | Its own onrender.com URL | Free when the static site is free |
A few details change how you'd use them.
On Netlify, a preview only builds when the pull request targets your production branch or a branch with branch deploys enabled. Netlify also adds a feedback toolbar to its previews, the Netlify Drawer, where reviewers can leave comments and screenshots on the page.
On Render, previews are off until you choose. Manual mode builds one only when a pull request has the render-preview label or [render preview] in its title. Render also deletes a preview automatically when its pull request is merged or closed.
On Vercel, the very first deployment of a new project is always production, whichever branch it came from. Previews follow the rules above from the second deployment on.
Keeping Previews Out Of Search Results

All four hosts add an X-Robots-Tag: noindex header to preview addresses by default, which tells search engines not to list them. So a preview link that leaks into a chat or a ticket shouldn't end up in Google.
There are two catches worth knowing.
First, noindex isn't access control. It's a request to search engines, not a lock. Anyone who has the link can still open the preview, and anyone they forward it to can too. Google's documentation on the robots meta tag and X-Robots-Tag header explains exactly what the header does and doesn't do.
Second, custom domains can drop the header. Vercel's knowledge base says it leaves out noindex when you assign a custom domain to a non-production branch, such as staging.example.com. If you do that, add the header yourself.
You can check any preview in ten seconds. Run curl -I against the preview address and look for x-robots-tag: noindex in the response.
What Locking A Preview Costs On Each Host

Locking a preview means a visitor has to prove who they are, or know a password, before the page loads. This is where the hosts differ most, and where the real costs are.
| Host | Free way to restrict a preview | Shared password, so a client can open it without an account |
|---|---|---|
| Vercel | Standard Protection with Vercel Authentication, on every plan, limits previews to Vercel users with access | Pro only, $20 a month per protected project |
| Netlify | Project visibility settings on credit-based plans | Pro plans; not on credit-based Free or Personal |
| Cloudflare Pages | An Access policy limits preview URLs to your Cloudflare account | Not covered in the Pages preview docs |
| Render | Not covered in Render's preview docs | Not covered in Render's preview docs |
The free options all have the same limit. They lock the preview to people with an account on your team, which is perfect for colleagues and useless for a client who doesn't have one.
A shared password is what a client actually needs, and that's the line that costs money. On Vercel Pro, three client projects with password-protected previews is $60 a month on top of the plan. On Netlify, it's included once the team is on Pro. how Netlify and Vercel compare on price works through the rest of that bill.
OxyPages builds branch and pull request previews too, for sites connected to GitHub, and its protected previews start on the Lite plan at $4 / month billed annually. Previews there are never counted as page views.
How Long Do Previews Stay Up?
Previews don't live forever, and each host cleans them up on its own schedule. If a client bookmarks a preview link, it will eventually stop working.
- Vercel: by default, Hobby and Pro keep each preview deployment for 30 days, but always keep the latest preview for a branch that's still active.
- Render: a pull request preview is deleted automatically when the pull request is merged or closed.
- Netlify: a Deploy Preview stays available until the deploy is deleted, either automatically or by hand.
- OxyPages: pull request previews are removed when the pull request closes, and per-deployment links are cleaned up after 30 days.
My rule: a preview is for a conversation, not for keeping. Once the client says yes, merge, and send them the real address.
A Worked Example: A Client Reviews A Redesign
Here's how I'd run the redesign from the top of this post, on any of these hosts.
- Create a branch called
redesignand push your work to it. - Open a pull request from
redesignintomain. The host builds a preview and posts the link on the pull request within a few minutes. - If the client needs a password, switch on protection for previews only, and send the password separately from the link.
- Check the header with
curl -Ibefore you send anything, so you know it isn't indexable. - Send the client the branch preview address, not a per-commit one. Every fix you push updates it, so they never need a new link.
- When they approve, merge the pull request. Production updates, and the preview is cleaned up on the host's schedule.
One thing to watch in step two. Previews usually build with your preview environment variables, and Render copies the base service's variables into each preview, database settings included. If any value points at real customer data, give previews their own.
What To Do Next
Pick the setup that matches who reviews your work.
- Only your team reviews. Any host's free account-based protection is enough. Don't pay for passwords.
- Clients review. Price the shared password. Netlify Pro includes it for the team, Vercel Pro charges per project.
- You build in GitHub Actions. You won't get host previews unless you deploy branches yourself, so decide whether that matters before you move.
- Check one preview today with
curl -Ifor thenoindexheader.
If you'd like protected previews without a per-project add-on, see what each plan includes. If your previews need server-rendered pages or functions to run, use Vercel or Netlify, because OxyPages only serves static output. For the Netlify side in more depth, the Netlify alternatives post covers the rest of its free plan.
FAQ
Are Your Preview Deployments Public?
Usually, yes, unless you lock them. Vercel, Netlify, Cloudflare Pages and Render serve previews to anyone with the link, and add a noindex header so search engines skip them. To restrict who can open one, use the host's account-based protection or a password.
Do Your Preview Deployments Cost Money?
Often not, but it depends on the host. Netlify previews cost no credits, Cloudflare Pages puts no cap on active previews, and Render's previews of a free static site are free. On Vercel Pro, every build is billed by the minute from your usage credit, previews included.
What Is The Difference Between A Branch Preview And A Pull Request Preview?
A pull request preview is tied to one pull request, and its link is posted on it. A branch preview follows a branch and always shows its newest commit, even without a pull request. Vercel and Cloudflare Pages build both by default. Netlify builds pull requests by default and branches when you turn branch deploys on.
Can Google Index A Preview Deployment?
Not normally. All four hosts send an X-Robots-Tag: noindex header on preview addresses. Vercel's knowledge base notes one exception: a custom domain assigned to a non-production branch doesn't get the header, so add it yourself and test those preview deployments with curl -I.