AI SaaS that ships at first sight
TanSaaS is a production-minded starter for subscriptions, expiring credits, auth, storage, webhooks, and pluggable AI — deploy on Cloudflare Workers and focus on your product.
- Stripe billing
- better-auth roles
- Replicate & fal
Built with the stack teams trust
The full stack for modern AI SaaS
From auth to billing to background jobs — every integration is typed, replaceable, and ready for production.
Ship faster
TanStack Start on Cloudflare Workers with Drizzle, Redis cache, R2 storage, and webhooks wired in.
Auth & roles
better-auth with admin guards, session handling, and role-aware dashboard routes out of the box.
AI-ready
Pluggable Replicate and fal providers with credit-gated jobs and webhook-friendly billing hooks.
Monetize day one
Stripe subscriptions, credit top-ups, expiring credit lots, and webhook handlers you can extend safely.
Edge-native
Deploy globally on Workers with Upstash Redis, presigned R2 uploads, and observability-friendly boundaries.
Fully customizable
Provider interfaces keep vendor logic swappable — swap AI, billing, or storage without rewriting your app.
TanSaaS in numbers
A starter template designed to get you to production — not just a pretty landing page.
Integrated modules
Cloudflare Workers deploy
Source in your repo
Creato per maker che lanciano prodotti reali
I team usano TanSaaS per evitare il codice boilerplate e concentrarsi sulle funzionalità che differenziano il loro prodotto IA.
“Il sistema di crediti e i webhook Stripe erano già collegati. Abbiamo aggiunto i nostri modelli fal in un pomeriggio invece di due settimane di infrastruttura.”
ACAlex ChenFondatore, VisualAI
“Finalmente uno starter SaaS che tratta Cloudflare Workers come cittadino di prima classe, non come un ripensamento.”
JLJordan LeeStaff engineer
“Autenticazione, pannello admin e crediti — tutto pronto dal primo giorno.”
SRSam RiveraIndie hacker
“Le interfacce provider hanno reso banale il passaggio da Replicate a fal.”
MKMorgan KimIngegnere ML
Prezzi semplici per il SaaS IA
Abbonati mensilmente per il miglior prezzo, prova prima un pacchetto di crediti, oppure aggiungi Volume+ quando serve.
- Dashboard + autenticazione
- Fatturazione Stripe
- Webhook per attività IA
- Supporto via e-mail
- Tutto in Plus
- Console crediti admin
- Integrazioni webhook
- Supporto prioritario via e-mail
- Tutto in Pro
- Accesso admin basato sui ruoli
- Endpoint webhook personalizzati
- Supporto prioritario
Hai bisogno di crediti una tantum? Vedi pacchetti di crediti
Replaceable providers
Auth & admin guards
better-auth sessions with role-aware routes and an admin credit console.
Edge-fast delivery
Deploy on Cloudflare Workers with R2 storage, webhooks, and Redis caching at the edge.
Credit-gated AI jobs
Run Replicate and fal workloads with expiring credit lots and webhook-safe billing.
Built for product teams
Dashboard, pricing, and admin flows included so you can validate monetization early.
Integrate with your favorite stack
Every module is optional and replaceable. Keep what fits, swap what doesn't — without breaking your app shell.
Explore the dashboard“We went from blank repo to auth, billing, and AI jobs in a weekend. The provider boundaries made it easy to plug in our own models.”
Supabase + Drizzle
Postgres schema, migrations, and typed queries ready for your domain models.
Stripe
Subscriptions, credit top-ups, webhooks, and customer portal hooks.
Replicate & fal
Swap AI providers through a shared job ledger, webhooks, and credit gate.
Cloudflare Workers
Edge deployment with R2, Email, and a Wrangler-ready build pipeline.
Domande frequenti
Risposte su fatturazione, crediti, deployment e personalizzazione del template TanSaaS.
Hai ancora domande? Sfoglia il blog oppure apri la dashboard per esplorare gli strumenti di amministrazione.
Inizia a costruire il tuo SaaS IA oggi
Clona il template, configura i tuoi provider e deploya abbonamenti, crediti e flussi di lavoro IA su Cloudflare Workers.