生产可用 · TanStack Start + Node

AI SaaS Base — 更快交付你的 AI 产品

开箱即用的 AI SaaS 启动模板,内置鉴权、计费、积分、国际化、SEO 与异步 AI 流水线。Fork 下来填好密钥,几天内就能上线你的 AI 产品,而不是几个月。

  • Auth & billing built in
  • Credits & metering
  • i18n & SEO ready
  • Deploy anywhere

Trusted by teams building on AI SaaS Base

AcmeGlobexInitechUmbrellaHooliStark

What You Can Build

AI image & art generators

Wire any image model into the async job pipeline and bill it with credits.

Chat assistants & agents

The reusable agent core ships with an example tool-calling chat agent.

Writing & content tools

Stream completions, save drafts, and gate usage behind plans and credits.

Audio & video apps

Long-running generations run as background jobs with signed webhooks.

Data & analytics SaaS

Auth, teams-ready schema, and Stripe subscriptions to charge per seat or usage.

Who It's For

Indie hackers & solo founders

Skip the plumbing and ship your idea while it still feels exciting.

Startup engineering teams

Start from a typed, tested foundation instead of stitching libraries together.

Agencies & freelancers

Spin up a new client product on a stack you already know, fast.

Weekend & side-project builders

Everything boring is done — focus on the part only you can build.

Developers learning the stack

A real-world TanStack Start + Drizzle + Stripe reference you can read end to end.

How It Works in 3 Steps

1

Fork the template

Clone the repo and install dependencies with pnpm — one command to a running app.

2

Configure your env

Add your database, auth, Stripe and AI provider keys following the env reference.

3

Ship your product

Build features on top and deploy the Node image to Coolify, Docker, or any host.

Everything You Need to Launch

身份鉴权

邮箱、Google、Passkey、魔法链接与匿名试用。

支付与订阅

Stripe 结账、客户门户与签名 webhook。

积分与计量

双账户积分体系,原子化扣减与自动退款。

国际化

带类型的文案、locale 路由与 Accept-Language 检测。

SEO 与内容

元信息、站点地图、JSON-LD、博客与程序化页面。

Why Build On AI SaaS Base

Type-safe end to end

Routes, server functions, DB and env are all typed.

Auth, billing & credits included

The hard parts of any SaaS are wired and tested.

Async AI pipeline

Background jobs + signed webhooks for long generations.

i18n & SEO out of the box

Ship in multiple languages and rank from day one.

Deploy anywhere

A Node + Nitro server image runs on Docker, Coolify or any host.

No vendor lock-in

Swap providers freely — nothing is welded to one platform.

AI SaaS Base vs building it yourself

AI SaaS Base vs building it yourself vs other boilerplates
AI SaaS BaseFrom scratchOther boilerplates
Auth, billing & creditsYesNoPartial
Async AI job pipelineYesNoNo
i18n & SEO built inYesNoPartial
Type-safe full stackYesPartialPartial
Deploy anywhere, no lock-inYesYesPartial

A faster alternative to wiring auth, billing and AI infrastructure together yourself — batteries included, no vendor lock-in.

What Builders Say

4.8from 168 builders
"I had auth, payments and an AI job pipeline running on day one instead of week three."
placeholder quote — replace with your own

That's exactly why we built AI SaaS Base. Drop in real social proof here when you launch.

Start free. Pay as you grow.

5 free credits on signup · generate −5 · download −1.

Tier 1
$14.9/mo$29.9
$178.8 billed yearly · save 50%
200 credits / mo · ≈ 40 generations
  • All core features
  • Commercial use
  • Export your results
  • Standard generation speed
Most popular
Tier 2
$29.9/mo$49.9
$358.8 billed yearly · save 40%
450 credits / mo · ≈ 90 generations
  • Everything in Tier 1
  • Priority generation speed
  • Early access to new features
  • Unlimited history
Tier 3
$49.9/mo$99.9
$598.8 billed yearly · save 50%
1250 credits / mo · ≈ 250 generations
  • Everything in Tier 2
  • Fastest queue
  • Team commercial license
  • Priority support

Free plan: 5 credits on signup. No card required · cancel anytime.

Protected by Stripe

Frequently Asked Questions About AI SaaS Base

AI SaaS Base is a production-ready starter kit for building AI SaaS products. It bundles authentication, billing, a credits system, i18n, SEO and an async AI pipeline so you can start from a working app instead of an empty repo.

Anything else? Email support@your-domain.com

准备好开始构建你的 AI SaaS 了吗?

Fork 模板,填好密钥,今天就交付你的第一个功能。