Skip to main content
BlogArticleJon Gillespie-Brown9 min read

Usage-Based Billing: What It Is, How It Works and What It Takes to Run

Usage-based billing charges customers for what they use, such as API calls, AI tokens, compute minutes, transactions or events processed, instead of a fixed fee for access. Use more and the bill goes up. Use less and it goes down.

You'll also hear it called consumption-based billing, metered billing, pay-as-you-go or UBB. For most purposes they all mean the same thing. Where people do draw a line, "consumption" leans toward drawing down a balance, like credits or tokens, while "usage" leans toward counting activity, like API calls or active users.

Think of a phone plan. You pay a monthly fee that includes a data allowance. Stay under it and that's your bill. Go over and you pay for the extra gigabytes you used. Software works the same way, whether it's pure pay-as-you-go, a base plan with overage like the phone contract, or something in between.

It sounds simple. In practice, billing on usage touches almost every system a software company runs. Product telemetry, entitlements, rating logic, invoicing and revenue accounting all have to agree on the same numbers. This guide covers how it works, where it's used, where it goes wrong and what it takes to run well.

Usage-based billing vs usage-based pricing vs metering

Three terms get blurred together.

Usage-based pricing is the structure. It's the metric you charge on and the rates, tiers or credits you set. Our usage-based pricing guide walks through the models in detail.

Metering is the measuring. It captures every usage event as it happens, with the customer, action, quantity and timestamp attached, and removes duplicates so each event counts exactly once.

Usage-based billing is the whole operation that puts the pricing into practice. It meters the usage, rates it against your price list and turns it into charges on an invoice.

Rating is the step in the middle. It converts a quantity, say 1,200 API calls or 40,000 tokens, into money, using a flat per-unit rate, a tiered rate that changes with volume, or credits. Rate cards should live somewhere your team can edit directly, not in application code that needs an engineering sprint to change.

How usage-based billing works

Every usage-based billing setup follows the same path, from the moment a customer does something billable to the moment the revenue lands in the books.

First, your product emits a usage event for every billable action. Second, a metering system collects those events, removes duplicates and adds them up by customer and billing period. Third, a rating engine applies your pricing rules to that usage. Fourth, the rated amounts go to your billing platform, such as Stripe, Zuora or Chargebee, which creates the invoice, takes payment and applies tax, and then on to your accounting system for revenue recognition.

The first step is the one everything else depends on. You can't bill for usage you never captured, and adding metering after launch leaves gaps in your billing history that you can never recover. Without dependable tracking, usage-based billing turns into disputes and quiet revenue leakage, especially in B2B, where contracts and procurement teams expect the numbers to hold up.

Metering and rating
Usage event captured in the product
Metered: deduplicated and totaled per customer
Rated against your rate card
Happens in real time, as usage occurs
Billing and accounting
Invoice created from the rated usage
Payment taken and tax applied
Revenue recognized as usage occurs
Handled by your billing platform

Usage metrics, and where usage-based billing is used

The metric is whatever unit best tracks the value a customer gets from your product. It varies by category.

Infrastructure and data
API calls executed
Compute hours consumed
Data processed
Storage and bandwidth used
AI products
Prompts submitted
Tokens consumed
Inference calls
Agent actions
Business software
Emails delivered
Transactions processed
Records enriched
Minutes of video processed

You'll find usage-based billing across cloud infrastructure, API-first products, AI platforms, data and analytics tools, marketing automation, developer tools and, more and more, mainstream business software. Connected devices fit too, with per-device or per-transaction pricing that tracks activity as it happens.

Picking the metric matters more than any other decision here. If it doesn't move with the value customers get, the bill will feel arbitrary, however accurate it is.

Why usage-based billing is growing

Usage-based billing isn't new. Utilities, telecoms and cloud providers have charged this way for years. What's changed is how much software now behaves like a utility, and five forces are pushing it along.

Automation. Software increasingly calls other software, so machines, not seats, drive consumption, and seat counts stop tracking value.

APIs everywhere. Products are assembled from connected services, and each of them is billed by use.

AI. Every AI request has a real, variable cost. That squeezes margins on flat-rate plans and forces vendors to rethink how they price.

Smaller units of work. Work is now measured in tokens and events, units that lend themselves to per-use pricing and demand clean billing data.

Product-led growth. Charging as customers use the product lowers the barrier to trying it, and lets expansion happen without a sales conversation.

Buyers are changing too. People who've learned to think in queries and tokens from AI products bring that expectation to everything else they buy, and many would rather not commit to a large, static plan up front.

What usage data tells you

Usage-based billing gives you a live view of how each customer uses the product, which a seat count never did. That's worth as much to sales and customer success as it is to finance.

A sudden spike usually means adoption is taking off. Usage that flattens out is often an early churn warning. And customers who keep hitting their limits are telling you they're ready for a bigger plan.

Four questions are worth asking regularly. Are customers hitting thresholds often? Which features drive expansion? Does usage flatten before customers leave? Do your tiers encourage growth, or get in its way?

Challenges, and where revenue leaks

Usage-based billing isn't friction-free. Finding a metric that maps cleanly to value takes time. Revenue is less predictable than a fixed subscription. And customers risk bill shock if they can't see their consumption as it happens.

From the customer's side, the complaints are consistent. They can't see usage as it builds up, only on the invoice, when it's too late to change course. They can't break it down by user, team or department, so nobody can say what's driving the bill. And there are no alerts, so a runaway agent or a misconfigured integration gets discovered at the worst possible moment.

On the vendor's side, revenue leaks in a handful of predictable places. Usage isn't tracked accurately. Entitlements aren't enforced. Contract terms don't match what's configured. Offline deployments never sync their usage back. Billing logic drifts away from product logic. Each one means delivering value you never get paid for, or charging for something the customer can dispute.

Usage-based billing is only as good as the accuracy of the usage behind it, and the visibility customers get into it.

Keeping customers' trust: visibility and control

Seat-based pricing felt manageable because it was static: one number, reviewed once a year. Usage-based billing can feel just as manageable, once both sides can see what's happening. What made it hard was complexity customers couldn't see.

Usage-based billing that customers trust looks less like a bill and more like a dashboard. It shows usage as it happens, broken down by user, team, feature or agent. It shows burn rate and runway, so a finance team can tell in October whether they bought the right plan for the year, instead of finding out in January. And it gives customers control, with spend caps, alert thresholds and departmental budgets they set themselves.

A customer who has to email support to ask what's left of their allowance hasn't really been given visibility. They've been given a slower version of the same surprise invoice.

In practice, preventing bill shock takes four things: real-time usage dashboards, spending alerts and threshold notifications, soft limits and hard caps, and pricing structures that add predictability, such as prepaid credits, a base subscription with included usage, or committed-use agreements. Warn customers early about a spike and they can adjust before the invoice does it for them.

Without visibility
Spend appears on the invoice, after the fact
One total, with no breakdown by team
Spikes discovered at month end
Feels unpredictable
With visibility
Live usage and remaining balance
Breakdown by user, team and feature
Alerts and caps the customer sets
Feels like a dashboard

What it takes to run usage-based billing well

Moving to usage-based billing changes your operations and architecture as well as your pricing, and it rests on six things: a strong value metric, reliable usage tracking, transparent visibility for customers, clean invoicing, a monetization architecture that scales, and the discipline to keep refining your pricing.

Getting several of those right at once is the hard part. You need an accurate, real-time picture of each customer's usage. Metering has to be correct down to the unit, in real time. Usage limits have to be enforced in the product, not just written into a contract. In multi-seat accounts, usage has to be attributed to individual users, not just the account. And one product catalog has to stay the single source of truth across sales, support and the product itself.

That's a shift for most software companies. Pricing and packaging used to be a billing-system concern, changed a few times a year, with engineering gating every release. With usage-based billing, it has to live in the runtime layer, next to the product, updating as usage happens. Support feels it too. When a customer asks why this month's bill looks different, whoever answers needs the same real-time usage data the customer is looking at.

Invoices, revenue recognition and tax

Invoices are where customers decide whether to trust your numbers. A usage-based invoice should show the billing period, the total due, a breakdown of usage, per-unit prices, tier thresholds, any overage charges, and any credits or discounts applied. The more complex the pricing, with tiers, hybrid plans or enterprise commitments, the more that clarity matters. A heads-up before the invoice goes out helps too.

Your billing platform calculates the charges, takes payment, handles tax and manages revenue recognition. It shouldn't be responsible for runtime entitlement logic, which belongs with the product.

Revenue recognition is harder with usage than with a flat subscription. Under IFRS 15, revenue is recognized as the performance obligation is satisfied, which for usage-based models means as consumption happens, not when cash arrives. Prepaid credits add a layer, because revenue from credits is recognized as they're used, not when they're bought. Hybrid plans need the price split between the subscription and the usage. All of it depends on accurate, auditable usage data attributed to the right accounting period.

Where Nalpeiron fits

Usage-based billing splits into two jobs. Nalpeiron's Zenmeter handles the first, in real time, inside your product.

Metering and enforcement: Nalpeiron
Capture usage events
Rate them against your rate card
Enforce caps and credit or token burn-down in real time
Manage entitlements
Billing and collection: your billing platform
Generate invoices
Take payment and apply tax
Handle dunning and payouts
Recognize revenue

Zenmeter connects to your billing platform of choice, with native integrations for Stripe and FastSpring, and APIs and webhooks for everything else, including your ERP or in-house billing. See how it works on our usage-based billing page, or book a demo to see it running against your own pricing.

Frequently Asked Questions

What is usage-based billing?

Usage-based billing charges customers for what they use, such as API calls, tokens, transactions or compute time, instead of a fixed fee for access. It's also called consumption-based billing, metered billing or pay-as-you-go. The bill rises and falls with consumption.

What is the difference between metered billing and usage-based billing?

For most purposes there isn't one. Both mean charging customers for actual consumption rather than a fixed fee. Where people do separate them, metered billing puts the emphasis on measuring the usage, and usage-based billing on the overall model.

How do you prevent bill shock with usage-based billing?

Give customers visibility and control before the invoice arrives. That means real-time usage dashboards, spending alerts and threshold notifications, soft limits or hard caps, and predictable structures such as prepaid credits or a base plan with included usage. Warning customers early about a spike lets them adjust in time.

Why does usage-based billing feel unpredictable to customers?

Usually because they can only see what they've spent once the invoice arrives. Without real-time usage data, alerts and a breakdown by user or department, there's no way to catch a spike before it turns into a surprise bill.

What should a usage portal show customers?

It should show usage as it accrues, a breakdown by user, team or feature, current spend against the plan, and configurable alerts for approaching a threshold. Finance teams also want burn rate and runway, so they can plan ahead of renewal.

How do vendors handle disputes over metered usage?

With records both sides can check. Vendors keep detailed event logs and give customers real-time usage dashboards, so consumption is transparent and auditable rather than a black box. Clear invoice line items, showing per-unit prices and tiers, settle most questions before they become disputes.

How does usage-based billing affect revenue recognition?

Revenue is recognized as usage occurs rather than on a fixed schedule, so your systems have to attribute consumption to the correct accounting period. Under IFRS 15, prepaid credits are recognized as they're consumed, and hybrid plans need the price allocated between the subscription and usage parts.

What do you need to run usage-based billing?

A strong value metric, reliable real-time usage tracking, transparent visibility for customers, usage limits enforced in the product, clean invoicing from your billing platform, and an architecture that scales as usage grows.

Does Nalpeiron do usage-based billing?

Nalpeiron's Zenmeter powers the usage side of usage-based billing. It meters usage, rates it against your rate card and enforces caps and credit or token burn-down in real time. It connects to your billing platform of choice, natively with Stripe and FastSpring and through APIs and webhooks for anything else, and that platform handles invoicing and payment.

About the Author

Jon Gillespie-Brown
Jon Gillespie-Brown
CEO & Founder, Nalpeiron

Jon Gillespie-Brown is the Founder and CEO of Nalpeiron, a leader in cloud-based software licensing, entitlement management, software monetization, and analytics. With over 20 years of expertise, he works with enterprise B2B SaaS and IoT companies to optimize revenue models, accelerate go-to-market strategies, and scale with confidence. Jon is recognized as an authority in software licensing, software monetization, and software analytics, holds two issued U.S. patents, and is the author of five books. He also serves as a strategic guide to customers, helping them navigate and capitalize on the once-in-a-generation shift driven by AI, redefining how software is built, delivered, and monetized. For over 20 years, Jon has been a Professor at University of Colorado Boulder, a lecturer at University of California, Berkeley and Stanford University, and an Entrepreneur in Residence at London Business School.

Nalpeiron: A Long-Term Partner for the AI Era

At Nalpeiron, we go beyond technology — we act as a strategic partner in licensing, monetization, and growth. For over twenty years, enterprise and IoT companies have trusted us to guide and evolve their business models.

As AI shifts software from seats to usage, outcomes, and agent-driven activity, legacy approaches fall short. Nalpeiron enables this transition through entitlements as the control plane — a centralized system of record across SaaS, on-prem, IoT, and offline environments.

From strategy to execution, we help companies adapt faster, launch new models, and stay in control — making Nalpeiron a partner for the AI-driven future of software monetization.

Ready to Optimize Your Strategy?

See how Nalpeiron helps companies implement flexible monetization strategies that support both product-led and sales-led growth motions.

Book a Demo