Commet
  • Pricing
Log InTry out
Introduction

Quickstart

Learn

Resources

SDK ReferenceError HandlingTestingCLI

Plugins

Better Auth
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

Introduction

Commet is a billing and payments platform for SaaS and AI products.

Commet is a billing and payments platform for SaaS and AI products. It handles recurring billing, taxes, compliance, and payouts so you can focus on your product.

Quickstart

Next.js

Add billing to a Next.js app

Remix

Add billing to a Remix app

Nuxt

Add billing to a Nuxt app

SvelteKit

Add billing to a SvelteKit app

Astro

Add billing to an Astro app

Express

Add billing to an Express server

Hono

Add billing to a Hono app

Bun

Add billing to a Bun server

The Plan-First Model

You define what you sell, package it into a plan, and assign it to a customer. Billing runs automatically from there.

  1. Features — define capabilities like API calls, seats, or SSO access
  2. Plan — bundle features with pricing and a consumption model
  3. Customer — assign the plan and a subscription is created
  4. Billing — invoices, usage tracking, and payments happen without intervention

Consumption Models

Every plan uses one consumption model. This defines how customers consume and pay for features.

ModelHow it worksExamples
MeteredBase price + overage billed at period endTwilio, Resend, AWS
CreditsPrepaid credits consumed by usageMidjourney, Cursor, Replit
BalancePrepaid dollar balance drawn down by usageSupabase, Railway, Vercel

Models are mutually exclusive — each plan uses exactly one. Learn more about consumption models.

Explore

Customers

Create and manage customers with the SDK

Plans

Create pricing packages with features and billing intervals

Subscriptions

Manage lifecycle, trials, and plan changes

Usage Tracking

Record and aggregate consumption events

Invoicing

Invoices, billing cycles, and failed payment handling

Customer Portal

Self-service upgrades, credit purchases, and invoices

Finance & Payouts

Balances, transaction history, and bank payouts

SDK Reference

Node.js SDK methods and usage

How is this guide?

Integrate with Next.js

Add billing and payments to your Next.js application.

On this page

Quickstart
The Plan-First Model
Consumption Models
Explore