Skip to main content
Two decisions shape your pricing. They’re easy to mix up, and keeping them apart saves a redesign later.
  1. What does each plan include? This is what makes Free different from Pro.
  2. What happens when someone wants more? They stop, keep going for free, or keep going and pay.
The second is decided for each thing you limit, not for each plan. One plan can hold something that stops at 5, something billed past 10,000, and something that’s free forever.
A feature is something you grant or limit. What a plan gives for it is an entitlement. Your code checks the feature, never the plan’s name:
  • Bad: if (user.subscription_status === 'active' && (user.plan === 'pro' || ...)) { ... }
  • Good: if (await kerne.allows('export_pdf', { customer: userId }))

What each plan includes

In Catalog, each plan is a column and each feature is a row. A feature has one of three types: Most of what separates tiers is on or off, or a number. A number also needs the second decision.

What happens past the allowance

Click a QUOTA cell to set how much the plan includes, then pick what happens once it runs out, under Past the allowance.

Stop

Access stops at the allowance. Right for things a customer should buy more of by upgrading, not discover on an invoice: seats, projects, connected devices. A seat is a standing count, not a monthly one, so set the feature’s Renews to never. Then gate the action with consume(), which checks and counts in one step:
When a member leaves, give the seat back with kerne.admin.adjustUsage('team_seats', { customer: orgId, delta: -1 }).

Keep free

Access continues past the allowance and nothing is billed: a fair-use limit you’d rather watch than enforce. To stop at some point anyway, set Free until, under Advanced config.

Bill it

Access continues, and the excess goes on the customer’s next invoice: “$20/mo, then $0.01 per email past 10,000”.
  1. Write the rate the way you sell it: 0.01 per email, or 5.00 per 1,000 emails with Units billed together set to 1,000.
  2. Open Advanced config. Under Billing rate at Stripe, click Create it: Kerne creates the price at Stripe, and you never copy an id back.
  3. Optionally, set Bill at most in the same section, to cap what one period can cost. Past it, usage keeps working and stops being billed.
The Default plan can’t bill overage: nobody on it has a card on file. And an allowance that rolls over to the next period can’t be billed either, or last period’s usage would be charged again. Tiers and rounding are covered in Pricing models and meters, and the whole setup in Add usage-based pricing.

Counted per machine, project or seat

The customer is one payer, but what you count may not be one pool: per machine, per project, per one of their own clients. On the feature, name what it’s counted by (Units: minute per machine). Each plan then chooses whether the allowance and the cap are shared, or separate for each one.
“1,000 credits per user, then billed, never past 20 € per user” and “one shared pool of 200 hours, never past 120 € in total” are the same feature with two plan settings. See per machine, per project, per seat.

Extras at checkout

A plan can let buyers add allowance before they pay: “10,000 credits per pack, up to 5 packs”. Set it on the plan, under Extras at checkout. What they buy adds to what the plan includes, every period. Stripe only, and the amount can’t change during a subscription. <PricingTable> shows it as a slider.

Add-ons

A customer has one live subscription at a time: one payer, one plan. So an add-on is never a second subscription next to the first. It’s one of these instead:

A billed feature

Nothing included, a rate, no cap. The customer pays for exactly what they use, on the same invoice. This is the usual answer.

A plan variant

Two plans that differ by one feature. Right when the add-on is a lasting choice.

An exception

A negotiated extra for one customer, outside the catalog. For deals, not for a product line.
A plan change carries add-ons along: the customer gets what the new plan includes, so an add-on that only exists on the old plan ends with the switch. For an add-on that should survive a plan change, put the feature on every plan.

Which shape fits