Plans and usage

Sell plans and metered usage without building a billing system

Your product has limits: seats, exports, API calls. Customers on different plans get different limits, and someone has to count, warn, and charge.

The usual cost

What you would otherwise build

  • A table of plans and a place where limits are enforced
  • Counting usage per customer without double counting retries
  • Warning customers before they are cut off
  • Invoices, failed-payment recovery, and a billing portal

What TenancyEngine covers

Features and limits per plan

Define the features and limits each plan carries. One runtime call returns what a customer is entitled to, including the limit, what was used, and when it resets.

Usage you report from your server

Record consumption with an idempotency key, so a retried request counts once. Release it again if the work is rolled back.

Threshold alerts

By default a metered feature alerts at 80% and 100% of the limit: an email to the customer’s admins under your branding and a webhook to you.

Billing through TenaBill

Subscriptions, invoices, failed-payment recovery, and a customer billing portal are available on Growth and above. You can connect your own Stripe account.

How it goes

From empty project to first customer

  1. Define your features, limits, and offerings.
  2. Create each customer workspace on a free offering from your backend.
  3. Check the runtime context before the work, then consume usage with an idempotency key.
  4. Subscribe to the threshold webhook, then connect billing when you are ready to charge.

Which plan fits

Starter lets you model plans and test gating with up to five customer workspaces. Charging customers needs Growth, which adds billing and separate environments.

See plans and limits

Honest limits

What to know before you commit

  • Starter does not include subscription billing.
  • You report the usage. TenancyEngine counts what your server sends and does not measure your product for you.
  • It is not a merchant of record and does not collect or file sales tax.
  • A new tenant has no offering until you give it one, and metered calls fail until it does. Start it on a free offering when you create it.

Try it on the free plan

One app and five customers, no credit card required.

Request access Other use cases