← Docs
Recipe

Marketing copy SaaS

Build a Jasper-style AI copywriting platform with Meridian auth, usage metering, and team billing.

Stack

  • Next.js 14 App Router + Tailwind
  • Meridian SDK for license checks
  • OpenAI / Anthropic for generation
  • Stripe for usage-based billing

Data model

users → teams → projects → documents

tokens_used: int, plan_tier: enum

License tiers

Starter

20k tokens/mo

Pro

100k tokens/mo

Business

Unlimited + teams

Key routes

  • /dashboard — usage charts, team mgmt
  • /editor — AI copy composer
  • /billing — Stripe customer portal