Skip to content

Solutions · Usage-based businesses

For products that charge by the minute, token or request.

Meter usage safely, price it with tiers and allowances, sell prepaid credit with hard limits, and put it all on one NPR invoice.

Price a month of ai_minutes

Pricing model
2,160
01,0005,00012,000
Charge breakdown
BandMinutesRateAmount
Free allowance200–रू 0
0–1,000 band800रू 1.00रू 800
1,001–5,000 band1,160रू 0.80रू 928

Each band is billed at its own rate, like tax brackets.

Usage charge, before VATरू 1,728

Illustrative tiers: रू 1.00 up to 1,000 min, रू 0.80 to 5,000, रू 0.60 above, first 200 free.

In short

How do I implement usage-based billing?

Decide what you measure, such as minutes, tokens or requests, and how it is priced: per unit, graduated tiers, volume tiers or packages, with any free allowance. With TolaPay, you define a meter and a plan, then send one event per billable action to POST /api/v1/events with a unique transaction_id, so retries are never billed twice. TolaPay totals usage per customer, prices it at the end of the cycle and invoices it in NPR. Pair it with prepaid wallets and hard limits if customers should pay before they use.

The problem

What gets in the way today.

  • Double-billing on retries

    A queue retries, a worker restarts, and the same call is counted twice. Customers notice.

  • Tier maths in a spreadsheet

    Graduated or volume? Free allowance first or last? Somebody has to get it right every month.

  • Bills that surprise people

    Usage-based customers want a ceiling. Without one, the first big bill is also the last.

Worked example

An AI voice product

Sample prices and settings, to show how the pieces fit. Your own plans are yours to set.
  1. 01

    Meter

    ai_minutes, summing the minutes property of each call event.

    Usage-based billing
  2. 02

    Pricing

    Graduated: रू 1.00, then 0.80 above 1,000 minutes, then 0.60 above 5,000, first 200 free.

    Usage-based billing
  3. 03

    Prepaid credit

    Customers top up with Khalti; usage draws the wallet down first.

    Wallets and credits
  4. 04

    Limits

    A low-balance email at रू 2,000 and a hard stop at zero.

    Wallets and credits
  5. 05

    Invoice

    Seats and usage on one NPR invoice with 13% VAT.

    Invoices and VAT

Questions

Common questions.

What's the difference between graduated and volume pricing?

Graduated bills each band at its own rate, like income tax brackets. Volume bills every unit at the rate of the band the total falls into.

Can usage be prepaid?

Yes. Customers top up a wallet that usage draws down first, with low-balance alerts and an optional hard limit.

Your product deserves better billing infrastructure.

Create a free workspace, try the whole flow in test mode with sandbox Khalti, eSewa and Stripe, and go live when you're ready.

Free while TolaPay is in public beta. You pay only your payment providers' own fees.