Integrations · Hosting

Astro and Next.js on Vercel, with a preview per change

Astro on Vercel deploys with no setup for static sites, and Next.js runs there natively, because Vercel maintains it. Every pull request gets a preview link your team can comment on.

Astro

Deploy Astro on Vercel in four steps

Static Astro sites deploy to Vercel with no adapter. Add @astrojs/vercel only for server routes, ISR or Vercel’s image optimization.

  1. 01

    Connect the repository

    Import the Git repository into your Vercel team; Vercel detects Astro.

  2. 02

    Deploy the static build

    A static Astro site needs nothing else: every push builds, and every pull request gets a preview.

  3. 03

    Add @astrojs/vercel when you need it

    For on-demand routes, ISR, Vercel image optimization or Web Analytics, add the adapter.

  4. 04

    Set the site URL and redirects

    Set the site URL in the Astro config and keep moved URLs in Astro’s own redirects config.

Use cases

What teams use it for

01

Approve changes on a live URL

Every pull request gets a preview link you can click through and comment on.

02

CMS draft previews

Editors see unpublished content in the real layout before it goes live.

03

Speed monitoring

Speed Insights tracks Core Web Vitals from real visitors after each release.

04

v0 in your workflow

v0 connects to GitHub: each chat works on its own branch with a Vercel preview, and publishing opens a pull request. We take v0 prototypes to production in your repo: real data, auth, tests and separate preview and production keys.

05

AI features

The AI SDK and AI Gateway call models across providers from one API; AI Gateway adds no markup to provider token prices (as of November 2026). Model use is billed to your account.

Cautions

What to watch on Vercel

Preview deployments can reach production data if they share environment variables. We give previews their own keys.

Security

Vercel Web Analytics and Speed Insights collect visitor data. We check your consent setup and privacy policy before turning them on.

Privacy

Server-rendered routes run as functions. Static and ISR pages are faster and cheaper, so we use them wherever content allows.

Performance

Pro is $20 a month per developer seat with $20 of usage included (as of November 2026); functions, bandwidth and AI use above that are billed by use. We check the usage limits with you at setup.

Cost
Handover

What we set up and hand over

Vercel work runs on the Development plan, $8,000 a month, or $12,000 with design. For v0 prototypes and ongoing work, see Vercel development.

What we set up
Project, environments, domains, previews, analytics
Typical time
0.5–2 days
Complexity
Low
FAQ

Questions about Astro and Vercel

Does Astro need an adapter on Vercel?
Not for static sites. On-demand routes, ISR and Vercel’s image optimization need the @astrojs/vercel adapter.
Should Astro redirects go in vercel.json?
No. Use Astro’s own redirects config, which Vercel recommends over rewrites in vercel.json for Astro projects.
Do we have to host Next.js on Vercel?
No. Next.js also runs on Netlify, Cloudflare and your own servers. Vercel maintains Next.js, so it runs there with no extra configuration.
What does Vercel cost?
Pro is $20 a month per developer seat with $20 of usage included, as of November 2026. Functions, bandwidth and AI use above that are billed by use.
Who pays for and owns the Vercel account?
You do. We set the project up in your Vercel team and connect it to your repository, so billing and access stay with you.
Can you take our v0 prototype to production?
Yes. v0 writes Next.js and syncs to GitHub, so we start with a repo review and keep what works. See Vercel development.
Thomas OldenburgerFounder, design and build lead

Still deciding? A 30-minute call answers most of it.

Got a brief, or half of one?

Book a free 30-minute call. You leave with a straight answer on scope, price and timing, even when we are not the right fit.