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
Feito para makers que lançam produtos reais
Equipes usam o TanSaaS para evitar código repetitivo e focar nas funcionalidades que diferenciam seu produto de IA.
“O sistema de créditos e os webhooks do Stripe já estavam conectados. Adicionamos nossos modelos fal em uma tarde em vez de duas semanas de infraestrutura.”
ACAlex ChenFundador, VisualAI
“Finalmente um starter SaaS que trata o Cloudflare Workers como cidadão de primeira classe, não como uma reflexão tardia.”
JLJordan LeeEngenheiro staff
“Autenticação, painel admin e créditos — tudo pronto desde o primeiro dia.”
SRSam RiveraIndie hacker
“As interfaces de provider tornaram a troca de Replicate para fal trivial.”
MKMorgan KimEngenheiro ML
Preços simples para SaaS de IA
Assine mensalmente pelo melhor preço, experimente primeiro um pacote de créditos, ou adicione Volume+ quando precisar de mais.
- Painel + autenticação
- Cobrança Stripe
- Webhooks de tarefas IA
- Suporte por e-mail
- Tudo no Plus
- Console de créditos para admin
- Integrações de webhooks
- Suporte prioritário por e-mail
- Tudo no Pro
- Acesso admin baseado em funções
- Endpoints de webhooks personalizados
- Suporte prioritário
Precisa de créditos pontuais? Ver pacotes de créditos
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.
Perguntas frequentes
Respostas sobre cobrança, créditos, deploy e personalização do template TanSaaS.
Ainda tem dúvidas? Consulte o blog ou abra o painel para explorar as ferramentas de administração.
Comece a construir seu SaaS de IA hoje
Clone o template, configure seus providers e faça deploy de assinaturas, créditos e fluxos de IA no Cloudflare Workers.