AIKit is a production-ready Next.js starter with streaming AI chat, auth, Stripe billing, and per-plan token limits — all wired up and ready to customize.
One-time purchase · Lifetime updates · Full source code
Here's a clean landing page structure:
Want me to add a features section?
The hard parts — AI integration, auth, billing, token limits — already done.
Real-time streaming responses from OpenAI or Anthropic. Switch providers with one env var. Full conversation history with context window.
Users pick GPT-4o or Claude per conversation. Starter prompts, copy button, markdown rendering with syntax highlighting.
FREE gets 50k tokens/month. PRO gets 1M. Enterprise is unlimited. Atomic DB tracking — no overspending, ever.
Clerk handles sign-up, login, Google & GitHub OAuth, magic links. Route protection. Zero config beyond your API key.
3-tier subscriptions tied to token limits. Checkout, billing portal, all webhooks handled. FREE → PRO → Enterprise upgrade flow.
Token usage bar, stats cards, upgrade banner, billing and settings pages. Dark mode. Deploy to Vercel in 30 minutes.
Full source code. No black boxes, no locked features.
Modern, well-maintained tools. No vendor lock-in.
Switchable AI provider
Set AI_PROVIDER=openai or AI_PROVIDER=anthropic. Everything else stays the same.