Commet
  • Pricing
Log InTry out
Templates

Fixed Template

Fixed pricing with boolean features. Simple monthly/yearly subscriptions with checkout, billing portal, and feature flags.

Live DemoSource
Fixed Template

Fixed pricing template with boolean feature flags. Two plans (Pro and Max) with monthly/yearly billing, Stripe checkout, customer portal, and feature access checks. No metered or seat-based billing.

Stack: Next.js 16, Better Auth, Drizzle ORM, PostgreSQL, Commet SDK

Quick Start

commet create my-app -t fixed
cd my-app
pnpm install
pnpm dev

What's Included

  • Two plans with monthly and yearly prices
  • Five boolean features with per-plan access control
  • Stripe checkout flow with plan selection
  • Customer billing portal (manage subscription, invoices)
  • Auth with automatic customer creation on signup
  • Feature flag checks on the dashboard
  • Pricing page with plan comparison

Key Files

  • lib/auth/auth.ts — Better Auth + Commet plugin (portal, subscriptions, features)
  • lib/payments/commet.ts — Checkout session creation and subscription checks
  • app/pricing/page.tsx — Dynamic pricing page from Commet plans API
  • app/(dashboard)/dashboard/page.tsx — Feature access dashboard
  • app/api/commet/portal/route.ts — Customer portal redirect

Learn More

  • Consumption Models
  • Configure Features
  • Customer Portal

Developers

  • Documentation
  • Templates
  • GitHub

Frameworks

  • Next.js
  • Remix
  • Nuxt
  • SvelteKit
  • Astro
  • Express
  • Hono
  • Django
  • FastAPI

Resources

  • Blog
  • Changelog
  • Pricing

AI

  • Agents
  • MCP Server
  • Agent Skills
  • Claude Code
  • Codex
  • Cursor

Learn

  • Guides
  • Glossary
  • Solutions
  • Billing for AI Models
  • Comparison

Compare

  • Stripe alternative
  • Orb alternative
  • Recurly alternative
  • Paddle alternative
  • Chargebee alternative
  • Lago alternative

Company

  • About
  • Open Source
  • Terms
  • Privacy

Countries

  • Mexico
  • Argentina
  • Colombia
  • Chile
  • Peru
  • Ecuador
  • Uruguay
  • Paraguay
  • Bolivia
  • Panama
  • El Salvador
  • Brazil
XLinkedInGitHub