SvelteKit hosting in 2026: adapter-node, adapter-static or adapter-auto
In SvelteKit the adapter decides the hosting: adapter-static makes files any static host serves, adapter-node makes a Node server, and adapter-auto picks a serverless platform's own adapter. On Livops an adapter-static build is a free site, and an adapter-node build runs as a web app for 39 credits a month (39,000 so'm); adapter-auto is swapped for adapter-node in the build. Here is which to choose, and how Vercel, Netlify, Cloudflare and Render compare.
By Livops team, the people who build and run LivopsUpdated
A SvelteKit app does not choose its host in a settings screen; it chooses it in svelte.config.js. The adapter turns the built app into what a host can run, so picking one is picking a kind of hosting: files, a Node server, or a serverless platform’s functions. This page explains the three adapters you will meet, compares Vercel, Netlify, Cloudflare and Render with each provider’s own numbers, and ends with which adapter to use on Livops, and why.
What does a SvelteKit app need in production?
An adapter
Adapters are small plugins that take the built app and generate output for one kind of deployment; the official ones are for Cloudflare Workers, Netlify, Node servers, static sites, Vercel and Bun[1]. npx sv create installs adapter-auto, which picks the right adapter at deploy time on the platforms it knows: Cloudflare Workers, Netlify, Vercel, Azure Static Web Apps, AWS via SST, and adapter-node for Google Cloud Run and Render[2]. Once you know where you deploy, SvelteKit recommends installing that adapter yourself[2].
adapter-static: every page prerendered
adapter-static writes prerendered pages to build, and asks for export const prerender = true in the root layout[4]. By default the build fails unless every page and endpoint was prerendered or a fallback page is set[4]. A fallback — commonly 200.html — makes a single-page app, with large negative effects on performance and SEO by SvelteKit’s own account[4]. Pages with form actions cannot be prerendered, because a server has to answer their POST[5]. To prerender some pages and render others per request, you need a different adapter[4].
adapter-node: a Node server
adapter-node writes a server to build, started with node build, which listens on 0.0.0.0 and port 3000 unless HOST and PORT say otherwise[3]. At run time it needs the build folder, package.json and the production dependencies in node_modules: dev dependencies are bundled into the app, packages in dependencies are not[3]. On SIGTERM it stops accepting requests, lets those in flight finish, and closes what is left after SHUTDOWN_TIMEOUT, 30 seconds by default[3]. Request bodies are limited by BODY_SIZE_LIMIT, 512 KB by default[3].
The public address, behind a proxy
Behind a proxy, adapter-node cannot see the address visitors used, and form actions then fail with “Cross-site POST form submissions are forbidden”: the origin is what CSRF checks on forms and remote functions trust[3]. Set ORIGIN, or have it read PROTOCOL_HEADER and HOST_HEADER (such as x-forwarded-proto and x-forwarded-host), only behind a proxy you trust[3]. The client’s IP comes from ADDRESS_HEADER with XFF_DEPTH set to the number of trusted proxies[3].
The options at a glance
| Option | What it is | Adapter | A static SvelteKit site | Smallest paid plan for server rendering |
|---|---|---|---|---|
| Livops | A platform; servers in Uzbekistan | adapter-static or adapter-node (adapter-auto is swapped) | Free | 39 credits (39,000 so’m) a month for one always-on server |
| Vercel | Functions and a global CDN | adapter-vercel, or adapter-auto[6] | Free on Hobby[7] | Pro: $20 a month per developer seat, with $20 of included credit[7] |
| Netlify | Functions and a CDN, billed in credits | adapter-netlify[9] | Free plan: 300 credits a month, a hard limit[11] | Personal: $9 a month for 1,000 credits; Pro: $20 for 3,000[10] |
| Cloudflare Workers | Code at Cloudflare’s edge | adapter-cloudflare[13] | Static asset requests free and unlimited[14] | Workers Paid: from $5 a month per account[14] |
| Render | A platform with a native Node runtime | adapter-node[2] | Static sites free[16] | $7 a month: 0.5 CPU, 512 MB[16] |
Other providers’ prices are from each provider’s own page, read on 20 November 2026; the dates are in Sources below. Livops prices are the ones the cabinet bills today.
Each option
Livops
A SvelteKit repository is recognised from @sveltejs/kit in package.json, built with npm run build, and published as a free site or started with node build, depending on what the build left (details below). Every git push ships a new version. Payment is in so’m through Payme or Click, with no card, and the servers are in Uzbekistan — close to users there, farther from users elsewhere. There is no global CDN of edge locations in front of it, and no root.
Vercel
Where Vercel is better: SvelteKit deploys with no configuration, and adapter-auto installs adapter-vercel at build time; installing it yourself is Vercel’s recommendation[6]. Routes are bundled into one function by default, on the Node.js runtime, with Edge per route, ISR and skew protection available[6]. Functions run in Washington, D.C. (iad1) unless you choose a region[6]. Hobby is free with 100 GB of fast data transfer and 4 hours of Active CPU a month, and a function runs for at most 300 seconds[8]; Pro is $20 a month per developer seat with $20 of included credit[7].
Netlify
adapter-netlify deploys SvelteKit’s server rendering as one Netlify Function called render, or one per route with split; with edge: true it renders in a Deno-based edge function instead[9]. adapter-static works on Netlify too[9]. A synchronous function may run for 60 seconds[12]. Every production deploy costs 15 credits, bandwidth 20 credits per GB and web requests 2 credits per 10,000[11]; Personal is $9 a month for 1,000 credits and Pro $20 for 3,000[10].
Cloudflare Workers
With adapter-cloudflare, Wrangler detects SvelteKit, writes the configuration — the Worker at .svelte-kit/cloudflare/_worker.js, the assets beside it — and deploys[13]. Static asset requests are free and unlimited; the Free plan allows 100,000 requests a day and 10 ms of CPU per request, and Workers Paid starts at $5 a month for 10 million requests[14]. Each isolate has 128 MB of memory[15]. For a SvelteKit site whose visitors are spread across continents, this is the cheapest way to render close to all of them, as long as the work fits those limits.
Render
adapter-auto already knows Render and uses adapter-node for it[2]. Node is a native runtime there, static sites are free, and a web service starts at $7 a month for 512 MB[16]. Render takes credit and debit cards[16].
Which adapter, and why
- Every page can be built ahead of time — a marketing site, docs, a blog:
adapter-static. Any static host serves it, and on Livops it is free. - Form actions,
+serverendpoints that run per request, sessions, a database:adapter-nodeon a server, or a platform’s own adapter on its functions. On Livops it isadapter-node. adapter-autois a starting point, not a choice: it builds for the platform it detects[2], and on a host it does not know,node buildfinds no server to start. Replace it once you know where the app runs.
Functions or a server: what changes?
On Vercel, Netlify and Cloudflare, a server-rendered SvelteKit app becomes functions that start for a request and stop after it: you pay per request and per unit of compute, and the limits are a function’s duration and memory. With adapter-node it is one long-running node build, paid by the month, whose limit is the machine’s memory. Websockets beside the app, a long request, an in-memory cache and a file on disk are ordinary on a server; rendering on every continent and paying nothing while nobody visits are what functions are for.
Where can you host SvelteKit for free?
- Livops publishes an
adapter-staticbuild for free, with HTTPS and a livops.app address; the Free plan holds 30 sites and 40 builds a month. Anadapter-nodeapp has no free tier; on an account that has not paid yet, the first bot or app runs for 15 minutes on a zero balance, once. - Vercel Hobby is free, with 100 GB of fast data transfer, 4 hours of Active CPU and 100 deployments a day[8].
- Netlify Free has 300 credits a month as a hard limit; when they are used up, every project shows “Site not available” until the next cycle[11].
- Cloudflare Workers Free allows 100,000 requests a day with 10 ms of CPU each; static asset requests are free[14].
- Render serves static sites for free; a free web service spins down after 15 minutes without inbound traffic and takes about a minute to start again, within 750 free instance hours a month per workspace[17].
SvelteKit on Livops
- Install the adapter you mean:
npm i -D @sveltejs/adapter-staticor@sveltejs/adapter-node, and import it insvelte.config.js. - Push the repository. In the cabinet, click New project and choose it, or upload the folder as a
.zip. How it runs shows Site or application: the build decides. - Put variables under Variables. For
adapter-node, addORIGINwith the app’s address, or the two header variables below. - Deploy. The log shows the install, the build and, for a server, the start.
What Livops runs, with pnpm, Yarn or Bun instead of npm when packageManager in package.json names one, and the Node version from .nvmrc or .node-version:
npm install
npm run build
node build
- adapter-auto, and other hosts’ adapters. When the project has
adapter-auto,adapter-vercel,adapter-netlifyoradapter-cloudflareand neitheradapter-nodenoradapter-static, the build’s own copy installsadapter-node— version 1 for SvelteKit 1, version 5 for SvelteKit 2, the current one otherwise — and puts it insvelte.config. The repository is not changed. - Site or application. If the build leaves an
index.htmlinbuild, asadapter-staticdoes, the folder is published as a free static site, where_redirectsand_headersfromstatic/work; see Redirects and headers. If it does not, as withadapter-node, the project becomes a web app started withnode build; the log says “no finished pages were produced — running this as an application”, and what it costs is said in the log, in the cabinet’s notifications and in Telegram if your account is linked. - SPA fallback. With
adapter-staticandfallback: '200.html', addstatic/_redirectswith the line/* /200.html 200, so a deep link opens the app instead of a 404. - The address.
PORTis set, 3000 unless you change it, and adapter-node reads it; it listens on every interface by default. The proxy sendsX-Forwarded-Proto: httpsandX-Forwarded-Host, so instead ofORIGINyou can setPROTOCOL_HEADER=x-forwarded-protoandHOST_HEADER=x-forwarded-host, which also covers custom domains. - Dependencies. The whole build,
node_modulesincluded, ships with the app, so packages independenciesare there whennode buildimports them. - Variables read while building (
$env/static): when one is missing, the log ends with a Tip naming it. Add it under Variables and deploy again; see Build failed. - If the new version does not answer within a minute, the deploy fails and the version that worked keeps serving; if the build fails, the running version is left alone. Recent versions stay in Deploys for a one-click rollback.
- Memory for
node buildis the service’s tier: 256, 512, 1024 or 2048 MiB, set withmemoryinlivops.jsonwhen the project is created and in the settings afterwards.
For an adapter-node app you can set the type and the size before the project is created, in livops.json at the repository root:
{
"kind": "web",
"healthPath": "/",
"memory": 512
}
An adapter-static SvelteKit site is free; an adapter-node app is 39 credits a month (39,000 so’m). One credit is 1,000 so’m, and bought credits never expire. See Pricing and Frameworks for everything livops.json accepts.
Questions
Which SvelteKit adapter should I use on Livops?
adapter-static when every page can be prerendered, which makes the project a free static site. adapter-node when it has form actions, server endpoints or pages rendered per request, which makes it a web app. adapter-auto also works, because the build swaps in adapter-node, but installing adapter-node yourself keeps local builds and Livops builds the same.
What does Livops do with adapter-auto?
When the project has adapter-auto, adapter-vercel, adapter-netlify or adapter-cloudflare and neither adapter-node nor adapter-static, the build's own copy installs adapter-node of the version that fits your SvelteKit and puts it in svelte.config. The repository is not changed.
Is my SvelteKit project a site or an application?
The build decides. If it leaves an index.html in the build folder, it is published as a free static site. If not, as with adapter-node, it is started with node build as a web app, and the log, the bell and Telegram say what that costs.
Why do my form actions fail with Cross-site POST form submissions are forbidden?
adapter-node cannot tell its public address behind a proxy. Set ORIGIN to the app's address under Variables, for example https://myapp.livops.app, or set PROTOCOL_HEADER=x-forwarded-proto and HOST_HEADER=x-forwarded-host, which the Livops proxy sends.
My build fails on a variable from $env/static. What now?
Those are read while the app is built. Add the variable the log names under Variables, then deploy again.
How much does SvelteKit hosting cost on Livops?
An adapter-static site is free. An adapter-node app is 39 credits a month, which is 39,000 so'm at 1,000 so'm a credit. There is no free tier for apps; on an account that has not paid yet, the first app runs for 15 minutes on a zero balance, once. Credits are bought in so'm through Payme or Click, with no card.
Who wrote this comparison?
The Livops team. Every price and limit of another provider on this page links to that provider's own page, with the day we read it.
Sources
- SvelteKit — Adapters (svelte.dev). Checked .
- SvelteKit — Zero-config deployments (adapter-auto) (svelte.dev). Checked .
- SvelteKit — Node servers (adapter-node) (svelte.dev). Checked .
- SvelteKit — Static site generation (adapter-static) (svelte.dev). Checked .
- SvelteKit — Page options (svelte.dev). Checked .
- Vercel — SvelteKit on Vercel (vercel.com). Checked .
- Vercel — Pricing (vercel.com). Checked .
- Vercel — Hobby plan (vercel.com). Checked .
- Netlify — SvelteKit on Netlify (docs.netlify.com). Checked .
- Netlify — Pricing (netlify.com). Checked .
- Netlify — How credits work (docs.netlify.com). Checked .
- Netlify — Configuration for functions (docs.netlify.com). Checked .
- Cloudflare — SvelteKit on Workers (developers.cloudflare.com). Checked .
- Cloudflare — Workers pricing (developers.cloudflare.com). Checked .
- Cloudflare — Workers limits (developers.cloudflare.com). Checked .
- Render — Pricing (render.com). Checked .
- Render — Deploy for free (render.com). Checked .
Put your project online today
Connect GitHub or drop a folder. No card is asked for.
Deploy your SvelteKit appRelated
- Nuxt hosting in 2026: server-rendered or static, and where to run eachA Nuxt app is either a Node server that nuxt build makes, or a folder of pages that nuxt generate prerenders, and the host you need follows from which. On Livops the static build is a free site, and the server build runs as a web app for 39 credits a month (39,000 so'm); you choose when you import the repository. Here is how Vercel, Netlify, Cloudflare and Render compare.
- Next.js hosting without Vercel: the options comparedNext.js runs on any host that runs Node: next build, then next start, and every feature works, Server Actions and image optimization included. On Livops a repository with next in package.json runs as a server from a push for 39 credits a month (39,000 so'm), and a static export is free. Here is how Vercel, Render, Railway, Fly.io and a VPS compare.
- Node.js hosting in 2026: how to deploy an Express appA Node.js server in production needs one long-running process that listens on the port it is given, restarts when it crashes and exits cleanly on SIGTERM. On Livops you push a repository with package.json and it runs as a web app for 39 credits a month (39,000 so'm). Here is what Node needs, and how a VPS, Render, Railway, Fly.io, DigitalOcean and Heroku compare.
- Free static site hosting in 2026: the free tiers comparedA static site — plain HTML, or a Vite, React or Astro build, or a Lovable export — is free on all five. The differences are the limits: Netlify pauses every site when 300 monthly credits run out, Vercel Hobby is for non-commercial use only, GitHub Pages is not for running a business, and Cloudflare Pages does not count static traffic. On Livops up to 30 sites are free, on your own domain, with no card asked for.
- Livops vs Vercel: which one to deploy on in 2026Pick Vercel for a Next.js or frontend app served to users around the world from its global network, paid by card. Pick Livops if your users are in Uzbekistan, you also run a Telegram bot or a backend that must stay up, and you want to pay through Payme or Click, with no card; static sites are free on both.
- App not listening on $PORT: why the health check failed after deployThe platform started your app, tried the port it gave it, and nothing answered in time. Almost always the app listens on its own fixed port instead of the PORT variable, listens on localhost (127.0.0.1) instead of 0.0.0.0, or crashed or was still starting when the check gave up. Listen on 0.0.0.0 and the port in PORT, and it passes.