Commet
  • Pricing
Log InTry out
Introduction

Quickstart

Learn

Manage PlansConfigure FeaturesConsumption ModelsAdd-onsCredit PacksPromo CodesPlan GroupsRegional PricesTrial PeriodsIntroductory Offers

Resources

SDK ReferenceError HandlingTestingCLI

Plugins

Better Auth
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

Credit Packs

Configure credit packages that customers can purchase from the Commet Customer Portal.

Credit Packs are additional credit packages customers can purchase when they run out of included plan credits. Only available for plans using the Credits consumption model.

Credit pack components

ComponentDescriptionExample
Pack NameCustomer-facing name"Starter Pack", "Power Pack"
CreditsNumber of credits in the pack100, 500, 2000
PriceHow much the pack costs$10.00, $40.00
VisibilityWhich plans can see the packAll credits plans, or specific ones

Availability by subscription status

Credit packs can be purchased on any subscription with a payment method — including during a trial and on free plans. Free plan customers are prompted to enter a payment method on their first purchase.

Create credit packs in the dashboard

Go to Credit Packs and click Create Credit Pack. Pack names must be unique within your organization. By default, packs are available to all credits-based plans. You can restrict a pack to specific plans only — useful for offering enterprise-only bulk packs.

List credit packs via SDK

const packs = await commet.creditPacks.list()

Response:

{
  "success": true,
  "data": [
    {
      "id": "cpk_abc123",
      "name": "Starter Pack",
      "description": "100 credits for light usage",
      "credits": 100,
      "price": 1000,
      "currency": "usd"
    }
  ]
}

The price field is in cents (1000 = $10.00). Prices are always in USD.

Related

  • Consumption Models — How credits-based billing works
  • Manage Plans — Create plans with consumption models
  • Customer Portal — Where customers purchase credit packs
  • Configure Features — Define credit costs per feature

How is this guide?

Add-ons

Offer optional features customers can activate on their subscriptions for an additional price.

Promo Codes

Create marketing discount codes that customers enter at checkout in Commet.

On this page

Credit pack components
Availability by subscription status
Create credit packs in the dashboard
List credit packs via SDK
Related