NewCloudflare Workers + AI jobs

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
dashboard.tansaas.app
TanSaaS dashboard preview

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.

12+

Integrated modules

Edge

Cloudflare Workers deploy

100%

Source in your repo

为打造真实产品的创造者而生

团队使用 TanSaaS 跳过样板代码,专注于让 AI 产品脱颖而出的核心功能。

积分系统和 Stripe Webhook 已经接好了。我们一个下午就接入了 fal 模型,省去了两周的基础工作。

AC
Alex Chen创始人,VisualAI

终于有一个 SaaS 启动模板把 Cloudflare Workers 当作一等公民,而不是事后补丁。

JL
Jordan Lee资深工程师

认证、管理面板和积分——第一天就全部就绪。

SR
Sam Rivera独立开发者

Provider 接口让从 Replicate 切换到 fal 变得轻而易举。

MK
Morgan Kim机器学习工程师

AI SaaS 简洁定价

按月订阅享最优价格,先试试积分包,或在需要更多时添加 Volume+。

Plus
$29/ 月
适合刚起步的独立开发者的月度积分。
积分2,000 / 月
单价$14.50 / 1k 积分

  • 仪表盘 + 认证
  • Stripe 订阅计费
  • AI 任务 Webhook
  • 邮件支持
Pro
热门
$59/ 月
适合稳定使用且用户群持续增长的产品。
积分5,000 / 月
单价$11.80 / 1k 积分

  • Plus 全部功能
  • 管理员积分控制台
  • Webhook 集成
  • 优先邮件支持
Max
$99/ 月
面向重度用户和高并发工作负载的最大容量。
积分10,000 / 月
单价$9.90 / 1k 积分

  • Pro 全部功能
  • 基于角色的管理权限
  • 自定义 Webhook 端点
  • 优先支持

需要一次性积分? 查看积分包

100%

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.

Likeur
M. Irung
B. Ng

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.”

Early TanSaaS adopter · AI startup founder

Supabase + Drizzle

Postgres schema, migrations, and typed queries ready for your domain models.

Stripe

Subscriptions, credit top-ups, webhooks, and customer portal hooks.

Replicate

Replicate & fal

Swap AI providers through a shared job ledger, webhooks, and credit gate.

Cloudflare

Cloudflare Workers

Edge deployment with R2, Email, and a Wrangler-ready build pipeline.

常见问题

关于计费、积分、部署和自定义 TanSaaS 模板的解答。

还有疑问?浏览 博客 或打开仪表盘探索管理工具。

今天就开始构建你的 AI SaaS

克隆模板,配置服务商,在 Cloudflare Workers 上部署订阅、积分和 AI 工作流。