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
为打造真实产品的创造者而生
团队使用 TanSaaS 跳过样板代码,专注于让 AI 产品脱颖而出的核心功能。
“积分系统和 Stripe Webhook 已经接好了。我们一个下午就接入了 fal 模型,省去了两周的基础工作。”
ACAlex Chen创始人,VisualAI
“终于有一个 SaaS 启动模板把 Cloudflare Workers 当作一等公民,而不是事后补丁。”
JLJordan Lee资深工程师
“认证、管理面板和积分——第一天就全部就绪。”
SRSam Rivera独立开发者
“Provider 接口让从 Replicate 切换到 fal 变得轻而易举。”
MKMorgan Kim机器学习工程师
AI SaaS 简洁定价
按月订阅享最优价格,先试试积分包,或在需要更多时添加 Volume+。
- 仪表盘 + 认证
- Stripe 订阅计费
- AI 任务 Webhook
- 邮件支持
- Plus 全部功能
- 管理员积分控制台
- Webhook 集成
- 优先邮件支持
- Pro 全部功能
- 基于角色的管理权限
- 自定义 Webhook 端点
- 优先支持
需要一次性积分? 查看积分包
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.
常见问题
关于计费、积分、部署和自定义 TanSaaS 模板的解答。
还有疑问?浏览 博客 或打开仪表盘探索管理工具。