Guides / 2026-09-24
The best SaaS starter kits for Cloudflare Workers in 2026
Ten SaaS boilerplates that deploy to Cloudflare Workers, compared: which run natively and which go through an adapter, D1 or Postgres over Hyperdrive, auth, payments and price. With the Workers and D1 limits that decide the choice, as of September 2026.

The short answer: for a SaaS that lives on Cloudflare Workers with D1 and R2, the kits built for Workers from the start are ShipKit, TanStarter and FlareStarter (TanStack Start), ShipAny's TanStack edition, SuperSaaS (Nuxt) and the free cloudflare-workers-nextjs-saas-template. If you want Next.js with Vercel as the main target and Cloudflare as an option, MkSaaS and NextDevKit deploy to Workers through the OpenNext adapter.
"Deploys to Cloudflare" means very different things from one kit to the next. Some are written for the Workers runtime and use D1 and R2 as bindings. Others are Node apps that an adapter squeezes onto Workers, sometimes from a separate branch, often still talking to Postgres somewhere else. This page sorts them by that difference first.
A disclosure first: we make ShipKit, one of the kits below. Every fact about the others comes from their own website, docs or repository, checked on 24 September 2026; where a page didn't say something, we left it out. Several prices are launch or sale prices, so check before you buy.
The short version
| Kit | Framework | On Cloudflare | Database | Auth | Payments | Price (Sept 2026) |
|---|---|---|---|---|---|---|
| ShipKit | TanStack Start | Workers, native | D1, R2 | Better Auth, passwordless | Stripe, Creem | $99 one-time (launch) |
| TanStarter | TanStack Start | Workers, native | D1, R2, KV | Better Auth, password + social | Stripe, Creem, Waffo | $139 one-time |
| FlareStarter | TanStack Start | Workers, native | D1, R2, KV | Better Auth, password + social | Stripe | Free (Apache-2.0); Pro $99 |
| ShipAny (TanStack edition) | TanStack Start | Workers | D1, or Postgres via Hyperdrive | Better Auth | Stripe | $199, or via a $249 membership |
| SuperSaaS | Nuxt 4 | Workers / Pages via NuxtHub | D1 (also Postgres, Turso) | Better Auth, incl. passkeys, 2FA | Stripe | $149 one-time |
| cloudflare-workers-nextjs-saas-template | Next.js on Vinext | Workers, native | D1, R2, KV | Lucia (deprecated), passkeys | Stripe | Free, MIT |
| Svelteflare | SvelteKit + Hono | Workers, native | D1 | Better Auth, email code + Google | Stripe | Free, MIT |
| TS-SaaS | TanStack Start + Hono | API on Workers | Postgres | Better Auth, passkeys, 2FA | Dodo Payments | $75–$395 one-time |
| NextDevKit | Next.js 15 | OpenNext adapter | Postgres, or D1 per guide | Better Auth | Stripe | $169–$219 one-time |
| MkSaaS | Next.js 16 | OpenNext, from separate branches | Postgres via Hyperdrive, or D1 | Better Auth | Stripe, Creem, Waffo | $129 one-time (sale) |
Four facts about Cloudflare that decide the choice
These are from Cloudflare's own Workers limits and D1 limits pages.
1. The free plan is real but tight on CPU. Workers Free gives 100,000 requests a day and 10 ms of CPU per request. The paid plan ($5 a month minimum) raises that to 30 seconds by default, up to 5 minutes. Free is fine for building and a quiet launch; plan on the $5 plan once you take payments.
2. The bundle-size worry is out of date. Cloudflare now allows a 64 MiB Worker on both plans and says "there is no compressed size limit. Only the uncompressed bundle size counts." Several kits' deployment guides still quote the old 1 MB, 3 MB or 10 MB limits as a reason you need the paid plan. That reason no longer holds. The CPU limit above still might.
3. D1 is SQLite with a ceiling. One D1 database holds up to 500 MB on the free plan and 10 GB on the paid plan, runs queries one at a time, and has no interactive transactions. That's plenty for most SaaS products, and it's why several kits offer Postgres over Hyperdrive as the alternative. We wrote up the transaction rule and how to move to Postgres if you outgrow it.
4. Native beats adapted. A kit written for Workers uses D1, R2 and KV as
bindings: no connection strings, no pool, and one wrangler deploy. A Node
app on an adapter runs, but you inherit its workarounds. MakerKit's Cloudflare
guide, for example, lists swapping the mailer, dropping the logger and
changing Stripe's HTTP client.
The cost side, Workers + D1 + R2 against Vercel + Postgres at 1,000 and 10,000 users, is in a separate post. Short version: about $5 a month versus $33–80.
The kits
ShipKit
What we make: TanStack Start on Workers with D1, R2 and Drizzle. Sign-in is passwordless (Google, GitHub, emailed codes) through Better Auth. Stripe and Creem both work through one payment event layer. It also has an admin console with role-based permissions and an audit log, credits and API keys for your customers, affiliate tracking, an MDX blog and docs, and English and Chinese.
Where it's different: it's built for an AI agent to work in. The rules
are in CLAUDE.md and AGENTS.md, and tests and CI enforce the important
ones. Every optional feature has a deletion recipe that CI proves still
builds. Setup, Stripe, Creem, Google OAuth and deploy are skills the agent
runs step by step.
Where it's not the right pick: no teams or organizations yet, no passwords or 2FA, Cloudflare only, and no reviews yet because it's new. $99 one-time at launch, unlimited projects. Live demo, no sign-up.
TanStarter
The closest commercial match on stack: Workers, D1, R2 and KV with Better Auth (password and social sign-in), and Waffo as a third payment provider. It ships AI demo features and a CLI that provisions Cloudflare resources. $139 one-time for unlimited personal and commercial projects. Choose it if you want password sign-in and AI demos on Cloudflare. (source)
FlareStarter
Open source under Apache-2.0: Workers, D1, KV, R2 avatar uploads, Better Auth
and Stripe in the free repo, with AGENTS.md and CLAUDE.md. The Pro edition
($99 one-time) adds teams and RBAC, seat billing, API keys, credits, an audit
log, 2FA and referrals. Choose it if you want to start free on Cloudflare
and need organizations later. It's the most direct free alternative to
ShipKit. (source)
ShipAny (TanStack edition)
ShipAny sells several editions. The TanStack one runs on Workers "in one
command" with D1 or Postgres over Hyperdrive, R2 storage and Better Auth, plus
agent skills such as /deploy-cloudflare. Each template is $199, or $1.99
with a $249 membership. Choose it if you want several templates from one
vendor. (source)
SuperSaaS
The Nuxt option: Nuxt 4 deployed through NuxtHub to Cloudflare, with D1 by default and Postgres or Turso as options. It has the fullest auth here (password, magic link, OTP, passkeys, social, 2FA), teams, and a super-admin with impersonation. $149 one-time. Choose it if you write Vue. (source)
cloudflare-workers-nextjs-saas-template
The strongest free Next.js option for Workers, and actively maintained. It moved from OpenNext to Cloudflare's experimental Vinext, and has D1, KV, R2, multi-tenancy, Stripe per-team plans, Playwright tests and agent files. One caution: its auth is built on Lucia, which its author deprecated in March 2025. Choose it if you want Next.js on Workers for free and are comfortable owning the auth code. (source)
Svelteflare
A small, current, MIT-licensed SvelteKit + Hono starter where each app is its own Worker, on D1 with Better Auth and Stripe subscriptions. Choose it if you write Svelte and want something free and small. (source)
TS-SaaS
A Turborepo with a TanStack Start frontend and a Hono API that runs on Workers (or Railway, Fly.io, Docker), on Postgres with Dodo Payments. From $75 (a limited founding price) to $395. Choose it if your product is mostly an API. (source)
NextDevKit and MkSaaS
Both are Next.js kits whose main target is Vercel, with Cloudflare as a supported path through OpenNext:
- NextDevKit ($169–$219; a $199 tier adds the Cloudflare setup) has a guide that moves it to D1 and KV. (source)
- MkSaaS ($129 on sale) keeps Cloudflare on separate branches, one for Postgres over Hyperdrive and one for D1. (source)
Choose one of these if you want Next.js and may not stay on Cloudflare.
Not a SaaS kit, but worth knowing
- RedwoodSDK is a React framework for Cloudflare only, with D1 and Durable Objects, but no billing. Good if you want to build the SaaS parts yourself.
- better-auth-cloudflare is an auth library and CLI for D1, KV and R2, not a full starter.
Our take
- Native Workers, TanStack Start: ShipKit, TanStarter or FlareStarter. FlareStarter if budget comes first, TanStarter for password sign-in and a larger user base, ShipKit if an AI agent will write most of your code.
- Vue: SuperSaaS. Svelte: Svelteflare.
- Next.js, free: the Lubomir Georgiev template, keeping the Lucia caveat in mind.
- Next.js, and you may leave Cloudflare: NextDevKit or MkSaaS.
For a closer look at the TanStack Start kits, including the Postgres ones, see the TanStack Start comparison.


