Compare
Vercel vs Netlify when the vibe-coded app ships
The preview URL works. The next prompt says to move hosts. Read which product is already building the repo, and which limit the error names, before you create a second account. The two bills are not the same shape, and a host change does not fix a filename or a webhook URL.
Last verified Oct 26, 2026
What you are deploying
A Vite app is a static build plus whatever server functions you added yourself. Both hosts can publish that build from Git and put a preview URL on a pull request. Vite inlines variables that start with VITE_ at build time. A value you add in the dashboard after the build is missing until the next build. That is the Vite env guide, and it is the same rule on either host.
A Next.js app is the case where the hosts differ. Vercel maintains Next.js, and a Next.js project deploys there without an adapter package in your repo. Netlify's Next.js docs say versions from 13.5 up run through their OpenNext adapter, applied at build time, and that they test the adapter with each Next.js release. They recommend you do not pin @netlify/plugin-nextjs. Pinning it opts out of those updates. Next.js older than 13.5 is their legacy runtime, which they describe as maintenance support. This page does not restate that legacy runtime's limits.
How Next.js runs
On Netlify, the adapter's own overview says it provisions a serverless Netlify Function for server rendering, ISR, route handlers, and Server Actions, and a Netlify Edge Function for Next.js middleware. The same page's limitations say an SSR page that asks for the edge runtime runs in your functions region with the Node.js runtime, not in edge locations. Headers and redirects are evaluated after middleware, which they note differs from stand-alone Next.js. Node.js middleware there does not support the filesystem or C++ addons. Rewrites in Next.js config cannot point at static files in public. Netlify Forms need extra code with Next.js. Those are the limits their overview listed on the day this page was checked.
Vercel's functions limits describe Vercel Functions on Fluid compute, with full Node.js coverage, a single default region (iad1) that you can change, and multi-region on Pro and Enterprise. This page does not claim feature-by-feature parity beyond what each vendor documents. If a Next.js API you just pasted is missing on Netlify, read the adapter limitations before you treat it as a bug in the generated code.
Functions, time, and upload size
Vercel's limits page says the maximum request body or response body for a Vercel Function is 4.5 MB. Over that, the platform returns 413 FUNCTION_PAYLOAD_TOO_LARGE. Next.js has a smaller default on Server Actions: 1 MB, configured with experimental.serverActions.bodySizeLimit in the Next.js 16 docs. Raising that value does not raise Vercel's 4.5 MB cap. The steps are Body exceeded 1 MB limit. A 504 FUNCTION_INVOCATION_TIMEOUT is the duration cap, on its own page.
With Fluid compute, Vercel's limits page lists a Hobby maximum duration of 300 seconds, which is also the Hobby default. Pro and Enterprise default to 300 seconds, with a maximum of 800 seconds and an extended maximum of 1800 seconds marked beta. Hobby memory maxes at 2 GB and 1 vCPU. Pro and Enterprise max at 4 GB and 2 vCPU. The default on that table is 2 GB and 1 vCPU for both.
Netlify's function configuration lists different defaults: region cmh (US East, Ohio), with a note that sites created before October 4, 2023 may differ; memory 1024 MB; synchronous execution 60 seconds, and that limit is not configurable; scheduled functions 30 seconds; background functions 15 minutes; buffered request or response payload 6 MB. The same page says binary payloads are Base64-encoded, about 30% overhead, which brings a binary upload to about 4.5 MB. Changing memory, in the range 1024 to 4096 MB, is marked for credit-based Pro and Enterprise plans. Because the Next.js adapter runs route handlers and Server Actions as a Netlify Function, those defaults are the ones to read when a generated handler stops. If a log shows a different cutoff, trust the log over this summary.
Environment variables
On Vercel, each variable is applied to Production, Preview, Development, or a custom environment. Preview can be all non-production branches or one branch, and a branch-specific value overrides the preview value of the same name. Their managing-variables doc says a change applies to new deployments only. Saving the value does not update the deployment that is already live. You redeploy. NEXT_PUBLIC_ is inlined at build, which is why a missing value looks like undefined in the browser: that page. A name that exists on your laptop, or on another Vercel environment, and not on the deployment that is running, is missing at build or not applied until you redeploy.
On Netlify, variables are set in the UI, CLI, or API. Their functions doc says a variable declared in netlify.toml is not available to serverless functions. Scopes (Builds, Functions, Runtime, Post processing) are marked as a Pro and Enterprise feature. By default a variable applies to every scope. If you limit scopes, a key the function reads at runtime has to include Functions. The read-only names their functions doc says are available to functions at runtime are URL, SITE_NAME, and SITE_ID. A VITE_ or NEXT_PUBLIC_ value still has to be present for the build that inlines it, then you redeploy.
What the free tier includes
This is not a price list. Quotas change. What follows is the shape of the Hobby plan page, the fair-use guidelines, and Netlify's credit-based plan doc on Oct 26, 2026. Prices those pages state are in USD and exclude tax.
Vercel Hobby is free. The fair-use guidelines restrict it to non-commercial personal use. Commercial use needs Pro or Enterprise. Their examples include taking payment from visitors, advertising a product or service, being paid to build or host the site, a site whose primary purpose is affiliate links, and ads. Donations are called out as not commercial. The included amounts on the Hobby plan page include 100 GB Fast Data Transfer, 10 GB Fast Origin Transfer, 1,000,000 CDN requests, 1,000,000 function invocations, 4 CPU-hours of active CPU, and 360 GB-hours of provisioned memory. The Hobby versus Pro table on that page lists 200 projects, 50 domains per project, 100 deployments per day, and 1 hour of runtime logs. It does not say preview deployments are excluded from the daily deployment count. Image transformations are listed as the first 5,000. There is no invoice when you pass a Hobby limit. In most cases you wait until 30 days have passed. Web Analytics is an exception they name: collection can resume after 7 days.
Netlify accounts created on or after September 4, 2025 use credit-based plans. The free plan is $0 for 300 credits a month, with a hard limit and no auto-recharge, so it does not charge you. An account created before that date may still be on a legacy plan. This page does not restate legacy quotas. Switching onto credit-based plans is irreversible, per that doc.
On the credit-based tables, a production deploy costs 15 credits. Deploy previews, branch deploys, and failed deploys are not metered. Web bandwidth is 20 credits per GB. Web requests are 2 credits per 10,000 requests, and that row says it includes edge functions. Functions compute is 10 credits per GB-hour. Fifteen credits times 20 is 300, so twenty production deploys spend a free month before bandwidth or functions do. The free plan includes 1 concurrent build, custom domains with SSL, and serverless functions. The project cap on that table is 500 for Free, Personal, and Pro.
Pricing gotchas
A vibe-coded app that takes a Stripe payment is commercial on Vercel's definition, because it requests payment from visitors. Hobby is the wrong plan for that site even when the usage graphs are quiet. The Pro plan page lists a $20 a month platform fee, one deploying seat included, and $20 of usage credit. The credit expires at the end of the month. Usage past the credit is billed on demand. The Hobby upgrade steps list developer seats at $20 per user a month, and the Pro page says viewer seats are free. Password protection on Pro is listed at $20 a month per protected project. Read the pricing page before you treat any of those as a quote for next month.
Netlify Personal is $9 a month for 1,000 credits, and the auto-recharge option on that table is 500 credits for $5. Pro starts at $20 a month for 3,000 credits. The same doc lists higher Pro allotments, from 5,000 credits at $33 a month, with rollover only at 5,000 credits and above. Pro auto-recharge on that table is 1,500 credits for $10. Auto-recharge is how a quiet experiment becomes a card charge. Leaving it off keeps the bill at the subscription, and their wording is that you turn it on to keep projects active after the monthly credits run out. Unused monthly credits do not roll over on Free or Personal.
Domain redirects are a deploy gotcha, not a line item. Vercel says that if a visitor uses the www host or the apex, it will try to redirect, and it recommends www as the primary host. Stripe does not follow that redirect. The webhook has to use the host that already answers. That 3xx case is on Stripe webhook not firing. Putting Cloudflare in front of either host on Flexible SSL loops if the host redirects HTTP to HTTPS: ERR_TOO_MANY_REDIRECTS after adding Cloudflare. A Mac build that fails on either Linux builder with module not found is filename case: Module not found on Linux, fine on Mac.
When the broken app should stay where it is
Stay on Vercel when the failing deployment is already a Vercel URL and the log says FUNCTION_PAYLOAD_TOO_LARGE, a missing environment, or a duration timeout. Stay on Netlify when the log is a Netlify function or a credit limit and the repo is already connected there. A static Vite site does not gain a Next.js runtime by moving. A Next.js app moved onto Netlify starts going through the OpenNext adapter, including the middleware and edge-runtime notes above.
Moving hosts does not repair a case-sensitive import, a Server Action that posts the file, or an OAuth callback registered for the other domain. One error, one change. The sequence is the fix-loop guide. The full list of fixes is the error index.
Sources
- Vercel Hobby plan
- Vercel Pro plan
- Vercel fair use guidelines
- Vercel Functions limits
- Vercel environment variables
- Managing Vercel environment variables
- Vercel domain redirects
- Netlify credit-based plans
- Next.js on Netlify
- Netlify function configuration
- Netlify function environment variables
- Netlify environment variable scopes
- Vite env variables
- Next.js serverActions